{"action":"created","issue":{"url":"https://api.github.com/repos/freeciv/freeciv-web/issues/31","repository_url":"https://api.github.com/repos/freeciv/freeciv-web","labels_url":"https://api.github.com/repos/freeciv/freeciv-web/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/freeciv/freeciv-web/issues/31/comments","events_url":"https://api.github.com/repos/freeciv/freeciv-web/issues/31/events","html_url":"https://github.com/freeciv/freeciv-web/issues/31","id":148910953,"number":31,"title":"freeciv-web doesn't work after vagrant halt, vagrant up.","user":{"login":"genewitch","id":3182020,"avatar_url":"https://avatars.githubusercontent.com/u/3182020?v=3","gravatar_id":"","url":"https://api.github.com/users/genewitch","html_url":"https://github.com/genewitch","followers_url":"https://api.github.com/users/genewitch/followers","following_url":"https://api.github.com/users/genewitch/following{/other_user}","gists_url":"https://api.github.com/users/genewitch/gists{/gist_id}","starred_url":"https://api.github.com/users/genewitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genewitch/subscriptions","organizations_url":"https://api.github.com/users/genewitch/orgs","repos_url":"https://api.github.com/users/genewitch/repos","events_url":"https://api.github.com/users/genewitch/events{/privacy}","received_events_url":"https://api.github.com/users/genewitch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-17T02:17:47Z","updated_at":"2016-04-18T04:12:12Z","closed_at":null,"body":"virtualbox 5.0.14, installed freeciv-web using instructions on this page on windows. Is it possible to have the continuous integration tool restart the virtual machine and see if the server still passes tests?\r\n\r\nThe exact error is \"Network error\r\nUnable to communicate with civclientlauncher servlet. Error: error Internal Server Error null\" when I click \"start game\" on the http://localhost/webclient/?action=new dialog that asks for your username."},"comment":{"url":"https://api.github.com/repos/freeciv/freeciv-web/issues/comments/211192305","html_url":"https://github.com/freeciv/freeciv-web/issues/31#issuecomment-211192305","issue_url":"https://api.github.com/repos/freeciv/freeciv-web/issues/31","id":211192305,"user":{"login":"genewitch","id":3182020,"avatar_url":"https://avatars.githubusercontent.com/u/3182020?v=3","gravatar_id":"","url":"https://api.github.com/users/genewitch","html_url":"https://github.com/genewitch","followers_url":"https://api.github.com/users/genewitch/followers","following_url":"https://api.github.com/users/genewitch/following{/other_user}","gists_url":"https://api.github.com/users/genewitch/gists{/gist_id}","starred_url":"https://api.github.com/users/genewitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genewitch/subscriptions","organizations_url":"https://api.github.com/users/genewitch/orgs","repos_url":"https://api.github.com/users/genewitch/repos","events_url":"https://api.github.com/users/genewitch/events{/privacy}","received_events_url":"https://api.github.com/users/genewitch/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T04:12:11Z","updated_at":"2016-04-18T04:12:11Z","body":"more info from vagrant SSH below. When i did a manual install this exact thing happened as well. i don't understand what service isn't working, because nginx is working (service running) - is this an ubuntu issue or a script issue, since this also failed on a manual install on ubuntu as well in the same way.\r\n\r\n----LOG----\r\n\r\n> root@vagrant-ubuntu-wily-64:/vagrant/scripts# ./stop-freeciv-web.sh\r\n> Shutting down Freeciv-web: nginx, tomcat, publite2, freeciv-proxy, freeciv-pbem.\r\n> Start freeciv-web on port 6048 and freeciv-proxy on port 7048.\r\n> init-freeciv-web.sh port 6132\r\n> Killed\r\n> ../publite2/init-freeciv-web.sh: line 24: 10426 Killed                  freeciv-web --debug=1 --port ${2} -q 20 --Announce none -e -m -M http://${4} --type ${5} --read pubs  cript_${5}.serv --log ../logs/freeciv-web-log-${2}.log --saves ${1} ${pbemcmd:- } > /dev/null 2> ../logs/freeciv-web-stderr-${2}.log\r\n> init-freeciv-web.sh port 6117\r\n> unable to start freeciv-pbem\r\n> unable to start meta-stats\r\n> unable to start freeciv-earth-mapgen\r\n> Enter password:\r\n> root@vagrant-ubuntu-wily-64:/vagrant/scripts# ./start-freeciv-web.sh\r\n> Starting up Freeciv-web: nginx, tomcat, publite2, freeciv-proxy.\r\n> Starting nginx first.\r\n> Please enter root password:\r\n> nginx started!\r\n> Starting php5-fpm\r\n> starting php5-fpm\r\n> Starting up Tomcat\r\n> Starting publite2\r\n> Will sleep for 8 seconds, then do a status test...\r\n> starting meta-stats.py\r\n> Starting Freeciv-Earth-mapgen.\r\n> Publite2 started\r\n> Starting Freeciv-PBEM\r\n> Checking that Freeciv-web is running correctly...\r\n> \r\n> \r\n> checking nginx on http://localhost\r\n> nginx OK!\r\n> \r\n> --------------------------------\r\n> checking Tomcat on http://localhost:8080/\r\n> Tomcat OK!\r\n> \r\n> --------------------------------\r\n> checking freeciv-proxy directly on http://localhost:7001/status\r\n> --2016-04-18 04:09:36--  http://localhost:7001/status\r\n> Resolving localhost (localhost)... 127.0.0.1\r\n> Connecting to localhost (localhost)|127.0.0.1|:7001... failed: Connection refused.\r\n> freeciv-proxy not running!\r\n> \r\n> \r\n> \r\n> \r\n> \r\n> --------------------------------\r\n> checking freeciv-proxy through nginx on http://localhost/civsocket/7001/status\r\n> --2016-04-18 04:09:36--  http://localhost/civsocket/7001/status\r\n> Resolving localhost (localhost)... 127.0.0.1\r\n> Connecting to localhost (localhost)|127.0.0.1|:80... connected.\r\n> HTTP request sent, awaiting response... 502 Bad Gateway\r\n> 2016-04-18 04:09:36 ERROR 502: Bad Gateway.\r\n> \r\n> freeciv-proxy not running correctly through nginx!\r\n> \r\n> \r\n> \r\n> \r\n> \r\n> --------------------------------\r\n> testing WebSocket connection directly to Tornado\r\n> This should show \"HTTP/1.1 101 Switching Protocols\" and then timeout after 2 seconds.\r\n> curl: (7) Failed to connect to localhost port 7002: Connection refused\r\n> testing WebSocket connection through nginx\r\n> This should show \"HTTP/1.1 101 Switching Protocols\" and then timeout after 2 seconds.\r\n> HTTP/1.1 502 Bad Gateway\r\n> Server: nginx/1.9.3 (Ubuntu)\r\n> Date: Mon, 18 Apr 2016 04:09:36 GMT\r\n> Content-Type: text/html\r\n> Content-Length: 181\r\n> Connection: keep-alive\r\n> \r\n> <html>\r\n> <head><title>502 Bad Gateway</title></head>\r\n> <body bgcolor=\"white\">\r\n> <center><h1>502 Bad Gateway</h1></center>\r\n> <hr><center>nginx/1.9.3 (Ubuntu)</center>\r\n> </body>\r\n> </html>\r\n> \r\n> --------------------------------\r\n>  checking freeciv-web / publite2\r\n> freeciv-web not running\r\n> \r\n> --------------------------------\r\n> checking that webclient.min.js has been generated...\r\n> webclient.min.js is OK!\r\n> \r\n> --------------------------------\r\n> checking that tileset has been generated...\r\n> tileset is OK!\r\n> \r\n> --------------------------------\r\n> checking metaserver on PHP server...\r\n> metaserver is OK!\r\n> \r\n> --------------------------------\r\n> Check of Freeciv-web is done!\r\n> root@vagrant-ubuntu-wily-64:/vagrant/scripts#\r\n> "}}