osrf / srcsim

Space Robotics Challenge
Other
9 stars 4 forks source link

ihmc robotDataLogger java.net.BindException: Address already in use #181

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


ocassionally when launching srcsim on the cloud I get these exceptions on init:

[INFO] (LogSessionBroadcaster.java:66): Announcing logging session on: name:lo (lo)
[INFO] (LogSessionBroadcaster.java:307): Trying port 56450
Exception in thread "main" java.lang.RuntimeException: java.net.BindException: Address already in use
        at us.ihmc.robotDataLogger.YoVariableProducer.start(YoVariableProducer.java:148)
        at us.ihmc.robotDataLogger.YoVariableServer.start(YoVariableServer.java:117)
        at us.ihmc.humanoidBehaviors.behaviors.roughTerrain.PlanarRegionBipedalFootstepPlannerVisualizerFactory.createWithYoVariableServer(PlanarRegionBipedalFootstepPlannerVisualizerFactory.java:36)
        at us.ihmc.avatar.networkProcessor.footstepPlanningToolboxModule.FootstepPlanningToolboxController.createPlanarRegionBipedalPlanner(FootstepPlanningToolboxController.java:131)
        at us.ihmc.avatar.networkProcessor.footstepPlanningToolboxModule.FootstepPlanningToolboxController.<init>(FootstepPlanningToolboxController.java:110)
        at us.ihmc.avatar.networkProcessor.footstepPlanningToolboxModule.FootstepPlanningToolboxModule.<init>(FootstepPlanningToolboxModule.java:34)
        at us.ihmc.avatar.networkProcessor.DRCNetworkProcessor.setupFootstepPlanningToolboxModule(DRCNetworkProcessor.java:193)
        at us.ihmc.avatar.networkProcessor.DRCNetworkProcessor.<init>(DRCNetworkProcessor.java:54)
        at us.ihmc.valkyrie.ValkyrieROSNetworkProcessor.<init>(ValkyrieROSNetworkProcessor.java:46)
        at us.ihmc.valkyrie.ValkyrieROSNetworkProcessor.main(ValkyrieROSNetworkProcessor.java:79)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at java.nio.channels.ServerSocketChannel.bind(ServerSocketChannel.java:157)
        at us.ihmc.multicastLogDataProtocol.MultiClientStreamingDataTCPServer.<init>(MultiClientStreamingDataTCPServer.java:43)
        at us.ihmc.multicastLogDataProtocol.MultiClientStreamingDataTCPServer.<init>(MultiClientStreamingDataTCPServer.java:55)
        at us.ihmc.robotDataLogger.YoVariableProducer.start(YoVariableProducer.java:143)
        ... 9 more
^[[32mINIT:^[[0m Switch to high level control
publishing and latching message for 3.0 seconds
^[[32mINIT:^[[0m Wait 2s (ROS time) for control to be switched
osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


I get these too. This has been mentioned on another issue too.

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


osrf-migration commented 7 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


submitted upstream: