Wiser & IP Camera URL Length

Discussion in 'C-Bus Wiser 1 Controller' started by Roti, Nov 14, 2009.

  1. Roti

    Roti

    Joined:
    Jun 5, 2006
    Messages:
    33
    Likes Received:
    0
    Hi.

    The Wizer does not allow login/passwords for IP cameras. Some cameras don't allow anonymous login, but will allow login/password info to be passed in the URL.

    Unfortunately, entering the appropriate URL string in the config fails with an error message that it is too long. In this case the URL is only about 50 characters long and can't be made any shorter (ie using a single letter login & password).

    Any chance of updating the firmware & PICED to handle a longer URL ?

    Thanks
     
    Roti, Nov 14, 2009
    #1
  2. Roti

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    We will see if we can fix this in the next release. It isn't due for a while though...
     
    Darren, Nov 15, 2009
    #2
  3. Roti

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Could you use a URL shortening service like http://www.tinyurl.com

    Or a redirection URL on your own server?
     
    Last edited by a moderator: Nov 16, 2009
    Duncan, Nov 16, 2009
    #3
  4. Roti

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    One note on this issue. Sometimes, a camera's documentation will state that it supports username/password to be passed in the URL in the form of http(s)://username:\password\@server/resource.ext . In that case, that URL will not work for Wiser (not Wizer :)) even if the 50 character limit were expanded. This is because that authentication mechanism is not a new function of the camera. Rather, that is a function of a browser that is able to interpret that URL and then generate the appropriate HTTP authentication token. Unfortunately (or fortunately depending on context), Adobe Flash prevents this mechanism from being used and other browsers have deprecated this. http://support.microsoft.com/default.aspx?scid=kb;[LN];834489
     
    kjayakumar, Nov 16, 2009
    #4
  5. Roti

    Roti

    Joined:
    Jun 5, 2006
    Messages:
    33
    Likes Received:
    0
    Hi. Thanks for the replies.

    I'm not actually using the old web browser http:username:password@server URL.

    Most cameras I can pass a base64 encoded username & password authentication in the URL - but it ends up being a rather long string. Works fine by telnet or in a script for Philips Pronto.

    I'm also using some Acti cameras which (after a recent firmware update) support requesting a snapshot by the URL structure -
    "http://ip:port/cgi-bin/encoder?USER=XXX&PWD=YYY&SNAPSHOT"
    Again, this works fine in script or in a Pronto script, but even this URL string is too long for the Wizer.

    The internal URL redirection is a good idea, as there's a few web servers running internally already. I'll try it this weekend.
     
    Roti, Nov 16, 2009
    #5
  6. Roti

    KevinH

    Joined:
    Aug 3, 2004
    Messages:
    171
    Likes Received:
    0
    Location:
    Yorkshire. UK
    I'm not trying to include usernames/passwords but even the default URL to get my camera access in the right format is 'too long' so an increase would be much appreciated.
     
    KevinH, Feb 25, 2010
    #6
  7. Roti

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    This is in our system as #18126

    Hopefully we can get this fixed in the next release.
     
    Darren, Feb 26, 2010
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.