-
Notifications
You must be signed in to change notification settings - Fork 212
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
Timeout when connecting maven daemon #772
Comments
Same here - if I manually increase the timeout in DaemonConnector.CONNECT_TIMEOUT and rebuild mvnd then it seems to work. The problem startet when the company rolled out additional security surveillence agents on the machines, I guess they slow down the connection establishment leading to a timeout. If I interpret wireshark captures correctly, this is what's happening. |
I've created #772 to make the timeous configurable. |
@gnodet Thanks for the configurable timeouts, however I think I am still seeing problems in mvnd 0.9.0 that this doesn't seem to help with. When calling:
In GitHub Actions on the Windows and macOS runners this seems to still result in a:
Full log is here - https://github.com/eXist-db/exist/actions/runs/4656874086/jobs/8240918019#step:4:204 |
@gnodet Sorry to ask again, but any further insight you could provide on this would be very helpful... |
@gnodet Any chance of some feedback on this? It is preventing us from using mvnd. |
@adamretter could you please try with the latest mvnd release? Do all those installation steps work for you locally on a fresh Windows machine? It would be nice to see in which state is the daemon process when client gives up trying to connect. Is the daemon process alive at all - to check that , you could add some sort of windows counterpart of |
Does a mvnd installed via chocolatey work any better? |
I just tried updating to mvnd version
I will test that next and come back to you...
I am not sure that is something we can test inside GitHub Actions CI as it runs one process after another and is non-interactive. |
You can put those commands right after the mvnd invocation, possibly in an "on failure" block. GH actions has some special syntax for that. I am really curious, whether the daemon process is still up when the client gives up waiting. If it is not up then you need to find out what prevents it from starting, e.g. by trying to invoke that logged |
mvnd-0.8.2-darwin-aarch64
The text was updated successfully, but these errors were encountered: