Unanswered question

Node.js Socket IO

In my actions, whenever issues https://abc.com:1000/socket.io/?EIO=3&transport=polli..., the return message is {"code":1,"message":"Session ID unknown"}. The session id is sid=RTCRpy0rlOkctRSvABXP. This sid is extracted from cookies.
Why is that so?

Roman T.
Roman T.

Roman T.

Level
0
23 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

This request seems to be a polling request. Do you have any other parameters in that request related to your sessionid?  I guess if the server returns Session ID unkown is that either your user session is not valid anymore or you are sending with that request a wrong session id.

Sachin G.
Sachin G.

Sachin G.

Level
1
123 / 750
points

Hi Roman,
I faced the same issue. I correlated the SID value from the previous request header (you can check where it is coming first time in the response) and replaced it in the cookies. See the screenshots.

Roman T.
Roman T.

Roman T.

Level
0
23 / 100
points

Thank you for your reply.
Sachin, I can see the sid in cookies and it can be extracted.

Nacef G.
Nacef G.

Nacef G.

Level
0
11 / 100
points

Any update on this? i am facing the same issue with both a manual and and an automatic extraction of the sid..