Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9926

Elastic Agent "Address already in use" when starting tunnel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • 3.3
    • Elastic Bamboo
    • None

    Description

      This randomly occurred while smoke testing for one agent

      0 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap  - Starting Agent Bootstrap using Java 1.6.0_26 from Sun Microsystems Inc.
      1236 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap  - Using tunnelling. Registering 'httpt' and 'httpst' protocols.
      1870 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer  - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection.
      1870 [tunnellogger-thread] INFO com.atlassian.tunnel.logger.LocklessLogger  - [tunnellogger-thread] Logging system is operating in a lockless mode
      3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer  - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection.
      3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer  - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection.
      3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer  - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection.
      3822 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer  - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection.
      4443 [tunnellogger-thread] ERROR com.atlassian.tunnel.tunnel.server.TunnelAcceptor  - [tunnelserver-26224-1-thread-2] Error while accepting tunnel connections.
      java.net.BindException: Address already in use
              at java.net.PlainSocketImpl.socketBind(Native Method)
              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
              at java.net.ServerSocket.bind(ServerSocket.java:328)
              at java.net.ServerSocket.<init>(ServerSocket.java:194)
              at java.net.ServerSocket.<init>(ServerSocket.java:106)
              at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:157)
              at com.atlassian.tunnel.tunnel.server.TunnelAcceptor.run(TunnelAcceptor.java:93)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
      4448 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.LocalAcceptor  - [tunnelserver-26224-1-thread-3] Waiting for local connection on port 4527.
      
      

      Attachments

        Activity

          People

            jdumay James Dumay
            jdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: