We have moved at community.getvera.com

Author Topic: remote url for camera image returns 'garbage', local url returns image  (Read 782 times)

Offline mda

  • Sr. Member
  • ****
  • Posts: 464
  • Karma: +9/-0
Hi, if i call (while on LAN or remote):

Code: [Select]
https://fwd[x].mios.com/[my_user_name]/[my_password]/[my_vera_serial]/data_request?id=cam_image&Device_Num=[my_camera_device_id]
vera returns what looks like 'garbage' but i assume is a binary file(?) starting off like this (using https or http, using safari or chrome browser):

Code: [Select]
????(h @?j<?S???C  ,6') ,@9DC?9>=GPfWGKaM=>YyZaimrsrEU}?|o?fprn??C44nI>Innnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn????!?? ??}!1AQa"q2???#B??R??$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????? ??w!1AQaq"2?B???? #3R?br? $4?%?&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz?????????????????????????????????????????????????????????????????????????? ????? ???6?q??|??R???H*s??<1Kn?6??P??,??b??P1??=?$?h???N???-???Up8??\f??4??(??????1???<???~?M??3K#fDh6??n?h,????fZ8u?q?{??*K?9??!?Y?GG?c*??_??n???Z??U?O*>??w=?s??g?j??"3????y?K??d????jl?XE?o?.-??dR?t??q?0g??=i?V????qy? m"?J?!K????? ?Q@Q@Q@Q@Q@Q@G??HN?T !????'(#?qU?,.A8<????&8?#??#O??h(@?A?XH2s??9Q???2[???n|?&3D??R??B???'??s????
But, if i call (when my Mac is on the same LAN as my vera):

Code: [Select]
http://[my_vera_ip]:3480/data_request?id=cam_image&Device_Num=[my_camera_device_id]
vera returns an image from my camera (expected behavior).

i have confirmed my remote access syntax works because i can use it to call scenes etc with the appropriate parameters (so my fwd server, user name, password, vera id are correct) and i know i have the right device id because it works with the local url.

i can not figure out the problem... would appreciate any suggestions. thanks!