10
9
Fork
You've already forked linux-app
14

no parameter 'state' found in URL #689

Closed
opened 2026年03月19日 15:31:21 +01:00 by kees-closed · 4 comments

Installation

pip install

Version

$ eduvpn-gui -v
eduVPN GUI version: 4.7.1 with eduvpn-common version: 5.0.1

OS/Distribution

Fedora Silverblue 44

Logs

After I click on the "eduVPN for Linux - Toestaan" button I get to see "Authorization Failed" in my browser and the log errors below.

Logs from /var/home/user/.config/eduvpn/log:

time=2026年03月19日T15:26:40.243+01:00 level=DEBUG msg="client wants to get a VPN config" server_id=https://surf.eduvpn.nl/ server_type=1 prefer_tcp=false startup=false
time=2026年03月19日T15:26:40.244+01:00 level=DEBUG msg="FSM transition" old=Main new=GettingConfig
time=2026年03月19日T15:26:40.256+01:00 level=DEBUG msg="OAuth log" log="Access token is expired"
time=2026年03月19日T15:26:40.256+01:00 level=DEBUG msg="OAuth log" log="getting tokens with the refresh token at URL: https://surf.eduvpn.nl/portal/oauth/token"
time=2026年03月19日T15:26:40.271+01:00 level=DEBUG msg="OAuth log" log="Got a refresh token error: tokens are invalid due to: got invalid_grant when refreshing the tokens with description: \"refresh_token\" expired"
time=2026年03月19日T15:26:40.272+01:00 level=DEBUG msg="FSM transition" old=GettingConfig new=OAuthStarted
time=2026年03月19日T15:26:40.272+01:00 level=DEBUG msg="OAuth log" log="starting HTTP loopback server"
time=2026年03月19日T15:26:44.165+01:00 level=DEBUG msg="OAuth log" log="got HTTP response for OAuth exchange"
time=2026年03月19日T15:26:44.173+01:00 level=DEBUG msg="FSM transition" old=OAuthStarted new=Main
time=2026年03月19日T15:26:44.174+01:00 level=DEBUG msg="error returned to client" error="Failed to connect to server. The cause of the error is: no parameter 'state' found in URL."
2026年03月19日 15:26:44,175 - call-model - ERROR - /var/home/user/.local/lib/python3.14/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to connect to server. The cause of the error is: no parameter 'state' found in URL. 

Error in the openvpn-gui:

The following error was reported: Failed to connect to server. The cause of the error is: no parameter 'state' found in URL.
For detailed information, see the log file located at:
 - /var/home/user/.config/eduvpn/log
Logs related to the VPN connection can be found in the NetworkManager logs. If you're using Systemd run:
- journalctl -u NetworkManager
# Installation `pip install` # Version ``` $ eduvpn-gui -v eduVPN GUI version: 4.7.1 with eduvpn-common version: 5.0.1 ``` # OS/Distribution Fedora Silverblue 44 # Logs After I click on the "eduVPN for Linux - Toestaan" button I get to see "Authorization Failed" in my browser and the log errors below. Logs from /var/home/user/.config/eduvpn/log: ``` time=2026年03月19日T15:26:40.243+01:00 level=DEBUG msg="client wants to get a VPN config" server_id=https://surf.eduvpn.nl/ server_type=1 prefer_tcp=false startup=false time=2026年03月19日T15:26:40.244+01:00 level=DEBUG msg="FSM transition" old=Main new=GettingConfig time=2026年03月19日T15:26:40.256+01:00 level=DEBUG msg="OAuth log" log="Access token is expired" time=2026年03月19日T15:26:40.256+01:00 level=DEBUG msg="OAuth log" log="getting tokens with the refresh token at URL: https://surf.eduvpn.nl/portal/oauth/token" time=2026年03月19日T15:26:40.271+01:00 level=DEBUG msg="OAuth log" log="Got a refresh token error: tokens are invalid due to: got invalid_grant when refreshing the tokens with description: \"refresh_token\" expired" time=2026年03月19日T15:26:40.272+01:00 level=DEBUG msg="FSM transition" old=GettingConfig new=OAuthStarted time=2026年03月19日T15:26:40.272+01:00 level=DEBUG msg="OAuth log" log="starting HTTP loopback server" time=2026年03月19日T15:26:44.165+01:00 level=DEBUG msg="OAuth log" log="got HTTP response for OAuth exchange" time=2026年03月19日T15:26:44.173+01:00 level=DEBUG msg="FSM transition" old=OAuthStarted new=Main time=2026年03月19日T15:26:44.174+01:00 level=DEBUG msg="error returned to client" error="Failed to connect to server. The cause of the error is: no parameter 'state' found in URL." 2026年03月19日 15:26:44,175 - call-model - ERROR - /var/home/user/.local/lib/python3.14/site-packages/eduvpn/utils.py - utils.py:143 - exception occurred: Failed to connect to server. The cause of the error is: no parameter 'state' found in URL. ``` Error in the openvpn-gui: ``` The following error was reported: Failed to connect to server. The cause of the error is: no parameter 'state' found in URL. For detailed information, see the log file located at: - /var/home/user/.config/eduvpn/log Logs related to the VPN connection can be found in the NetworkManager logs. If you're using Systemd run: - journalctl -u NetworkManager ```

Which browser are you using? Is your browser stripping anything? For me this all works with demo.eduvpn.nl which is on the same server version as surf.eduvpn.nl

Which browser are you using? Is your browser stripping anything? For me this all works with demo.eduvpn.nl which is on the same server version as surf.eduvpn.nl

@jwijenbergh wrote in #689 (comment):

Which browser are you using? Is your browser stripping anything? For me this all works with demo.eduvpn.nl which is on the same server version as surf.eduvpn.nl

I use Firefox 148.0.2 (Flatpak), I cleared all cookies, cache and temporary files, but I still run into this issue. Also when I downgrade to EduVPN 4.6.0. That used to work fine. When I copy the link into Chrome it does work. So for now I can get it to work.

@jwijenbergh wrote in https://codeberg.org/eduVPN/linux-app/issues/689#issuecomment-11820981: > Which browser are you using? Is your browser stripping anything? For me this all works with demo.eduvpn.nl which is on the same server version as surf.eduvpn.nl I use Firefox 148.0.2 (Flatpak), I cleared all cookies, cache and temporary files, but I still run into this issue. Also when I downgrade to EduVPN 4.6.0. That used to work fine. When I copy the link into Chrome it does work. So for now I can get it to work.

Then this is an issue with your firefox browser, or the flatpak specifically. In the new version we have switched from GET to POST for this callback. This improves security. Can you try a totally new firefox profile?

Then this is an issue with your firefox browser, or the flatpak specifically. In the new version we have switched from GET to POST for this callback. This improves security. Can you try a totally new firefox profile?

@jwijenbergh wrote in #689 (comment):

Then this is an issue with your firefox browser, or the flatpak specifically. In the new version we have switched from GET to POST for this callback. This improves security. Can you try a totally new firefox profile?

I found the issue, I use strict Firefox Containers for my work, to separate cookies. I had to add the localhost:port URL to that container for it work seamless again with Firefox.

@jwijenbergh wrote in https://codeberg.org/eduVPN/linux-app/issues/689#issuecomment-11841927: > Then this is an issue with your firefox browser, or the flatpak specifically. In the new version we have switched from GET to POST for this callback. This improves security. Can you try a totally new firefox profile? I found the issue, I use strict [Firefox Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) for my work, to separate cookies. I had to add the localhost:port URL to that container for it work seamless again with Firefox.
Sign in to join this conversation.
No Branch/Tag specified
master
upstream-deb
openvpn-persistent
1.x
4.7.2
4.7.1
4.7.0
4.6.0
4.5.1
4.5.0
4.4.99.0
4.4.0
4.3.1
4.3.0
4.2.99.1
4.2.99.0
4.2.1
4.2.0
4.1.99.0
4.1.3
4.1.2
4.1.1
4.1.0
3.1.1
4.0.1
4.0.0
pr-3.3.1
pr-3.3.0
pr-3.2.0
3.1.0
3.0.0
2.2.1
2.2.0
2.1.0
2.0.0
1.1
1.0.3
1.0.2
1.0.1
1.0rc17
1.0rc16
1.0rc15
1.0rc14
1.0rc13
1.0rc12
1.0rc11
1.0rc10
1.0rc9
1.0rc8
1.0rc7
1.0rc6
1.0rc5
1.0rc4
1.0rc3
1.0rc2
1.0rc1
0.8
0.7.2
0.7.1
0.7
0.6.1
0.6
0.5.1
0.5
0.3
0.2.1
0.2
0.1.1
0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eduVPN/linux-app#689
Reference in a new issue
eduVPN/linux-app
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?