com.amazonaws.AmazonClientException: Unable to execute HTTP request: Invalid argument: connect

amazon.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    AWS Developer Forums: AWS Toolkit Unable to create AWS ...

    amazon.com | 6 months ago
    com.amazonaws.AmazonClientException: Unable to execute HTTP request: Invalid argument: connect
  2. 0

    java.net.SocketException: Address family not supported by protocol family: connect in swing application which uses HtmlUnit

    Stack Overflow | 4 years ago | Adnan
    java.net.SocketException: Address family not supported by protocol family: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java http apache: No buffer space available (maximum connections reached?)

    Stack Overflow | 5 years ago | spagi
    java.net.SocketException: No buffer space available (maximum connections reached?): connect
  5. 0

    HttpClient Connection Issue

    Stack Overflow | 4 years ago | Arun
    java.net.SocketException: Socket closed
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Invalid argument: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
    9 frames
  4. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:264)
    2. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:170)
    2 frames
  5. AWS Java SDK for Amazon S3
    AmazonS3Client.getObjectMetadata
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2723)
    2. com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:763)
    3. com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:743)
    3 frames
  6. com.amazonaws.eclipse
    AwsToolkitCore.start
    1. com.amazonaws.eclipse.core.regions.RegionUtils.cacheRegionsFile(RegionUtils.java:227)
    2. com.amazonaws.eclipse.core.regions.RegionUtils.init(RegionUtils.java:184)
    3. com.amazonaws.eclipse.core.AwsToolkitCore.start(AwsToolkitCore.java:162)
    3 frames
  7. Eclipse OSGi
    BundleContextImpl$1.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    1 frame
  8. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  9. Eclipse OSGi
    AbstractBundle.start
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
    4 frames
  10. Eclipse OSGi
    EclipseLazyStarter.postFindLocalClass
    1. org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    2. org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    3. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    3 frames
  11. Eclipse OSGi
    DefaultClassLoader.findLocalClass
    1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
    2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    2 frames
  12. Eclipse OSGi
    BundleLoader.findClass
    1. org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    2. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
    3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    4. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    4 frames
  13. Eclipse OSGi
    DefaultClassLoader.loadClass
    1. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    1 frame
  14. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    1 frame
  15. Eclipse OSGi
    BundleLoader.loadClass
    1. org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
    1 frame
  16. Eclipse OSGi
    AbstractBundle.loadClass
    1. org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
    2. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
    2 frames
  17. Equinox
    ConfigurationElementHandle.createExecutableExtension
    1. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    2. org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    3. org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    4. org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    4 frames
  18. Eclipse UI
    WorkbenchPlugin$1.run
    1. org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
    1 frame
  19. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
    1 frame
  20. Eclipse UI
    EarlyStartupRunnable.run
    1. org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
    2. org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
    3. org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
    3 frames
  21. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  22. Eclipse UI
    Workbench$52.run
    1. org.eclipse.ui.internal.Workbench$52.run(Workbench.java:2357)
    1 frame
  23. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame