![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Mojolicious Websocket exampleby rkrasowski (Sexton) |
on Jun 18, 2015 at 02:12 UTC ( #1130920=perlquestion: print w/replies, xml ) | Need Help?? |
rkrasowski has asked for the wisdom of the Perl Monks concerning the following question: Hi everybody, I started looking into websocket as a way to push data from server to browser. I found example for Mojolicious written by Joel Berger. I am trying to make it to work, but no luck so far. here is the code: websocket.pl
While starting the script with morbo websocket.pl commands everything seems to be fine, but when I connect from the browser to the server I am getting following messages: debug Your secret passphrase needs to be changeddebug GET "/" debug Rendering template "index.html.ep" from DATA section debug Template "layouts/basic.html.ep" not found debug 200 OK (0.043215s, 23.140/s) debug GET "/jquery-1.9.1.min.js" debug Template "not_found.development.html.ep" not found debug Template "not_found.html.ep" not found debug Rendering inline template "fd403ab55a4c875e35b42428816134c7" debug Rendering inline template "dd85456cf9f44e1e43bebae130a7f9df" debug 404 Not Found (0.201262s, 4.969/s) debug GET "/jquery.flot.js" debug Template "not_found.development.html.ep" not found debug Template "not_found.html.ep" not found debug Rendering cached inline template "fd403ab55a4c875e35b42428816134c7" debug Rendering cached inline template "dd85456cf9f44e1e43bebae130a7f9df" debug 404 Not Found (0.051227s, 19.521/s) Any idea what's wrong? Thanks like always Robert
Back to
Seekers of Perl Wisdom
|
|