Posted by johnwulp

What steps will reproduce the problem?

  1. Install webiopi with instructions from readme
  2. Browse to https://<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.

Files attached


Comment 1

Posted by trouch

browser ?


Comment 2

Posted by johnwulp

This screenshot is from chrome, IE9 doesn't work either


Comment 3

Posted by trouch

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...


Comment 4

Posted by johnwulp

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 https://192.168.2.18:8000/webiopi/"

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

Files attached


Comment 5

Posted by trouch

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.


Comment 6

Posted by johnwulp

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

Files attached


Comment 7

Posted by trouch

I will install the extension and see if there is something to do. Thanks for feedback.


Comment 8

Posted by trouch

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.

Files attached


Comment 9

Posted by ciprian.dragoste

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?

Files attached