none
Azure java SDK gives Address already in use: connect error

    Question

  • Hi,

    I'm getting this error frequently in a client environment while copying files to Azure using Java SDK.

    Any help is appreciated.

    com.microsoft.azure.storage.StorageException: An unknown failure occurred : Address already in use: connect
    at com.microsoft.azure.storage.StorageException.translateException(Unknown Source)
    at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(Unknown Source)
    at com.microsoft.azure.storage.blob.CloudBlockBlob.uploadFullBlob(Unknown Source)
    at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(Unknown Source)
    at com.ca.AzureLibrary.CWriteObject.writeBlockBlob(Unknown Source)
    at com.ca.AzureLibrary.CWriteObject.WriteObject(Unknown Source)
    at com.ca.AzureLibrary.AzureLibrary.WriteObject(Unknown Source)
    at com.ca.AzureLibrary.AzureLibrary.WriteObject(Unknown Source)
    at com.ca.AzureLibrary.CAAzurePlugInLibrary.WriteObject(Unknown Source)
    Caused by: java.net.BindException: Address already in use: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)

    Wednesday, March 1, 2017 7:20 AM

All replies