Troubleshooting > Troubleshooting File Transfers > Error: Service has timed out
Error: Service has timed out
All of the services related to the AzureBlobStorageTemplate Thing depend on the correct configuration of the AzureBlobStorageTemplate properties in the configuration of the AzureIotHub Thing in ThingWorx Composer. They also depend on the network connections being available. There are two logs to check - the log of the Azure IoT Hub Connector and the Application Log of the ThingWorx Platform.
Connector Error Message
If the Azure Connector cannot communicate with Azure Blob Storage over the network and the error, Service [serviceName] has timed out, appears on the ThingWorx Platform, check for the following error in the log of the Azure IoT Hub Connector:

2019-08-05 16:45:03.889 [cxthing-remote-service-handler-1]
WARN c.t.p.a.i.s.StorageServicesHandler -
Error getting filesystem information; path=/
java.util.NoSuchElementException: An error occurred
while enumerating the result, check the original
exception for details.

at com.microsoft.azure.storage.core.LazySegmentedIterator.
hasNext(LazySegmentedIterator.java:113)
at com.thingworx.protocol.azure.iot.services.storage.
DirectoryBlobPath.listPaths(DirectoryBlobPath.java:30)
at com.thingworx.protocol.azure.iot.services.
StorageServicesHandler.browseFileSystem(StorageServicesHandler.java:138)
at sun.reflect.NativeMethodAccessorImpl.
invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.
invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.thingworx.connectionserver.ReflectiveApiRequestHandler.
test(ReflectiveApiRequestHandler.java:42)
at com.thingworx.connectionserver.ReflectiveApiRequestHandler.
test(ReflectiveApiRequestHandler.java:16)
at com.thingworx.connectionserver.CXThingImpl.
requestHandlerSync(CXThingImpl.java:224)
at com.thingworx.connectionserver.CXThingImpl.
lambda$requestHandler$0(CXThingImpl.java:201)
at java.util.concurrent.ThreadPoolExecutor.
runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.
run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.microsoft.azure.storage.StorageException:
An unknown failure occurred :
Connection refused (Connection refused)

at com.microsoft.azure.storage.StorageException.
translateException(StorageException.java:67)
at com.microsoft.azure.storage.core.ExecutionEngine.
executeWithRetry(ExecutionEngine.java:209)
at com.microsoft.azure.storage.core.LazySegmentedIterator.
hasNext(LazySegmentedIterator.java:109)
... 13 common frames omitted
Caused by: java.net.ConnectException: Connection refused (
Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.
doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.
connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.
connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.
connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.
connect(SSLSocketImpl.java:666)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.
<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.
New(HttpsClient.java:367)
at sun.net.www.protocol.https.
AbstractDelegateHttpsURLConnection.
getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.
plainConnect0(HttpURLConnection.java:1156)
at sun.net.www.protocol.http.HttpURLConnection.
plainConnect(HttpURLConnection.java:1050)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.
connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.
getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.
getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.
getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.
getResponseCode(HttpsURLConnectionImpl.java:347)
at com.microsoft.azure.storage.core.ExecutionEngine.
executeWithRetry(ExecutionEngine.java:115)
... 14 common frames omitted
ThingWorx Platform Error Message
As directed, check for the original exception in the Application Logs of the ThingWorx Platform. Together with the messages from the Connector, the following error message indicates the connection between the Azure Blob Storage and Azure IoT Hub Connector is failing.

Service [serviceName] has timed out
Solutions
Check your network for possible outages or traffic bottlenecks and address them. If necessary, restart the Connector.
Also, make sure that the configuration of the Blob Storage is correct in the AzureIotHub Thing in ThingWorx. In ThingWorx Composer, navigate to the AzureIotHub Thing to be sure that the following properties are set correctly for the AzureBlobStorageTemplate Thing:
The accountName of the AzureBlobStorageTemplate Thing
The connection string of the AzureBlobStorageTemplate Thing
If you change the configuration, you MUST restart the Connector.