I am trying to make API that i will use on another website, but when i try to connect to the websocket it resets my session every time i connect. It works fine on localhost.