Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology Connect error java.lang.RuntimeException #9

Open
cplensdorf opened this issue Mar 3, 2019 · 8 comments
Open

Synology Connect error java.lang.RuntimeException #9

cplensdorf opened this issue Mar 3, 2019 · 8 comments

Comments

@cplensdorf
Copy link

Hoping anyone can assist...I have been able to install the Synology Connect App but am unable to connect to my Synology server. See the following error in the log:

‎4‎:‎28‎:‎54‎ ‎PM: error java.lang.RuntimeException: bad character in base64 value @line 831 (locationHandler)

Not sure where to go. Not a programmer.

Thx.

@zzarbi
Copy link

zzarbi commented Mar 7, 2019

@cplensdorf I notice the same issue. If I found a solution I will post it here.

@zzarbi
Copy link

zzarbi commented Mar 7, 2019

I may have found the issue. It looks like Smartthings added a limit of how much data you can pass to an event. Request that goes through the hub happened to be handle as HubEvents in locationHandler(). The data returned is truncated: https://community.smartthings.com/t/event-data-limits/154109

I'm not sure that we can get an easy fix.

@zzarbi
Copy link

zzarbi commented Mar 7, 2019

After some more research it seems that the data is truncated for some other reason. I will need to look into Synology API to see if we can reduce the number of data it returns

@cplensdorf
Copy link
Author

Thx zzarbi.. anything you can do would be appreciated!

@zzarbi
Copy link

zzarbi commented Mar 10, 2019

@cplensdorf I found a solution by using a newer version of the Synology API in #10. It's only one line it works for me. However I suspect you might need to have the latest version of Surveillance Station.

@baltazarmitch
Copy link

@cplensdorf I found a solution by using a newer version of the Synology API in #10. It's only one line it works for me. However I suspect you might need to have the latest version of Surveillance Station.

How do I use the newer API? I updated my surveillance station but still can't find cameras. Sorry for my ignorance, I no nothing about code.

@zzarbi
Copy link

zzarbi commented Aug 26, 2019

@baltazarmitch you can look at this open PR: #10
and then you'll need to update the code in Smartthings

@cscashby
Copy link

cscashby commented Jul 21, 2020

I still get this error (after more device details are returned than before) with the PR #10 fix :(

java.lang.RuntimeException: bad character in base64 value @line 416 (locationHandler)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants