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 switched my app to vite and upgraded packages.
Since then I have no connection to my socket.io server.
The funny thing is: if I enter a WRONG port, I see it trying to connect, with the right port (80) it simply does nothing.
The problem seems to be my socket-io-actions are in a vuex store.
Is there a way to use vue-socket.io-extended with Pinia?
GET http://192.168.2.230:8080/socket.io/?EIO=4&transport=polling&t=Obylgd6 net::ERR_CONNECTION_REFUSED
GET http://192.168.2.230:8080/socket.io/?EIO=4&transport=polling&t=Obylh0H net::ERR_CONNECTION_REFUSED
GET http://192.168.2.230:8080/socket.io/?EIO=4&transport=polling&t=Obylhdn net::ERR_CONNECTION_REFUSED
GET http://192.168.2.230:8080/socket.io/?EIO=4&transport=polling&t=ObyliOH net::ERR_CONNECTION_REFUSED
GET http://192.168.2.230:8080/socket.io/?EIO=4&transport=polling&t=Obyljco net::ERR_CONNECTION_REFUSED
main.js
import VueSocketIOExt from 'vue-socket.io-extended';
import io from 'socket.io-client';
import store from './store/index.js'
var ip = '192.168.2.230';
// if on dev use ip
var host = 'http://' + (document.location.port == 5173 ? ip : document.location.host);
const socket = io(host);
Vue.use(VueSocketIOExt, socket, { store });
Uh oh!
There was an error while loading. Please reload this page.
I switched my app to vite and upgraded packages.
Since then I have no connection to my socket.io server.
The funny thing is: if I enter a WRONG port, I see it trying to connect, with the right port (80) it simply does nothing.
The problem seems to be my socket-io-actions are in a vuex store.
Is there a way to use vue-socket.io-extended with Pinia?
main.js
package versions:
├── @intlify/[email protected]
├── @mdi/[email protected]
├── @popperjs/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
The text was updated successfully, but these errors were encountered: