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

Connection Shutting down after valid period #229

Open
MajorOli opened this issue Jan 3, 2024 · 3 comments
Open

Connection Shutting down after valid period #229

MajorOli opened this issue Jan 3, 2024 · 3 comments
Assignees

Comments

@MajorOli
Copy link

MajorOli commented Jan 3, 2024

So i wondering why my connection is lost and the eduVPN Windows Client is switched to offline during my work.

Then i found the reason in the logs:
02.01.2024 13.20:15.111264 -> Start first connection with fresh authentication and start the validity period
03.01.2024 13:20.30.290990[TUN][VPN Adress] Sending keepalive packet to peer 1 (IP:Port)
03.01.2024 13.22:15.111264 [TUN][VPN Adress] Shutting down

My Use Case:
First Login (with start the valid period) 02.01.2024 13.20:15
Work on next Day longer than 13:00 PM without refreshed Authentication so the Tunnel Connection was hard closed without any Warnings.

If it possible to add a re-connect or refresh validity Button to reset the Timer?

@MajorOli
Copy link
Author

MajorOli commented Jan 3, 2024

Oh... after a few houres the Refresh Button is visible... i never seen this before :-)
Then, maybe, for User Experience dont hide this Refresh Button or trigger a present Modal Warning Message at the last 5 minutes of valid period.

@rozmansi rozmansi self-assigned this Jan 3, 2024
@rozmansi
Copy link
Member

rozmansi commented Jan 3, 2024

Thank you for reporting your experience. We'll take a look how we could improve it.

Similar issue was already discussed here: #184
But we didn't reach any significant change then. 🤔

About the modal dialog you proposed: believe me, I was searching for a way to display that popup that shades the entire desktop and spans a blue ribbon across the middle of the screen forcing user to read it and push a button to make an action Microsoft Update shows sometimes. But failed to find Windows API for it.
I imagined something like this 5 minutes before session expiration with "Your eduVPN session is about to expire. [Renew] [Dismiss]":
Updates-for-Windows-10

@MajorOli
Copy link
Author

MajorOli commented Jan 3, 2024

Hm.. okay i understood.
I'm not familiar with GO but with GO you have access to Windows API "MessageBoxW" in user32.dll that trigger a simple MessageBox in Foreground etc. But its not this Blue ribbon its a simple Windows.Forms Message Dialog.

This Blue Ribbon looks like a Service or System Notification or a specific ToastNotification.
But its Windows. It can be a simple Messagebox with a custom layout.

I worked with C# and WPF (Windows Presentation Foundation) for a long time ago and there it was possible to design own Forms with an specific design in xaml but i dont know how it works in GO.

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

No branches or pull requests

2 participants