"500 Error: Failed to establish a backside connection" - Bluemix Selenium Tests

"500 Error: Failed to establish a backside connection" - Bluemix Selenium Tests

我已经部署了一个简单的基于 Web 的项目,它通过 IBM Cloud 在 browserstack(测试环境)上运行基本的测试自动化。

URL : https://gaiaautomation0.au-syd.mybluemix.net/

测试通过网页调用执行,并在测试执行时显示覆盖图(Ajax 调用)。

在执行期间,IBM Cloud 在不同的测试步骤随机超时并出现以下控制台错误,但测试仍在执行。有没有办法阻止下面显示的 500 错误。

Error in browser: 500 Error: Failed to establish a backside connection

Error on console : 2018-02-08T22:54:38.56+0530 [RTR/8] OUT gaiaautomation0.au-syd.mybluemix.net - [2018-02-08T17:22:37.569+0000] "GET /home?squadInput=CPI_Squad&featureFileInput=ABO_Increase_Watson&revenueFeatureFileInput= HTTP/1.1" 502 0 67 "https://gaiaautomation0.au-syd.mybluemix.net/" "Mozilla/5.0 (Windows NT 1 0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36" "130.198.74.114:13610" "130.198.80.122:63237" x_forwarded_for:"71.198.43.235" x_forwarded_proto:"https" vcap_request_id:"227ae9bf-40dd-4574-7931-967ed1a3ac51" response_time:120.998508302 app_id:"7bc9c303-4ff6 e2e-9978-6f88d88a0bf9" app_index:"0" x_global_transaction_id:"1936661453" true_client_ip:"-" x_b3_traceid:"1fdd5d96f5688475" x_b3_spanid:"1fdd5d96f5688475" x_b3_parentspanid:"-" 2018-02-08T22:54:38.56+0530 [RTR/8] OUT 2018-02-08T22:54:40.02+0530 [APP/PROC/WEB/0] OUT xpath : (//INPUT[@value=' Edit '])[1]

这通常发生在 IBM Cloud 与您的应用程序之间没有 activity 发生的情况下。从 server.xml 增加超时。通常默认设置为2分钟