Skip to content

this.pingIntervalTimer.refresh is not a function #631

Closed
@JeffWinder

Description

@JeffWinder

Describe the bug
socket.js:108 Uncaught TypeError: this.pingIntervalTimer.refresh is not a function
at Socket.onPacket (socket.js:108)

To Reproduce
engine.io: 6.1.0
engine.io-client: 6.1.1
socket.io: 4.4.0
socket.io-client: 4.4.0

Platform:

  • OS: windows 10

Additional context
Adding
console.log(typeof this.pingIntervalTimer)
just before line 108 shows that it's a number, not a Timer.

this.pingIntervalTime.refresh()
was added here it seems:
37474c7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions