im going insane with cors and socket io
Unanswered
Cuban Crocodile posted this in #help-forum
Cuban CrocodileOP
ive been trying to fix this
problem for a while now. ive checked every google and stackoverflow post now, made some changes to my browser, modified almost every cors-related thing, even swapped to express for a while just to see if it works, but nothing was successful. i could list things that ive tried already, so i already tried modifying next.config.js file, adjusted the Server properties on the backend. (which is pretty non existant at this point, even the most basic things throw this error out.)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:3001/socket.io/?EIO=4&transport=polling&t=OrAf_GH. (Reason: CORS request did not succeed). Status code: (null).problem for a while now. ive checked every google and stackoverflow post now, made some changes to my browser, modified almost every cors-related thing, even swapped to express for a while just to see if it works, but nothing was successful. i could list things that ive tried already, so i already tried modifying next.config.js file, adjusted the Server properties on the backend. (which is pretty non existant at this point, even the most basic things throw this error out.)
1 Reply
Cuban CrocodileOP
bump