Skip to content
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

Services sometimes not ready for connection #8

Open
pauldoomgov opened this issue Jun 25, 2024 · 0 comments
Open

Services sometimes not ready for connection #8

pauldoomgov opened this issue Jun 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pauldoomgov
Copy link
Contributor

Sometime a job with a service will fail. It appears that the service app is not quite ready when the main app attempts to access it.
An example from a job that curls against the "echo" service:

curl: (7) Failed to connect to glrw-rXXXXXXXXX-pXXXXXXXXX-c0-jXXXXXXXXX-svc-echo.apps.internal port 8080 after 2 ms: Connection refused

Rerunning the job generally results in success. A hacky fix would be to add some sleep time, but having a way to block for service readiness would be preferred.

@pauldoomgov pauldoomgov added the bug Something isn't working label Jun 25, 2024
@pauldoomgov pauldoomgov self-assigned this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant