Skip to content

TypeError: this.transport is undefined #489

@Zanisimo

Description

@Zanisimo

I have added user side error logging on my site. Some times it logs these two error coming from socket.io code:

TypeError: this.transport is undefined

and

TypeError: Cannot call method 'close' of undefined

As I am using the minified version the error is some where in Socket.prototype.onDisconnect or Socket.prototype.reconnect functions. More likely that the error is logged from onDisconnect function because I am setting 'reconnect' : false in configuration options on client side.

The error have been seen from users with Firefox 15th and 16th version on Windows, Chrome 22nd version on Mac and Windows and also on IE8.

Socket.io version is 0.9.10.

Can you please tell me what could be the reasons for this error?

Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions