ERROR:tornado.general:WebSocket … Swampdragon : DoesNotExist: matching query does not exist

I followed the first tutorial at :

I work with Docker. I had to open ports 9999 and 6379 and run like this :

  • Docker Client server different. And there is no boot2docker
  • Communicating between Docker containers in different networks on the same host
  • Trying to install rbenv in dockerfile not working
  • Building common dependencies with docker-compose
  • This site can't be reached docs/
  • Docker mount directories to container rules
  • sudo docker run --rm -ti -p 8000:8000 -p 6379:6379 -p 9999:9999 --name swarmdragon --net host -v /DJANGO_PATH/:/swarmdragon swarmdragon-install bash

    (can’t acces to localhost:9999 from host without “-net host” option. Don’t know why :/ )

    When the docker container start, I have to start these process :

    service redis-server start
    ./ runsd
    ./ runserver

    And everything seems to work in the host machine but :

    • I have to refresh when i add the first “TodoList object” to see it, but all the new “TodoItem object” appear well when i add, without refresh (that’s the point ^^)

    • I don’t see another “TodoList object” if I add it in the admin panel. Even if I refresh.

    • I get a strange error in the console from “./ runsd” when I delete all the “TodoList object” and refresh the page. Same when i add a new “TodoList object” when I create a new one after the delete :


    -------- SwampDragon ------
    Running SwampDragon on
    DRAGON_URL: http://localhost:9999/
    Debug: True
    Quit the server with ctrl+c
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/sockjs/tornado/transports/", line 60, in on_message
      File "/usr/local/lib/python2.7/dist-packages/sockjs/tornado/", line 418, in on_messages
      File "/usr/local/lib/python2.7/dist-packages/swampdragon/connections/", line 90, in on_message
        raise e
    DoesNotExist: TodoList matching query does not exist.

    Django version : 1.8.6

    Python : 2.7

    Swampdragon just installed with pip

    Did you know where this comes and how to correct ?

    Many Thanks.

  • Access host webcam using cvlc in Docker
  • Ensure node is running at least a certain kernel version?
  • Tensorflow docker export weights
  • Can ALL untagged images be safely removed?
  • Docker-compose container ports not working
  • How does Docker use ports 2375 and 4243?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.