In short, I intermittently get 502 errors while using some api calls on my site. b/c it seems to happen about 10% of the time for my ajax calls, I simply do the whole 'ignore it and try again' with the call and eventually it'll work. But because this is a bit of an integral part of the customers UI, I would obviously like to resolve this problem.
I've seen in some other online searches that it may be something to do with the version of uWSGI or something of that sort, but I'm certainly not adept enough to know enough about that sort of stuff. I've tried everything under the sun on my side, but whenever my api calls actually go through, everything works fine, and I can't even replicate it with certainty through an exact action.. it just happens randomly.
Looking at the Segmentation Fault, it only references python3.6 files so I don't 'think' it's on my side, but I could be mistaken. My site merely a site that queries a database and outputs the results to screen for the most part. Feel free to look at my site if you wish. The easiest place to replicate the error is within aznstifler.pythonanywhere.com/writing/ and just using the infinite scroll or clicking on side menu buttons and it'll happen after a few clicks.
Thanks in advance