You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a strange issue when running a Flask server within Termux on Android. Specifically, when I access the server via 127.0.0.1:5000 in Chrome, the request seems to hang. The browser just waits indefinitely. The request is only processed after I switch back to the Termux app, and then immediately switch back to Chrome. It's as if Termux needs focus to actually process the request from the Flask server. This behavior is obviously undesirable, as I don't want to manually switch between apps for every request.
Has anyone else experienced this? Is it possible that this behavior is due to new security policies implemented in Android 15 (or later versions of Android)?
Steps to reproduce the behavior.
I'm encountering a strange issue when running a Flask server within Termux on Android. Specifically, when I access the server via 127.0.0.1:5000 in Chrome, the request seems to hang. The browser just waits indefinitely. The request is only processed after I switch back to the Termux app, and then immediately switch back to Chrome. It's as if Termux needs focus to actually process the request from the Flask server. This behavior is obviously undesirable, as I don't want to manually switch between apps for every request.
Has anyone else experienced this? Is it possible that this behavior is due to new security policies implemented in Android 15 (or later versions of Android)?
What is the expected behavior?
Without switch between termux and Chrome browser
System information
Termux application version:
Android OS version:
Device model:
The text was updated successfully, but these errors were encountered:
Problem description
I'm encountering a strange issue when running a Flask server within Termux on Android. Specifically, when I access the server via 127.0.0.1:5000 in Chrome, the request seems to hang. The browser just waits indefinitely. The request is only processed after I switch back to the Termux app, and then immediately switch back to Chrome. It's as if Termux needs focus to actually process the request from the Flask server. This behavior is obviously undesirable, as I don't want to manually switch between apps for every request.
Has anyone else experienced this? Is it possible that this behavior is due to new security policies implemented in Android 15 (or later versions of Android)?
Steps to reproduce the behavior.
I'm encountering a strange issue when running a Flask server within Termux on Android. Specifically, when I access the server via 127.0.0.1:5000 in Chrome, the request seems to hang. The browser just waits indefinitely. The request is only processed after I switch back to the Termux app, and then immediately switch back to Chrome. It's as if Termux needs focus to actually process the request from the Flask server. This behavior is obviously undesirable, as I don't want to manually switch between apps for every request.
Has anyone else experienced this? Is it possible that this behavior is due to new security policies implemented in Android 15 (or later versions of Android)?
What is the expected behavior?
Without switch between termux and Chrome browser
System information
The text was updated successfully, but these errors were encountered: