Product: TIBCO Spotfire®
"ERROR ; com.spotfire.rs.tools.UI_ERRORS" when saving a TIBCO Spotfire deployment area in case of NGINX load balancer
Save operation in "Deployments & Packages" in case of Spotfire Server with a NGINX (Virtual IP) Load balancer URL may fail with "ERROR ; com.spotfire.rs.tools.UI_ERRORS".
The ERROR details can also be found in "user-interface.log"
======
2019-10-30T17:10:45,542+0800 ; ERROR ; com.spotfire.rs.tools.UI_ERRORS ; 724c1162-7d0f-b208-1d66-199404fd6567: undefined
Current URL: https://192.168.61.51:81/spotfire/#/landingPage
2019-10-31T15:14:40,446+0800 ; ERROR ; com.spotfire.rs.tools.UI_ERRORS ; 08f67904-7a54-ebcb-f08c-a6bb563ac95d: undefined
Current URL: https://192.168.61.120:19080/spotfire/#/deploymentsPackages?tabId=dp&areaId=Production
2019-10-31T15:15:38,903+0800 ; ERROR ; com.spotfire.rs.tools.UI_ERRORS ; 862966cf-834b-3049-71af-f21d71bd0bfe: undefined
Current URL: https://192.168.61.120:19080/spotfire/#/deploymentsPackages?tabId=dp&areaId=Production
======
Whereas performing the same operation via individual Spotfire Server URL's work as expected. These issues are specific to the load balancer settings/configurations and need to be investigated by the LB expert.
However such issues can be narrowed down using HAR file.
Refer the link below for more information on "Generating a HAR file for troubleshooting"
https://support.zendesk.com/hc/en-us/articles/204410413-Generating-a-HAR-file-for-troubleshooting
- After enabling HAR logging.
- Reproduce the issue while the network requests are being recorded.
- Once the issue is replicated, right-click anywhere on the grid of network requests, select Save as HAR with Content, and save the file.
- Check for possible error(s) in the HAR file. In my case there was an ERROR "413" Request Entity Too Large HTTP/1.1.
Sample:
The issue happens to be due to the default value of "client_max_body_size" in NGINX. Tweak this parameter to a higher value and test the behavior.
Respective setting can be found here:
https://www.tecmint.com/limit-file-upload-size-in-nginx/
Note: Keep in mind that HAR files contain sensitive data, including content of the pages you downloaded while recording and your cookies. This allows anyone with the HAR file to impersonate your account and all the information that you submitted while recording (personal details, passwords, credit card numbers, etc.).
Note: The issue addressed in the KB is specific to NGINX (Virtual IP) Load balancer. You may use HAR to troubleshoot similar issues with other technologies as well.
https://support.zendesk.com/hc/en-us/articles/204410413-Generating-a-HAR-file-for-troubleshooting
https://www.tecmint.com/limit-file-upload-size-in-nginx/
Comments
0 comments
Article is closed for comments.