Edit: It appears it was only in google chrome. I managed to talk him through switching browsers, and it works in internet explorer. It does however seem to be a weird error.
Hi!
I have created a simple chess app using Django for my grandfather and his brother to play easily, as they are not even remotely computer savvy, but when he tries to access the view which is supposed to supply the current game status he gets a 502-backend error, with a generic error page.
Myself I got the same error once, but it dissappeared and I assumed it was just a passing thing.
The chess retrieves a pgn via ajax from a view, http://python.torsjakk.com/getGameFen/ , this site however shows a generic error message to him, while I myself am able to access it via multiple computers and browsers without getting an error.
He can visit the main site just fine, http://python.torsjakk.com - but the ajax which retrieves from the getGameFen site receives the error page as well and thus it will load incorrectly.
There are no traces of any errors in my logs, and considering that it works for me, and also for one of my friends whom I asked to test it, I am unable to determine the cause.
I have tried some of the solutions I've found by googling "something went wrong 502 backend pythonanywhere", such as seeing if running "python wsgifilepath" returns any errors, but have been unable to have any success.
I hope you can help me?