ultrahorizon / UH-VPN-Docs

Documentation, bug tracker and feature request system for UH VPN
https://docs.uh-vpn.com
8 stars 1 forks source link

Profile requires update #48

Closed x0r2d2 closed 4 years ago

x0r2d2 commented 4 years ago

Hello team!

I have just added profile to UH VPN Android application with OTP password. Profile imported successfully but when I press connect button, it tells me "Profile requires update". Is there anyway to check application log? IMG_20200928_220344.jpg

AnthonyWharton commented 4 years ago

Hi @hybtoy,

Sorry that's a very rare message! Something has gone wrong between the app recieving the VPN profile and passing it to the VPN service that runs in a different part of the OS.

In terms of resolving this, if you force close the app by swiping it away in your recent apps screen, clear the notification and then restart the app, does the connect button then work?

If not, try go to your phone's system settings and find the relevant VPN settings menu [1] and then try forget UH VPN and then perform the same force close and restart procedure.


If you could answer a few questions for me that would be great to try ensure that this doesn't happen again or for anyone else.

  1. Can I double check that you are on the latest version of the app (2.0.3)
  2. Did this occur for you straight after syncing a new profile to the device, or has this happened to an existing profile (perhaps between an update)?

Thanks!


[1] The VPN settings will appear in different locations on different skins of Android, but is usually under Network Settings/may be an advanced setting - using your system settings' search functionality and searching for "VPN" should be a safe bet if you are unsure.

AnthonyWharton commented 4 years ago

I should have added, simply switching between profiles should also resolve this - however if you've only got one profile this might not be possible and you'll need to try the steps above.

(In the case of only having one profile you could remove the profile and quickly press undo to reapply it, but I would not recommend this as if you get interrupted or your phone freezes you might loose your profile!)

x0r2d2 commented 4 years ago

Hi @AnthonyWharton,

I have updated app to version 2.0.3 but it didn't help, same notification.

I have tried all steps above but it didn't help me, still same notification.

I should have added, simply switching between profiles should also resolve this

Yes, this helped me but if I will have to do this to all android devices, I will have huge bill from UH-VPN :D

(In the case of only having one profile you could remove the profile and quickly press undo to reapply it, but I would not recommend this as if you get interrupted or your phone freezes you might loose your profile!)

this didn't help.

AnthonyWharton commented 4 years ago

Thanks for the update @hybtoy. Glad it is resolved. Please can I ask you to try a few things for me to see if we can narrow this down, as this error shouldn't happen at all and it would be good to know what caused it.

First off, is this reproducible; If you get a chance and remove the profile on the device (resetting it to the original state before you had the issue) and also remove it from the management page - then recreate it. Do you get the same message when attempting to add the profile again?

If you do, I also had a realisation that simply changing server should resolve this issue - if you don't have more than one server you can also try push a make a small change to the server, such as the name of it, and then reopen the app. Any changes to the server, or switching between them, should reapply to profile to the VPN Service.

Finally, if you could list your make and model of Android Device, along with Android Version that would be very helpful. Thanks!

x0r2d2 commented 4 years ago

First off, is this reproducible; If you get a chance and remove the profile on the device (resetting it to the original state before you had the issue) and also remove it from the management page - then recreate it. Do you get the same message when attempting to add the profile again?

Yes. Steps:

  1. Revoke existing profile
  2. Add new one (same person)
  3. Add profile with OTP to device.
  4. Trying to connect but it tells me that "Profile requires update".
  5. I have removed UH VPN service but it didn't help.

If you do, I also had a realisation that simply changing server should resolve this issue - if you don't have more than one server you can also try push a make a small change to the server, such as the name of it, and then reopen the app. Any changes to the server, or switching between them, should reapply to profile to the VPN Service.

Yes, this helped me.

My device:

Redmi Note 8 Pro - Android 10. https://www.gsmarena.com/xiaomi_redmi_note_8_pro-9812.php

Screenshot_2020-09-29-11-00-13-027_com.android.settings.jpg

AnthonyWharton commented 4 years ago

Brilliant, I'll cross reference those steps with the code and see if I can get it to reproduce on my side - sorry about that, I haven't seen this message since early development when I still hadn't finished implementing the app properly!

Could I also ask, did you have any valid (selected on the main screen) or invalid (e.g. revoked or expired) profiles on your device before you synced the new one?

x0r2d2 commented 4 years ago

Could I also ask, did you have any valid (selected on the main screen) or invalid (e.g. revoked or expired) profiles on your device before you synced the new one?

No, I revoked the old profile first, deleted it and add new one. I can try to reproduce it again but every new device costs me 1 pound chief :)

x0r2d2 commented 4 years ago

I have recorded a video of steps to reproduce the bug. This time I didn't delete revoked profile. The bug reproduced again, I had to change the server name to be able to connect to server. I have sent link with video to engineering@ and mentioned you there.

AnthonyWharton commented 4 years ago

If you revoke a device and then add a new one you won't be charged any more, e.g.

You're billed for the maximum usage that month - Sorry I should have made that crystal clear at the start!

I'll take a look at the video and get back to you, thanks so much for your cooperation :)

jwsi commented 4 years ago

@hybtoy, if you delete all of your "test" devices from the web interface, I'll ensure that they're removed from your invoice this month. Can you please let me know when you've done this so that i know how much to discount 👍

AnthonyWharton commented 4 years ago

I can confirm that I can reproduce this bug now and will hopefully have a fix done by the end of today (plus Google Play review times).

AnthonyWharton commented 4 years ago

This has been fixed in the new 2.0.4 release, available now on the Play Store!