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

cli - unable to connect to already known server using URL #686

Closed
opened 2026年03月18日 10:20:46 +01:00 by vza-atolcd · 4 comments

I'm using the bug template although it is probably not exactly a bug.

Installation

Using the script : https://docs.eduvpn.org/client/linux/installation.html#installation-using-a-script

Version

4.7.0

Check if your issue is in the known issues list

Didn't find it.

OS/Distribution

Ubuntu 22.04.5 LTS

Logs

Do you have a problem while adding before connecting?

Using the command eduvpn-cli connect -c <url>, a quite clear error is returned to me :
"Failed to add a server with URL:'url'. The cause of the error is: this server is already added, remove it first before adding it again."

I didn't find mention of such behavior change in the 4.7.0 release of linux-app nor 5.0.0 of eduvpn-common.

We use this command inside a script, and prior to this release it was okay to add again the same server. Now I can't connect inside the script without removing the server first, which means knowing the server number on each client.
I could certainly use eduvpn-cli list to find out, but that assuming this command output is stable enough.
Maybe it would be nice to be able to connect to an already know server using url like before.

What are your thoughts on this ?

I'm using the bug template although it is probably not exactly a bug. # Installation Using the script : https://docs.eduvpn.org/client/linux/installation.html#installation-using-a-script # Version 4.7.0 # Check if your issue is in the known issues list Didn't find it. # OS/Distribution Ubuntu 22.04.5 LTS # Logs ## Do you have a problem while adding before connecting? Using the command `eduvpn-cli connect -c <url>`, a quite clear error is returned to me : "Failed to add a server with URL:'url'. The cause of the error is: this server is already added, remove it first before adding it again." I didn't find mention of such behavior change in the 4.7.0 release of linux-app nor 5.0.0 of eduvpn-common. We use this command inside a script, and prior to this release it was okay to add again the same server. Now I can't connect inside the script without removing the server first, which means knowing the server number on each client. I could certainly use `eduvpn-cli list` to find out, but that assuming this command output is stable enough. Maybe it would be nice to be able to connect to an already know server using url like before. What are your thoughts on this ?

Thanks, I see the bug. The client has a detection whether or not the server was already added, but this was broken. I am preparing a fix and it will be in the upcoming release

Thanks, I see the bug. The client has a detection whether or not the server was already added, but this was broken. I am preparing a fix and it will be in the upcoming release

Thank you for the quick answer !

Thank you for the quick answer !

@vza-atolcd no problem, please try version 4.7.1

@vza-atolcd no problem, please try version 4.7.1

It behaves the same as in previous versions, nice ! Thanks again.

It behaves the same as in previous versions, nice ! Thanks again.
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#686
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?