Author Topic: Download Error With {Picture(ID)}  (Read 6176 times)

Offline Bananas

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Download Error With {Picture(ID)}
« Reply #15 on: September 29, 2013, 06:56:57 pm »
Any solution yet? ???

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9497
  • Karma: +721/-133
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #16 on: September 29, 2013, 08:33:08 pm »
This works for some and not for others ... I have not found the smoking gun yet ...

Still looking for help:
See:  http://forum.micasaverde.com/index.php/topic,15317.msg127848.html#msg127848


Offline dmckenna

  • Full Member
  • ***
  • Posts: 189
  • Karma: +7/-2
Re: Download Error With {Picture(ID)}
« Reply #17 on: May 18, 2016, 06:49:41 am »
Richard,

I've been having a play with this (and read the other stuff on another thread), here's what I can diagnose:

  • VeraAlert picture/video integration is working fine from UI7 (latest build/addin) on Android 4.2.2 Galaxy Tab 10
    On the same system/network, VeraAlert is not sending any picture/video running Android 6.0.1 Galaxy S6 (not able to check on 5.x.x)
    On 6.0.1 the VeraAlert directory is NOT created upon install (but on the 4.2.2 system it IS created under the SD/Pictures folder)
    On 6.0.1 the 'Vera Alert' debug directory is also NOT created upon install, or when turning on DEBUG
    No DEBUG logs can therefore be sent because nothing gets created
    The picture/video files are created correctly on the Vera server under the /tmp/log/cmh folder ready to be picked up
    Credentials on the 6.0.1 client are the same as the 4.2.2 client, both verified
    A long push on the file icon on the 6.0.1 client reports the same filename as that stored on the /tmp/log/cmd folder
    I suspect this is a local access permissions thing going on with 6.x of Android
    I've tried manually creating the directories but still get the 'Problems contacting Vera' message, also done the uninstall/re-install dance and still no local directory under 6.0.1
    My conclusion is therefore that 6.x clients CAN actually contact Vera and fetch the correct file, but this error is coming because the local 6.x client won't allow the file to be stored locally for viewing

Happy to test further if you can patch a field test file for me (for the debug at least).

Cheers

D

Offline tedp

  • Full Member
  • ***
  • Posts: 248
  • Karma: +4/-2
Re: Download Error With {Picture(ID)}
« Reply #18 on: June 18, 2016, 12:05:36 am »
Old thread, but SD card permissions on Android is definitely the issue. I'm not sure if the app can be updated by Richard to "ask for SD card permissions" on install. Regardless, see the three screengrabs on how to solve the problem by setting SD card permissions for VeraAlerts on an Android phone.

Offline asuz

  • Sr. Newbie
  • *
  • Posts: 47
  • Karma: +0/-0
Re: Download Error With {Picture(ID)}
« Reply #19 on: July 04, 2016, 08:51:37 am »
Old thread, but SD card permissions on Android is definitely the issue. I'm not sure if the app can be updated by Richard to "ask for SD card permissions" on install. Regardless, see the three screengrabs on how to solve the problem by setting SD card permissions for VeraAlerts on an Android phone.

Thanks for the guidance to solve the issue of "Problems contacting Vera"

Offline daunjo

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Download Error With {Picture(ID)}
« Reply #20 on: July 15, 2016, 03:41:08 pm »
I still get "problems contacting Vera", after giving the app permissions to storage.

Offline tedp

  • Full Member
  • ***
  • Posts: 248
  • Karma: +4/-2
Re: Download Error With {Picture(ID)}
« Reply #21 on: September 26, 2016, 01:10:32 pm »
Hate to bring this thread up again, but after upgrading my Nexus5x to Nougat, the "download error" problem is back even with SD card storage enabled for VeraAlerts.

Thanls
-Ted

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5528
  • Karma: +149/-348
Re: Download Error With {Picture(ID)}
« Reply #22 on: September 26, 2016, 03:49:40 pm »
I was having this problem for a long time and never got it figured out.

http://forum.micasaverde.com/index.php/topic,15317.msg241921.html#msg241921

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9497
  • Karma: +721/-133
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #23 on: September 26, 2016, 06:54:06 pm »
Turn logging for the app on your phone (from settings).

Restart the APP and try ... review the log file.

Offline tedp

  • Full Member
  • ***
  • Posts: 248
  • Karma: +4/-2
Re: Download Error With {Picture(ID)}
« Reply #24 on: September 26, 2016, 07:09:05 pm »
Turn logging for the app on your phone (from settings).

Restart the APP and try ... review the log file.

This looks relevant (i redacted my username and serial number)
Code: [Select]
Sep 23, 2016 12:00:08 PM D:MyGcmListenerService:From: 481329832620
Sep 23, 2016 12:00:08 PM D:MyGcmListenerService:Message: null
Sep 23, 2016 12:00:08 PM I:VeraAlerts.HandleNotification:Received message
Sep 23, 2016 12:00:08 PM I:VeraAlerts.PhotoService:onStartCommand
Sep 23, 2016 12:00:08 PM I:VeraAlerts.PhotoService:Image:/storage/emulated/0/Pictures/VeraAlerts/va.69.serial.2016-09-23-12-00-06.jpg
Sep 23, 2016 12:00:08 PM I:VeraConnect.Notify:Notification:Ava:Front Door Opened
Sep 23, 2016 12:00:08 PM I:VeraAlerts.TaskerService:Notification No Service: Ava:Front Door Opened
Sep 23, 2016 12:00:08 PM I:VeraConnect.NetworkListener:GetWIFIIPAddress:0
Sep 23, 2016 12:00:08 PM I:VeraConnect.VeraGateway:URLConnection:https://fwd2.mios.com/username/PASSWORD/serial/data_request?id=lr_VeraAlertsContext&Spec=va.69.30012263.2016-09-23-12-00-06.jpg
Sep 23, 2016 12:00:08 PM I:VeraAlerts.PhotoService:Download Error:
Sep 23, 2016 12:00:08 PM I:VeraAlerts.HandleNotification:Received message
Sep 23, 2016 12:00:08 PM I:VeraConnect.Notify:Notification:Download Error:
Sep 23, 2016 12:00:08 PM I:VeraAlerts.TaskerService:Notification No Service: Download Error:
« Last Edit: September 26, 2016, 07:11:45 pm by tedp »

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9497
  • Karma: +721/-133
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #25 on: September 26, 2016, 07:51:25 pm »
Are you still on UI5 ?

Offline tedp

  • Full Member
  • ***
  • Posts: 248
  • Karma: +4/-2
Re: Download Error With {Picture(ID)}
« Reply #26 on: September 26, 2016, 07:52:59 pm »
Are you still on UI5 ?

Yes -- I did freeze the updates for VeraAlerts per your instructions. I must be in the minority now :)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9497
  • Karma: +721/-133
    • RTS Services Plugins
Re: Download Error With {Picture(ID)}
« Reply #27 on: September 26, 2016, 08:41:57 pm »
This indicates one of two problems
   a) Connection problem, bad account credentials or the remote servers are acting up
   b) Problem writing data ... so there is still a permission problem.

Offline tedp

  • Full Member
  • ***
  • Posts: 248
  • Karma: +4/-2
Re: Download Error With {Picture(ID)}
« Reply #28 on: September 27, 2016, 11:46:14 am »
This indicates one of two problems
   a) Connection problem, bad account credentials or the remote servers are acting up
   b) Problem writing data ... so there is still a permission problem.

Thanks -- Although I had the authentication credentials already entered, I re-entered them into Vera Alerts and "Listed Vera IDs". After that things started working again. Perhaps they somehow got corrupted during the Nougat update?!?

Appreciate the feedback.

Offline mtx123

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +2/-0
Re: Download Error With {Picture(ID)}
« Reply #29 on: October 17, 2016, 12:54:53 pm »
Same here..
Strange thing is that it has worked before, be it with an occasional error.
Yesterday I chnaged my router for a new one, everything seems to be up and running again,
I receive the Notifications of Veralerst on my Android phone, but when I click on the picture icon, it gives everytime "Problems contacting Vera" notification,
and sometimes a "Download Error: no handler"notification.

Edit:
I found that one of the LAN devices connected to the router (my smart TV...) caused network traffic problems,
even internet connection for the whole LAN to go down frequently. Don't know the rootcause yet, but after disconnecting the TV LAN cable to the router, everything is working nicely, including the Veralerts.
For now it looks to be solved (in my case).
« Last Edit: October 19, 2016, 03:34:36 pm by mtx123 »