Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am running socket.io on an Apache server through Python Flask. We're integrating it into an iOS app (using the Socket.IO-Client-Swift library) and we're having a weird issue.
We are not using mod_wsgi (as far as I know; I'm relatively new to mod_wsgi, apologies for any ignorance). We used to have a .wsgi file that called the main app script to run but we had to change that because mod_wsgi is not compatible with Flask SocketIO (as stated in the uWSGI Web Server section here). The way I am running the script now is by using supervisord to run the .py file as a daemon (using that specifically so it will autostart in the event of a server crash).
https://github.com/nuclearace/Socket.IO-Client-Swift/issues/95https://github.com/socketio/socket.io-client-swift/issues/359
Related posts
- WalletConnect Auth: how to connect a crypto wallet to iOS Swift DApp
- Mixed Vendor Network Monitoring and Management
- is it possible for Push Notifications to update sqlite on a notification outside the app?
- Does v16 of socket io of swift client supports nodejs socket io server v4?
- Any tutorials you recommend for URLSession?