This page last changed on May 16, 2013 by dclaeys.

Dears,

I currently bought an IP Camera - HTTP/MJPEG
I added a Web Widget in a screen and copied the link to it and everything.
Everything is working fine.
But after going 10 times to the screen, it mentions "Failed: exceed max clients.
So apparently everytime I am enter the screen, I execute the Web Widget, thus logging on to my camera.
But then while leaving the screen I don't log-off from my camera.

Somebody can help me to work around this issue.
Logging off when leave the page.
Or being logged on all the time when the controller is running, but not logging on more then once.

Thanks,
Regards,
Dieter

Which console are you using? This would be an issue of the console since the web request is started from there.

Posted by mredeker at May 17, 2013 08:44

I have an iPad runnng IOS version 6

Posted by dclaeys at May 18, 2013 12:17

I have an iPad runnng IOS version 6

Posted by dclaeys at May 18, 2013 12:17

The web widget is currently "stateless" in the sense that each time it is displayed on a page, it'll go to the designated URL, passing the username/password in the HTTP headers if they are provided.

At this stage, there is no way to "script" the UI, so for instance, no way to go to a "logout" URL when navigating away from the page in OR.

A few things you could try:

  • Have 2 pages in OR, one where you provide username/password to the web widget and one where you don't. Try having the first acting like a login mechanism, then check if the second displays the camera image. If it does, then you could use that second page as your regular way to check your video feed and just keep the first one accessible somewhere in your design so you could login when required.
  • Is there a session timeout / time to live parameter settings in your camera ? You could maybe set it to a lower value.
Posted by ebariaux at May 21, 2013 12:35
Document generated by Confluence on Jun 05, 2016 09:41