Comments (9)
The .net worker is flaky on resolving redis and/or db. Try the java worker, which has the code in this repo but I don't think docker made an image for. I have one built at bretfisher/examplevotingapp_worker:java
so just replace your worker image with that and it should work better
from example-voting-app.
I tested this on Docker Desktop, and at first, the worker
will crash because the db and redis aren't in DNS yet, but after a few minutes, it found DNS for db
and redis
and worked. Maybe you needed to wait a bit longer?
from example-voting-app.
@BretFisher Still facing this issue, not able to find bretfisher/examplevotingapp_worker:java in Hub. Used your image bretfisher/examplevotingapp_worker, but it's still crashing for last 10 minutes. Tried multiple things like deleting all pods and services and starting DB before worker, but still facing issue.
Please assist.
from example-voting-app.
The java tag still exists on hub: https://hub.docker.com/r/bretfisher/examplevotingapp_worker/tags
from example-voting-app.
Thank you so much @BretFisher for your valuable time.
I tried your image and had earlier tried Java image of bgrissin/examplevotingapp_worker_java.
All my services are up and running properly, but when I go to services and ingress --> Voting app service --> It opens the Interface to cast votes. Upon casting the vote, it gives below error:
500 Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Sorry to bother you again but it would be great if you could help last time.
from example-voting-app.
@BretFisher Able to resolve 500 Internal server error by following this sequence:
voting pod + service --> redis pod + service --> postgres pod + service --> worker --> result pod + service
But now, voting page is accepting the request, but result page is not getting refreshed and showing 50-50 only.
Anything I could do differently?
from example-voting-app.
@BretFisher I used your vote, worker and result images also and used same sequence as earlier.
Both voting and result pages are opening and voting page is accepting the request, but result page is not getting refreshed and showing 50-50 only.
from example-voting-app.
@BretFisher - same issue is still open, result page doesn't reflects the voting correctly. 50-50 always. Any assistance could be helpful.
from example-voting-app.
We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you're still having issues with the latest images, feel free to reopen this ticket.
from example-voting-app.
Related Issues (20)
- Error: result, vote, worker containers are unhealthy HOT 2
- Worker pod not able to connect to db HOT 7
- ERRO[0000]: db HOT 2
- How to run this on EKS cluster ? HOT 1
- performing replicas for each db, redis and worker. HOT 1
- Udemy
- Voting results issue
- Have a problem for run result-app in arm architecture HOT 1
- can't rebuilt the docker container of vote app HOT 1
- Docker-compose up issue. Error related to /Healthchecks HOT 1
- Cleanup Hub repo and images HOT 5
- Audit expose ports on services
- Update Docs with latest stack file example
- Improve readme to indicate official image locations
- Add .gitattributes file to this repo so that the *.sh files will always use eol=lf HOT 1
- use GHA to update Docker Hub repo description HOT 4
- Including wasm runtime into "result" service
- Worker App build error HOT 9
- votingapp_result not showing the result HOT 1
- Port 5000 is used by MacOSX Ventura 13.6.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from example-voting-app.