Forums

"Application Not Supported" Error on Xbox: Moving from PythonAnywhere to Home Network

I am in the process of moving a PythonAnywhere-hosted Flask app to my home server and I am running into a probably really simple error. I copied the mysite directory to my server and have been able to access the app via my computer. The problem is that when I access it using my Xbox One, I receive this error: "Application not supported / The webpage tried to start an application, such as an email program, that is not supported on Xbox." However, I can use my Xbox to access it on PythonAnywhere just fine.

I think I might be missing some kind of compatibility modules/scripts that are hosted in other folders PythonAnywhere. Would anyone happen to know which ones?

Thanks kindly in advance.

It could be pretty much anything... is there anything in the server log?

The server log doesn't even show that the Xbox tried to access it! Only when I do it with my laptop or phone.

This is not the case for PythonAnywhere, though. It records both Xbox and computer visits.

Is there any kind of security setting on the Xbox browser that stops it accessing local content? It might be firewalled to stop rogue apps from scanning the local network for vulnerable machines.

One possibility is something is generating a mailto link when you run it locally, but not on PythonAnywhere. Perhaps something to do with your mail server setup?