OxygenXML web author server times out after a certain hours/days of inactivity
Posted: Tue Aug 08, 2023 7:15 pm
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