502 Bad Gateway

Solved!
Posted in General by Joe White Wed Nov 18 2015 05:14:47 GMT+0000 (UTC)·2·Viewed 888 times

I am reprocessing some historical data to test my system and part way through I started getting a 502 bad gateway error for every request. I intentionally rate limited my requests to less than 1 per second to avoid the 403. I received the error for over 100 requests. Any help is appreciated. com.aylien.textapi.TextAPIException: com.aylien.textapi.TextAPIException: <html><head><title>502 Bad Gateway</title></head><body bgcolor="white"><center><h1>502 Bad Gateway</h1></center><hr><center>openresty/1.7.7.2</center></body></html> at com.aylien.textapi.TextAPIClient.entities(TextAPIClient.java:321) ~[client-0.5.0.jar:na] at external.aylien.AylienAPI.extractEntities(AylienAPI.java:68) ~[classes/:na] at alert.AlertProcessor.processItemAlerts(AlertProcessor.java:64) [classes/:na] at alert.AlertProcessor.processResults(AlertProcessor.java:42) [classes/:na] at api.HistoricalTest.run(HistoricalTest.java:28) [classes/:na] at Global.onStart(Global.java:38) [classes/:na] at play.core.j.JavaGlobalSettingsAdapter.onStart(JavaGlobalSettingsAdapter.scala:22) [play_2.11-2.4.3.jar:2.4.3] at play.api.GlobalPlugin.onStart(GlobalSettings.scala:271) [play_2.11-2.4.3.jar:2.4.3] at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:92) [play_2.11-2.4.3.jar:2.4.3] at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:92) [play_2.11-2.4.3.jar:2.4.3] Caused by: com.aylien.textapi.TextAPIException: <html><head><title>502 Bad Gateway</title></head><body bgcolor="white"><center><h1>502 Bad Gateway</h1></center><hr><center>openresty/1.7.7.2</center></body></html> at com.aylien.textapi.HttpSender.extractTextAPIError(HttpSender.java:95) ~[client-0.5.0.jar:na] at com.aylien.textapi.HttpSender.post(HttpSender.java:75) ~[client-0.5.0.jar:na] at com.aylien.textapi.TextAPIClient.doHttpRequest(TextAPIClient.java:584) ~[client-0.5.0.jar:na] at com.aylien.textapi.TextAPIClient.entities(TextAPIClient.java:314) ~[client-0.5.0.jar:na] at external.aylien.AylienAPI.extractEntities(AylienAPI.java:68) ~[classes/:na] at alert.AlertProcessor.processItemAlerts(AlertProcessor.java:64) [classes/:na] at alert.AlertProcessor.processResults(AlertProcessor.java:42) [classes/:na] at api.HistoricalTest.run(HistoricalTest.java:28) [classes/:na] at Global.onStart(Global.java:38) [classes/:na] at play.core.j.JavaGlobalSettingsAdapter.onStart(JavaGlobalSettingsAdapter.scala:22) [play_2.11-2.4.3.jar:2.4.3]
Amir M. Saeid
Nov 18, 2015

Hi Joe,

We were having networking issues in our infrastructure which I believe are fixed now. I am sorry for the inconvenience. Service should be back to normal.

Thanks,

Amir


Amir M. Saeid marked this as solved
Markdown is allowed