-
Notifications
You must be signed in to change notification settings - Fork 25
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
BUG: Recsync server crashes when CF server is down #11
Comments
Some more robustness would certainly be desirable. Right now the handling of exceptions from plugins during Through the use of @shroffk fyi |
Also worth mentioning is that it crashes in a different way when http server is not even up yet, i.e. when glassfish is not even running. |
Just to clarify, the recsync server removes the cfstore support - the twistd server is still running right. I did not know about the Deffered() method - I had considered a mechanism in which the client would keep trying to create a connection with an exponential backoff, but was thwarted by my lack of knowledge of multi-threaded programming in python. I guess this feature would be a good excuse to finally learn that. |
In this case the extent of the knowledge necessary is to wrapper with http://twistedmatrix.com/documents/current/api/twisted.internet.threads.html#deferToThread |
So the 3 scenarios we want to handle
|
|
|
@alex-soderqvist FYI work is in progress to address this situation. |
@mdavidsaver @alex-soderqvist can we close this |
I am running the ChannelFinder with Glassfish. I start both glassfish and recsync-server with systemd, on the same machine.
The recsync-server service is configured to start after the glassfish service. However at this point the ChannelFinder service does not seem to be up, causing a crash in the recsync-server. It would be nice if this was handled and that the recsync-server tries to connect again a while later.
It works fine after restarting recsync-server service .
recsync-server-log.txt
The text was updated successfully, but these errors were encountered: