-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Che Server | Ping Ws Agent IllegalArgumentException #736
Comments
What is your Docker version and do you have DOCKER_HOST env variable exported in your system? The first log is from the server, and it looks like it cannot connect to workspace. |
I revised the docker config and docker host isn't set in env variable and docker daemon doesn't have a ipv4 host associated.
|
What is your Docker version? |
My docker version 1.10.3, build 20f81dd Looking in journalctl -u docker i found this log msg each time i try to run a workspace
I changed the Docker_host and Docker daemon parameters to use the machine ip instead of localhost. Then the errors above stopped. But the error below continue:
Exist some way to debug the WsAgentLauncherImpl parameters and to see why host and protocol is going null? |
If you go to /tomcat/conf/logback.xml and change Share log file with us please. Another thing you can do is to run Che, run a workspace, get your usual error but then try to ping a workspace agent from your localhost:
|
Follows the full log
In the log, this line caught my attention:
Folows my curl test:
|
Can you just run curl -v localhost:32782? Without /ide/ext |
Yes, follows
|
Looks like you have ipv4 disabled. Pinging localhost should normally use 127.0.0.1 Is that true for your system? |
Uhn..
|
Praps this can help - https://docs.docker.com/engine/userguide/networking/default_network/ipv6/ You may want to re-run Docker daemon with IPv4 enabled |
Hi, I have deleted the che project and make a fresh install using the eclipse-che-latest.jar, this is the same installer I used before and now the workspace respond the ping. Looks like the installer created some files config based on wrong enviroments variables used by me, after I adjust the variables and make a reinstall, the problem was solved. Now, looking in the logs I see the ping request url correct
|
@regismachado When you ping localhost, it is still not 127.0.0.1? There's a similar issue here - #261 Can you please share the solution? At least smth that worked for you. |
@eivantsov, yes. My connection try first through IPV6 and then if it fail, tries with IPV4, but IPV6 is responding well |
Closing the issue as the original problem seems to have been resolved. I'll add a note in docs about IPv4/6 |
Hi,
I'm running che server native in a Centos7 machine.
And Docker in same machine.
I can start ws-agent, but for some reason the process never end because the exeception bellow:
My startup command is:
Where "r" is the machine ip, i tried with localhost too without success.
My docker ps result:
I can access ws-agent containers, the tomcat inside machines looks good:
I think, for some reason, the Che can't find the containers socket/host/ip to start a comunication.
The text was updated successfully, but these errors were encountered: