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

Add timeout on deploy #1

Open
slominskir opened this issue Jun 10, 2024 · 0 comments
Open

Add timeout on deploy #1

slominskir opened this issue Jun 10, 2024 · 0 comments

Comments

@slominskir
Copy link
Member

slominskir commented Jun 10, 2024

The first time the service user attempts wget of war file they'll be prompted to accept the JLab CA self-signed intercepting TLS proxy cert and this demonstrates the need to have a timeout on deploy because at the moment if you don't manually accept the certificate on behalf of the service user the command hangs indefinitely. If you su to the service user and manually run the deploy command the prompt looks like:

Accept certificate? [N]o, [T]emporarily, [P]ermanently : P

Note: The web request times out after 30 seconds or so. However, the backend Java thread remains hung, and worse, is holding an Oracle DB connection open which results in resource exhaustion as the current pool only allows 3-5 connections before failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant