luking-dev / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Cookie OK Chrome Extension bug #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install webiopi with instructions from readme
2. Browse to http://<IP>/webiopi/
3. Login, nothing happens

What is the expected output? What do you see instead?
In js console Uncaught Error: NOT_FOUND_ERR: DOM Exception 8 line 81 
(head.insertBefore(style, scripts[0]);)

What version of the product are you using? On what operating system?
0.5.3 on raspberry wheezy

Please provide any additional information below.

Original issue reported on code.google.com by johnw...@gmail.com on 18 Feb 2013 at 7:53

Attachments:

GoogleCodeExporter commented 9 years ago
browser ?

Original comment by tro...@trouch.com on 18 Feb 2013 at 8:41

GoogleCodeExporter commented 9 years ago
This screenshot is from chrome, IE9 doesn't work either

Original comment by johnw...@gmail.com on 18 Feb 2013 at 8:44

GoogleCodeExporter commented 9 years ago
very weird... no error output on the server side ?
can you show source of the page and copy paste here ?
maybe an error when loading one resource...

Original comment by tro...@trouch.com on 18 Feb 2013 at 6:59

GoogleCodeExporter commented 9 years ago
I attached the page source, i am nut sure how to see error messages from 
python, i started webiopi with "sudo python -m webiopi 8000" 

When i login, and viewed the page source, i dont see any error message in my 
ssh session. only:

"WebIOPi/Python2/0.5.3 Access protected using /etc/webiopi/passwd" 
"WebIOPi/Python2/0.5.3 HTTP Server started at http://192.168.2.18:8000/webiopi/"

Is there any other location where i can see log files or error messages?

Original comment by johnw...@gmail.com on 19 Feb 2013 at 11:47

Attachments:

GoogleCodeExporter commented 9 years ago
Can you add a port forwarding on your router to 192.168.2.18:8000 ?
I would like to remotly check your webiopi with my browser because there is 
nothing to explain that error...
you can send me an email with your public IP and forwarded port for webiopi.

Original comment by tro...@trouch.com on 19 Feb 2013 at 1:31

GoogleCodeExporter commented 9 years ago
After a brief session the conclusion is that you should not use a cookies OK 
extension. Works like a charm now!

Original comment by johnw...@gmail.com on 19 Feb 2013 at 1:44

Attachments:

GoogleCodeExporter commented 9 years ago
I will install the extension and see if there is something to do.
Thanks for feedback.

Original comment by tro...@trouch.com on 19 Feb 2013 at 1:51

GoogleCodeExporter commented 9 years ago
Ok, bug reproduced.
This is due to some scripts added dynamically to the HTML page by CookiesOK 
extension.
Good news, this is already fixed in r926 as I changed how I dynamically load 
scripts few days ago.

Original comment by tro...@trouch.com on 19 Feb 2013 at 2:29

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,
I have the exact same behavior and strange enough, I'm NOT using CookiesOK 
extension. However it only happens in Chrome. The console output as seen in the 
attached screenshot.
Any thoughts?

Original comment by ciprian....@gmail.com on 9 Mar 2013 at 8:48

Attachments: