Skip to content

Socket.IO With 'authorization' #40

@alanjames1987

Description

@alanjames1987

In order to have Socket.IO and Express share the same session data a sessionStore and cookie have to be used. This works great on browers, but PhoneGap is giving me problems.

I referenced your Socket.IO example and the socket.on('error'... event keeps firing. I looked at my Socket.IO log and this is the error I am getting when PhoneGap tries to connect.

GET /socket.io/1/?t=1396314433839 302 2ms - 82b
   debug - authorized
   warn  - handshake error MISSING_COOKIE

I'm using PhoneGap 3.4.0 on Android 4.2.2 on a Galaxy Nexus.

Do you know how I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions