-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
WEBUI & hasher app not going through #634
Comments
Hi! I have checked the code and it should work fine without any modifications. Regarding the worker, I suggest waiting for a few minutes to see if it reconnects automatically and succeeds. Sometimes, the end of the traceback can provide more useful information about the issue. Similarly, for the hasher, I believe there might be additional details in the rest of the traceback that could help you understand the problem better. |
Merci Jerome. This morning, I came across the other session at https://www.youtube.com/watch?v=broMJgUmPG8&list=PLBAFXs0YjviJwCoxSUkUPhsSxDJzpZbJd&index=49
all pods were up and running and I was able to access the webui. I tried again the docker compose up version, still getting the same errors, on ubuntu as well as Dockerdesktop on windows. |
When using docker compose up version, Yes the hasher starts working after sometime but not webui |
Note that the webui can show some error logs, but it might still work (i.e. if you connect to it with a web browser, you will see the graph). |
@jpetazzo I confirm that I'm also seeing a lot of errors on startup of the various containers but things appear to work as expected from the WebUI. If I find the time this weekend, I'll try to refactor the Docker Compose. |
Hi! The errors are expected :-) This is because the various components are connecting immediately to their dependencies - for instance, I haven't fixed the code because when I teach a class, I use this as an example, and we discuss how it can be addressed (e.g. with healthchecks, init containers, etc.) |
@conradwt as I said, all containers start fine and can see communications between them except in my case webui which fails to start (it exits) with the error
|
@eliassal I'm not able to reproduce the issue that you're seeing and I have tried it on both my Intel and Apple Silicon MacBook Pros. |
@jpetazzo You make a very good point here because a distributed application tends to start its services in a nondeterministic order. I definitely need to review adding healthchecks for my K8s pods. |
@conradwt well I cant add anything more than the error message webui is sending. If you like I can let you see the error by yourself if you accpet through a visio session :-) |
Hi Jermoe, the videos regarding "Deploying and Scaling Microservices
with Docker and Kubernetes" are really fantastic. and I learned a lot. However, when I try to run
Docker compose up
in bitcoins directory, all containers start and work fine except the webui one which errors as follows (myabe because latest images used are not compatible with code, I am really not expert in node nor in ruby)
Hasher error
then webui error
Thanks for your help
The text was updated successfully, but these errors were encountered: