The user reported timeouts in CAST Viewer when retrieving an object's start and end points. The issue persisted even after limiting the query to a single object.
The user received an “Oops! Something went wrong” error page.
Resolution
- Check if the issue occurs when querying a single object.
-
Check if the number of hops configured for the query is high.
Check if reducing the number of hops allows the object information to be retrieved successfully. The computation required by CAST Viewer increases as the number of hops increases.
Large hop counts can therefore result in longer processing times and may eventually lead to a timeout or the “Oops! Something went wrong” page. The error message itself recommend reducing the number of hops.
- Check if the application logger timeout has been increased to 120 seconds. Please refer Timeouts while consulting results to add a new line "LOGGER_TIMEOUT" in imagingservice.json
- Check the timeout values configured in proxy.conf. The issue may occur if the reverse proxy inside the CAST Imaging container has shorter timeout values than required for queries involving multiple hops
-
Check if the current proxy.conf configuration can be retrieved from the CAST Imaging container.
podman cp server:/opt/imaging/config/nginx/conf/proxy.conf . -
Check if the following timeout values are configured in proxy.conf:
proxy_connect_timeout 1200; proxy_send_timeout 1200; proxy_read_timeout 1200; - Check if the updated proxy.conf is correctly mounted or applied inside the container.
- Check if the CAST Imaging container is using the updated proxy.conf after the configuration change. Increasing the timeout values on the host alone may not resolve the issue if the updated configuration is not actually being used by the NGINX reverse proxy inside the container.
- Check if the query succeeds after applying the increased reverse-proxy timeout values.
-
NB:
- Large hop counts, increases the computation required by CAST Viewer and can cause requests to exceed the configured timeout. For large-hop queries, reducing the number of hops remains the recommended approach where possible, as increasing timeouts may improve the behavior but can also result in longer-running requests and higher resource consumption.
- If CAST Imaging is containerized: podman cp server:/opt/imaging/config/nginx/conf/proxy.conf .
Check and modify the proxy.conf inside the container and ensure the updated configuration is actually mounted/applied. - If CAST Imaging is not containerized: Do not use the podman cp command. Instead, locate the NGINX/reverse-proxy configuration on the host and check whether the equivalent timeout settings are configured there.
Related Pages
Resources
CAST Imaging v3 Product Documentation
CAST Imaging Troubleshooting Guides
Additional Resources
CAST Highlight Product Documentation
CAST Highlight Troubleshooting Guides
Ticket
59716
Comments