Hi,
during our test I ran into problems with timeouts.
OWS uses HttpUrlConnection to download the jars into the cache.
How can I increase the clientConnectiontTimeout und the defaultReadTimeout.
I'm looking forward for your reply.
Regards Martin
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=5000
HTTP 504 - Gatway Timeout
-
- Posts: 769
- Joined: 24 Mar 2020, 13:37
Re: HTTP 504 - Gatway Timeout
Hi
OWS sets ConnectTimeout=5000 and keeps ReadTimeout=0 (infinite).
What problem did you face with timeouts? What was your usecase?
I will come back to you on how to set it.
OWS sets ConnectTimeout=5000 and keeps ReadTimeout=0 (infinite).
What problem did you face with timeouts? What was your usecase?
I will come back to you on how to set it.
Re: HTTP 504 - Gatway Timeout
Hi niedenzu,
it would be possible to define that arguments in OpenWebStart. At the moment we do not have the resources to work on this as part of the free OpenWebStart community work. If this is an important issue for we can discuss how this can be solved. There are several options:
- We help you to fix it on your own and provide a PR for OpenWebStart / IcedTeaWeb
- We offer payed work on OpenWebStart (see https://openwebstart.com/support/)
- We offer commercial support for OpenWebStart (see https://openwebstart.com/support/)
If you are interested in this options I can schedule a Zoom meeting the next days.
Thanks,
Hendrik
it would be possible to define that arguments in OpenWebStart. At the moment we do not have the resources to work on this as part of the free OpenWebStart community work. If this is an important issue for we can discuss how this can be solved. There are several options:
- We help you to fix it on your own and provide a PR for OpenWebStart / IcedTeaWeb
- We offer payed work on OpenWebStart (see https://openwebstart.com/support/)
- We offer commercial support for OpenWebStart (see https://openwebstart.com/support/)
If you are interested in this options I can schedule a Zoom meeting the next days.
Thanks,
Hendrik
Re: HTTP 504 - Gatway Timeout
Thanx guys for the answers .
But - Isn't there a way to use vmoptions-file the?
C:\Program Files\OpenWebStart\javaws.vmoptions
I added
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=5000
but that did not realy help.
Do you have any suggestions?
Best Regards
martin
But - Isn't there a way to use vmoptions-file the?
C:\Program Files\OpenWebStart\javaws.vmoptions
I added
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=5000
but that did not realy help.
Do you have any suggestions?
Best Regards
martin
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: HTTP 504 - Gatway Timeout
You could try to add the timeouts to the JNLP file as properties.
Not sure if this will work, as some of the network related properties are cached by the JVM uppon opening the first connection.
Not sure if this will work, as some of the network related properties are cached by the JVM uppon opening the first connection.
-
- Posts: 769
- Joined: 24 Mar 2020, 13:37
Re: HTTP 504 - Gatway Timeout
>
But - Isn't there a way to use vmoptions-file the?
C:\Program Files\OpenWebStart\javaws.vmoptions
>
This won't work. These VM options are relevant only for OWS phase one : download of jnlp file and not for jar files. Even then OWS seems to override and set the ConnectTimeout to 5000
But - Isn't there a way to use vmoptions-file the?
C:\Program Files\OpenWebStart\javaws.vmoptions
>
This won't work. These VM options are relevant only for OWS phase one : download of jnlp file and not for jar files. Even then OWS seems to override and set the ConnectTimeout to 5000
Re: HTTP 504 - Gatway Timeout
Hi niedenzu,
I had an internal chat with Stephan Classen. Since this issue is currently not part of our road map we can offer you a quick fix + documentation on how such properties can be defined (as part of the open OWS documentation) as a really small consulting contract (1 day). By doing so the fix would be in the next version of OWS that will be released in August. This would help to keep us working on OpenWebStart and IcedTeaWeb as Open Source projects If this would be an option for you I'm more than happy to send you a quote by mail. In such case please ping us at openwebstart@karakun.com
If this is not an option for you we will keep this issue on our list of Open Source issues that might be fixed in the future. Here we can not give an guaranty when this will happen. Next to this it is always possible to provide a Pull Request.
Thanks,
Hendrik
I had an internal chat with Stephan Classen. Since this issue is currently not part of our road map we can offer you a quick fix + documentation on how such properties can be defined (as part of the open OWS documentation) as a really small consulting contract (1 day). By doing so the fix would be in the next version of OWS that will be released in August. This would help to keep us working on OpenWebStart and IcedTeaWeb as Open Source projects If this would be an option for you I'm more than happy to send you a quote by mail. In such case please ping us at openwebstart@karakun.com
If this is not an option for you we will keep this issue on our list of Open Source issues that might be fixed in the future. Here we can not give an guaranty when this will happen. Next to this it is always possible to provide a Pull Request.
Thanks,
Hendrik