OxygenXML web author server times out after a certain hours/days of inactivity
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 12
- Joined: Mon Dec 12, 2022 11:19 pm
OxygenXML web author server times out after a certain hours/days of inactivity
Hello, we have our web author server hosted on AWS which internally connects to our data server by implementing URLStreamHandlerWithContext. After a certain days of inactivity for example after the weekend, when we try to access the editor on web page it shows "Document could not be loaded" error. When we see the logs we see timeout errors in connecting to the data server.
The architecture for this we author is ECS tasks, so we logged in to the task instance and we tried to connect to the data URL through the console. But the connection to the data server works from the console but not from tomcat/web author server. Here are the error logs:
com.tr.gcs.oxygenxml.storage.plugin.StorageUrlConnection - ------handleException --- ro.sync.basic.net.http.HttpException: Connect to contentresource-qa.gcs.int.thomsonreuters.com:443 [contentresource-qa.gcs.int.thomsonreuters.com/10.150.86.247, contentresource-qa.gcs.int.thomsonreuters.com/10.150.89.232, contentresource-qa.gcs.int.thomsonreuters.com/10.150.82.182] failed: connect timed out (https://contentresource-qa.gcs.int.thom ... bbab4/data)
com.oxygenxml.webauthor.SecurityManager - [PLUGIN FIREWALL DECISION] Plugin GCS Storage REST connector allowed connection to host contentresource-qa.gcs.int.thomsonreuters.com:443
The architecture for this we author is ECS tasks, so we logged in to the task instance and we tried to connect to the data URL through the console. But the connection to the data server works from the console but not from tomcat/web author server. Here are the error logs:
com.tr.gcs.oxygenxml.storage.plugin.StorageUrlConnection - ------handleException --- ro.sync.basic.net.http.HttpException: Connect to contentresource-qa.gcs.int.thomsonreuters.com:443 [contentresource-qa.gcs.int.thomsonreuters.com/10.150.86.247, contentresource-qa.gcs.int.thomsonreuters.com/10.150.89.232, contentresource-qa.gcs.int.thomsonreuters.com/10.150.82.182] failed: connect timed out (https://contentresource-qa.gcs.int.thom ... bbab4/data)
com.oxygenxml.webauthor.SecurityManager - [PLUGIN FIREWALL DECISION] Plugin GCS Storage REST connector allowed connection to host contentresource-qa.gcs.int.thomsonreuters.com:443
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: OxygenXML web author server times out after a certain hours/days of inactivity
Post by cristi_talau »
Hello,
The problem you describe seems to be related to Java caching the IP for a DNS lookup indefinitely. You can follow the instructions here to lower the lifetime of this cache: https://docs.aws.amazon.com/sdk-for-jav ... m-ttl.html .
Best,
Cristian
The problem you describe seems to be related to Java caching the IP for a DNS lookup indefinitely. You can follow the instructions here to lower the lifetime of this cache: https://docs.aws.amazon.com/sdk-for-jav ... m-ttl.html .
Best,
Cristian
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service