Closed pkkid closed 8 years ago
well, error 404 normally means that the endpoint wasn't found. This is certainly a configuration error.
When fixed, please close this issue.
Looking at the docs with rest and fresh eyes, it was easy to spot the error. I was missing all the required settings under the Note: Specify only the values, which deviate from the default
thinking they were not required.
After playing with this app, I've been having quite a bit of trouble just getting a simple connection going. I believe I followed all the instructions, but something still isn't right. Everything posted below is being run through the
django-admin runserver
command.1.) The error I'm getting is in the browser is:
2.) And I see this in the runserver output:
3.) The javascript code I'm trying to use to connect is the following:
4.) I have no Python (server-side) code handing the websockets yet, but I was running the short snippet in the docs to broadcast a message thinking I may have to start a new facility from there or something.
Finally, I have some questions that the documentation didn't quite make clear to me:
ws://domain/<new-facility>?...
. If the latter, does this open the door to a DOS attack on the Redis server by some rouge user making millions of facilities?