1. OpenSourceRoboticsFoundation
  2. Simulation
  3. srcsim
  4. Issues
Issue #67 resolved

Problem connecting to server during setup

Stephen Hart
created an issue

When running the

roslaunch ihmc_valkyrie_ros valkyrie_warmup_gradle_cache.launch

step of the setup, things are failing today. It seems to get through most of the download then bomb out with the error:

process[IHMCValkyrieROSAPI-2]: started with pid [4640]
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE

FAILURE: Build failed with an exception.

* Where:
Build file '/opt/ros/indigo/share/ihmc_ros_java_adapter/build.gradle' line: 98

* What went wrong:
A problem occurred evaluating root project 'ihmc_ros_java_adapter'.
> Could not resolve all dependencies for configuration ':ros'.
   > Could not resolve us.ihmc.thirdparty.jme:jme3-core:3.1.0-internal4.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:DarpaRoboticsChallenge:0.8.0
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:SensorProcessing:0.8.0
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:IHMCPerception:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-core:3.1.0-internal4.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-core/3.1.0-internal4/jme3-core-3.1.0-internal4.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-core/3.1.0-internal4/jme3-core-3.1.0-internal4.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-desktop:3.1.0-internal2.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-desktop:3.1.0-internal2.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-desktop/3.1.0-internal2/jme3-desktop-3.1.0-internal2.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-desktop/3.1.0-internal2/jme3-desktop-3.1.0-internal2.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-lwjgl:3.1.0-internal2.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-lwjgl:3.1.0-internal2.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-lwjgl/3.1.0-internal2/jme3-lwjgl-3.1.0-internal2.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-lwjgl/3.1.0-internal2/jme3-lwjgl-3.1.0-internal2.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-terrain:3.1.0-internal2.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-terrain:3.1.0-internal2.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-terrain/3.1.0-internal2/jme3-terrain-3.1.0-internal2.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-terrain/3.1.0-internal2/jme3-terrain-3.1.0-internal2.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-plugins:3.1.0-internal2.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-plugins:3.1.0-internal2.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-plugins/3.1.0-internal2/jme3-plugins-3.1.0-internal2.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-plugins/3.1.0-internal2/jme3-plugins-3.1.0-internal2.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-dae:1.0.0-internal1.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-dae:1.0.0-internal1.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-dae/1.0.0-internal1/jme3-dae-1.0.0-internal1.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-dae/1.0.0-internal1/jme3-dae-1.0.0-internal1.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.jme:jme3-ogre:1.0.0-internal2.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:Graphics3DAdapter:0.8.0
      > Could not resolve us.ihmc.thirdparty.jme:jme3-ogre:1.0.0-internal2.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-ogre/1.0.0-internal2/jme3-ogre-1.0.0-internal2.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/jme/jme3-ogre/1.0.0-internal2/jme3-ogre-1.0.0-internal2.pom'. Received status code 503 from server: Service Unavailable
   > Could not resolve us.ihmc.thirdparty.org.kc7bfi:jflac:1.4.0.
     Required by:
         :ihmc_ros_java_adapter:unspecified > us.ihmc:Valkyrie:0.8.0 > us.ihmc:DarpaRoboticsChallenge:0.8.0 > us.ihmc:IHMCRobotBehaviors:0.8.0
      > Could not resolve us.ihmc.thirdparty.org.kc7bfi:jflac:1.4.0.
         > Could not get resource 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/org/kc7bfi/jflac/1.4.0/jflac-1.4.0.pom'.
            > Could not GET 'https://bengal.ihmc.us/nexus/content/repositories/thirdparty/us/ihmc/thirdparty/org/kc7bfi/jflac/1.4.0/jflac-1.4.0.pom'. Received status code 503 from server: Service Unavailable

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 41.118 secs
================================================================================REQUIRED process [IHMCValkyrieROSAPI-2] has died!
process has died [pid 4640, exit code 1, cmd /opt/ros/indigo/share/ihmc_ros_java_adapter/gradlew warmUp -x runJavaDelegate -PuseLocal=false -Pyaml=/opt/ros/indigo/share/ihmc_valkyrie_ros/configurations/api.yaml __name:=IHMCValkyrieROSAPI __log:=/home/swhart/.ros/log/117fcc1a-d449-11e6-8d97-b8ca3a8625b6/IHMCValkyrieROSAPI-2.log].
log file: /home/swhart/.ros/log/117fcc1a-d449-11e6-8d97-b8ca3a8625b6/IHMCValkyrieROSAPI-2*.log
Initiating shutdown!
================================================================================
[IHMCValkyrieROSAPI-2] killing on exit

Comments (7)

  1. avinashuttamchandani

    updated 2017.01.09

    Before doing any of the following I performed a clean install following every step on the wiki, and I did the following

    sudo update-alternatives --config java
    sudo update-alternatives --config javac
    

    selecting the java8 version.

    I then tried to run the pre-compile commands for the ihmc controller.

    If that still doesn't help, so I went ahead and just tarball'd every file on my image that had "ihmc" in it. They are all available here, named with the path they should extract to. I have no idea if this will work at all but I figured it somehow worked for me, maybe it can help others get back to doing robotics instead of futzing with sysadmin issues.

    original post

    Had the problem as well, but fortunately I still had an image of a system where I got this step to successfully run. The files are stored in the gradle cache in your home directory.

    Go ahead and grab this tarball that I made.

    Then:

    mv Downloads/gradle.tar.gz ~/
    cd ~/
    tar -xvzf gradle.tar.gz
    

    This will fill your gradle cache (in ~/.gradle) with the necessary files for the following to work:

    source /opt/nasa/indigo/setup.bash
    roslaunch ihmc_valkyrie_ros valkyrie_warmup_gradle_cache.launch
    
  2. Log in to comment