adlnet / xapi-launch

40 stars 15 forks source link

*10 upstream prematurely closed connection while reading response header from upstream #16

Closed darshit7 closed 6 years ago

darshit7 commented 6 years ago

I got 502 Bad Gateway error while launching course using following URL

http://127.0.0.1:3000/launch/7d88614f-32c3-3c6a-408f-c21b2c49df3a/xAPI/activities/state?activityId=https%3A%2F%2Fserver.url.com%2Fcourse%2Fpython%2F&agent=%7B%22objectType%22%3A%22Agent%22%2C%22name%22%3A%22username%22%2C%22account%22%3A%7B%22homePage%22%3A%22https%3A%2F%2Fserver.url.com%2F%22%2C%22name%22%3A%225a55af0d5c984f6b2742542d%22%7D%7D&stateId=ACTIVITY_STATE

When I checked nginx log I got following error

*10 upstream prematurely closed connection while reading response header from upstream

I thinks there's some error in code of xapi-launch. Where I can get logs of xapi-launch?