SocketIO not working on Tauri-built NextJS desktop app #6400
Unanswered
WaelMajdoub
asked this question in
Q&A
Replies: 2 comments 9 replies
-
Are you using a http/ws connection? If so then this may be related to #3007. Could also be a CSP i think. Anyway, try building in debug mode: |
Beta Was this translation helpful? Give feedback.
9 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Tauri community,
I'm building a desktop app with Next.js and Tauri, and I'm using Socket.IO for real-time communication between the client and the server. When I run the app with "yarn dev" command, the app works fine with Socket.IO and the socket client. However, when I build the app to a desktop application for Windows, the Socket.IO connection doesn't seem to work anymore.
It's worth noting that the issue only occurs in the desktop version of the app, and not when running the app locally.
Has anyone encountered a similar issue with Socket.IO in a Tauri-built app, and if so, how did you resolve it? I'd appreciate any help or insights on this matter.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions