Skip to content

new Websocket() - "an invalid or illegal string was specified" #80

@professorDante

Description

@professorDante

Getting this error when trying to view a chat room created from the chat app example. It's happening on line 395 of socket.io.js:

this.socket = new WebSocket(this._prepareUrl());

the url returned is a string which looks like:"ws://127.0.0.1:9/socket.io/websocket"

Running Django 1.4.18, django-socketio 0.3.9.
Is the port number wrong here? Shouldn't it be 9000?

Starting the socketIOserver through the command: sudo python manage.py runserver_socketio

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