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

Installation Experience - Sync Errors #13

Closed
gviliunas opened this issue Dec 2, 2020 · 23 comments
Closed

Installation Experience - Sync Errors #13

gviliunas opened this issue Dec 2, 2020 · 23 comments

Comments

@gviliunas
Copy link

I'm using a Google Pixel 3a phone with Android 11
ISY Version 5.3.1
UD Mobile version: 0.30

  1. Downloaded UD Mobile from the Google store.

  2. Entered ISY Portal credentials - Save

  3. See Remote Connection Settings - Save

  4. Sync ISY with UD Mobile - Yes

    Observe lots of transfer activity
    1st try, the sync stalls with java.net.SocketTimeoutException: timeout (no Screenshot)
    2nd try, try again. This time stalls at Inserting: Network Resources (See Screenshot attached)

  5. 3rd try: Notice that on the Remote Connection Settings page there is an "Advanced Settings" area.

  6. In Advanced Settings, entered IP and credentials for Local Port Settings

  7. Clicked to Add New Local Network - Populated with current WIFI info (Thanks for that button!) - Save

  8. Select to Add New Local Network and click on the WIFI SSID previously added - Save

  9. Sync - Notice this is much faster than the previous sync via the ISY Portal.

  10. Received "Finished with Error" message (See Screenshot attached)

  11. 4th try: Back into Settings, try sync again. This time the sync finished with no errors.

Although I had not had a need for mobile ISY access, I like the look and feel of this app. I can see myself making use of this to check light and thermostat status when I'm away

Try 3 - Using Local Port Connection.jpg

Try 2 - Using ISY Portal Connection.jpg
Try 2 - Using ISY Portal Connection
Try 3 - Using Local Port Connection

@JavierRefuerzo
Copy link
Contributor

Hi @gviliunas ,
Can you verify the app version number (settings>about), we had errors similar to this which have been fixed. If you have automatic updates turned on for Google Play, we will need to verify the error persists in v0.30. To do this without changing your current settings you can setup a new system and disable at the bottom of advanced. Disable will allow sync but will not open a session for the ISY subscription when exiting system settings.

Based on your errors I think I may have to increase the read timeout if they are persistent.
Thanks for the report!

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@JavierRefuerzo
Copy link
Contributor

Hi @gviliunas and @mkohanim ,

I suspect it is a different problem related to requesting the z-wave files. This error is similar to the errors received when the app was asking for z-wave files from ISYs which did not have them.

@mkohanim is there an instance of a non-zwave ISY running which I can run a test against? The error should not have happened with a non-zwave ISY, but I assumed it was not an issue if I just did not make the call when the feature was not installed.

@gviliunas ,
Thank you for you time and testing. Please let me try to run a test against the z-wave call to see where this error originates, then we can continue.

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@JavierRefuerzo
Copy link
Contributor

JavierRefuerzo commented Dec 4, 2020

@gviliunas ,

If you are willing to assist us in finding the issue, I have a couple of options. If these options do not work for you, we will continue to investigate the issue when it can be reproduced.

For either option please send correspondence to my email javier@universal-devices.com

Option 1:

Add me as a user in your portal account, I will need a window of about an hour to run a sync with your ISY to find the issue, this can be any time convenient for you. After this time, you can delete me as a user.

Option 2:

Execute a series of network requests from a browser and return the information to us.

Get the URL to ISY from the app “Remote URL” then append the following and return.

#Gets the Zwave file names
/rest/profiles/family/4/profile/1/files

#Gets Node Definitions
/rest/zwave/node/0/def/get

#Gets Editor Definitions
/rest/profiles/family/4/profile/1/download/EDITOR/EDITORS.XML

#Gets Name/Language Definitions
/rest/profiles/family/4/profile/1/download/NLS/EN_US.TXT

The file names request will be small, all others should be a large amount of data.

Thank you!

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@JavierRefuerzo
Copy link
Contributor

Thanks @gviliunas ,

I think you and I replied at the same time, please see my comments above.

That time It is far below the 15/60 second defaults. I do believe we may be able to find the issue in the files requested above.

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@mkohanim
Copy link

mkohanim commented Dec 4, 2020 via email

@gviliunas
Copy link
Author

gviliunas commented Dec 4, 2020 via email

@Javi
Copy link

Javi commented Dec 4, 2020

I don't think I'm the one you wanted to @ lol

@JavierRefuerzo
Copy link
Contributor

@gviliunas, Thank you. Looking into it now.
@mkohanim Password is changed

@JavierRefuerzo
Copy link
Contributor

@gviliunas ,

I am done, please remove me from your account.
Will push version 0.32 soon which should fix the issue soon.

@mkohanim, will send report to you via email.

@gviliunas
Copy link
Author

gviliunas commented Dec 5, 2020 via email

@JavierRefuerzo
Copy link
Contributor

Hi @gviliunas ,
Thank you for your assistance.
Also the TimeDate Poly has an issue so status will show raw values until fixed by the node server dev.
Reported here: https://forum.universal-devices.com/topic/28797-new-isy-time-data-poly/?do=findComment&comment=302904

Best,
Javier

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