MathNodes / meile-gui

Meile dVPN GUI for Linux, OS X, and Windows - Powered by the Sentinel Network
https://meile.app
GNU General Public License v3.0
34 stars 6 forks source link

[BUG]: Error on connect in console, still shows "Connected" in Windows #38

Closed MathNodes closed 1 year ago

MathNodes commented 1 year ago

Getting sessions errors in the initial session request to the node and windows still reports connected when it should be showing the error status:

Error: invalid status STATUS_INACTIVE_PENDING for session 600731

Error: invalid status for session 600730; expected STATUS_ACTIVE, got STATUS_INACTIVE_PENDING

Parse for these errors and report correctly. There may be a way to mitigate these ACTIVE/INACTIVE session errors if we close the session correctly on disconnect. To investigate...

MathNodes commented 1 year ago

https://github.com/MathNodes/meile-gui/commit/877f9522b846bd7eeaca7da25ee802de2fd05ecf

MathNodes commented 1 year ago

e59a5238eb95626d057c9c3c51beb24716b4c84a