-
Notifications
You must be signed in to change notification settings - Fork 160
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
'standalone_webservice' shuts down after a minute in Docker on Windows #446
Comments
Hi @swythan ! Thanks for your interest and for raising the issue. These errors/warnings are actually an unfortunate artefact of how the non-Crux parts inside this Docker image run a web server that is underpinned by Jetty...so I think all of these messages actually are only advisory (in my experience anyway) and none of this should affect the running of the image or the Crux node itself. Is no other log output produced even if you leave it running (or starting up) for another 5m or so? We will endeavour to create a more minimal and updated image for you next week. |
Ah, OK. Thanks. I assumed it was broken and didn't try to actually use it! When I'm back at work on Monday I'll try it again and let you know. Assuming it does work, it would be good if the instructions mentioned that these errors are expected. I'm a .Net developer, so all the Clojure stuff is completely new to me. |
I just tried this again, and the results are slightly surprising. If I use a linux host (on Azure) then I get the same console output as before (still no messages about the server running), but the server is actually responding on 8080 & 8081 correctly (I had to remap them to 80 & 8080 to deal with my company proxy). If I use a Windows (Win10 1809) host, the docker container just shuts itself down after about a minute. In that minute I still can't connect on either 8090 or 8091. |
for Linux folks debugging this one, can get free Windows VMs from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ |
Hi.
Crux looks really interesting/useful. I'm trying to have a bit of a poke around to see how it might fit our needs.
I tried to run your standalone_webservice example on docker, but it's failing on me. I tried both locally on a Windows host, and also on a Linux VM running on Azure (Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-1063-azure x86_64)).
In both setups I got the same error (which I guess is a good thing!).
Thanks.
The text was updated successfully, but these errors were encountered: