-
Notifications
You must be signed in to change notification settings - Fork 96
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
Olog : Intermittent connection #3236
Comments
Error log 2025-01-15 16:22:16 SEVERE [org.phoebus.logbook.olog.ui.LogbookSearchJob] Failed to obtain logs |
No idea, but |
Looking at the dates of our working client Windows builds against those with problems, I think the switch to the native HttpClient could be the cause. |
I think it might be cause of this
Can you try the following and see what the behaviour is
|
@GDH-ISIS with this a preference we would avoid using Long.MAX_VALUE
|
I do believe that your suggestion (org.phoebus.olog.es.api/connectTimeout=60000) does work. Much more reliable connection. No failures |
Great, glad we can confirm my suspicion... now we need to figure out the correct way to define "infinite" timeout. |
Need to admit I did not evaluate consequences of setting connect timeout to Long.MAX_VALUE. That said, I have established that not setting an explicit timeout implies "infinite" timeout. Will update based on my findings. |
Need to add: I've discovered a bug related to attachments handling. Attachment file names containing space char cannot be retrieved as URL encoding replaces space with + (instead of %20). Will address that too. |
@GDH-ISIS can you confirm if Georg's fix works |
I can confirm that it looks like the fix has worked (with org.phoebus.olog.es.api/connectTimeout=0). My compliments to you both for the help - not familiar with Java. May I politely enquire as to whether ChannelFinder may need to be checked (6307d6b) |
yes, ChannelFinder and AlarmLogTable will also need the same. |
Many thanks to both. |
Will take on Alarm logger client and channel finder promptly. |
Turns out neither channel finder not alarm log client are supporting user defined connect timeout. |
The latest build of the windows client (15/01/2025) appears to give very intermittent connection with the following message. On the rare occasion, it does connect.
In the past, we have had a good connection to the olog service (on docker). Our Windows 10 client connected to the olog docker service without problems. I previous windows client install still does connect without issue. The olog web client still works.
The text was updated successfully, but these errors were encountered: