<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>re,</p>
<p>ok, i've digging in it a little bit more :</p>
<p>when connecting to v3 server, the returned data to
eduvpn-python-client is :</p>
<p>{"api":{<a class="moz-txt-link-rfc2396E" href="http://eduvpn.org/api#3">"http://eduvpn.org/api#3"</a>:{"api_endpoint":<a class="moz-txt-link-rfc2396E" href="https://eduvpn-uhasselt.belnet.be/vpn-user-portal/api/v3">"https://eduvpn-uhasselt.belnet.be/vpn-user-portal/api/v3"</a>,"authorization_endpoint":<a class="moz-txt-link-rfc2396E" href="https://eduvpn-uhasselt.belnet.be/vpn-user-portal/oauth/authorize">"https://eduvpn-uhasselt.belnet.be/vpn-user-portal/oauth/authorize"</a>,"token_endpoint":<a class="moz-txt-link-rfc2396E" href="https://eduvpn-uhasselt.belnet.be/vpn-user-portal/oauth/token">"https://eduvpn-uhasselt.belnet.be/vpn-user-portal/oauth/token"</a>}},"v":"3.0.1-1+bullseye+1"}</p>
<p>Clearly, the problem is that the eduvpn clients are not
up-to-date to handle connections to eduvpn server v3 (as it looks
for ... request(uri)['api']['<a class="moz-txt-link-freetext"
href="http://eduvpn.org/api#2">http://eduvpn.org/api#2</a>']).</p>
<p>Is that supposed to be not in sync with the release of version 3
?<br>
</p>
<p>I guess, I'm now forced to turn back to version 2 to be able for
my non-linux-techy users be able to use the vpn, right ?<br>
</p>
<p>PP<br>
</p>
<div class="moz-cite-prefix">Le 13/06/2022 à 09:03, Pascal Panneels
via eduVPN-deploy a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:17305064-17c8-f795-18cd-8299fdba7576@belnet.be">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi François, all,</p>
<p>I've installed version 3 of the server a couple of days ago on
our (Belnet) server and upgraded for one of our customer
(Hasselt University) this week-end.</p>
<p>On my Ubuntu (client) machines, I'm using NetworkManager to
handle the [edu:open]vpn connexions and it works perfectly well.</p>
<p>I've tried to connect using the client on my iPhone. I'm adding
a connexion ("+" button, search for the server (ie: University
Hasselt), gets to the user authentication page, authentication
my user, and the I get a problem in the phase where I need to
approve the use of the app in the server) -see attached
screenshot if it can be of any help.</p>
<p>I've tried the eduvpn client on Ubuntu and gets similar problem
:</p>
<p>-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--</p>
<p>pep@pep-laptop:~$ eduvpn-cli search hasselt</p>
<p>...<br>
</p>
<p>Institute access:<br>
[92] Hasselt University<br>
</p>
<p>pep@pep-laptop:~$ eduvpn-cli interactive <br>
</p>
<p>> 92</p>
<p><a class="moz-txt-link-freetext"
href="INFO:/usr/lib/python3/dist-packages/eduvpn/actions.py:starting"
moz-do-not-send="true">INFO:/usr/lib/python3/dist-packages/eduvpn/actions.py:starting</a>
procedure with auth_url <a class="moz-txt-link-freetext"
href="https://eduvpn-uhasselt.belnet.be/"
moz-do-not-send="true">https://eduvpn-uhasselt.belnet.be/</a><br>
<a class="moz-txt-link-freetext"
href="INFO:/usr/lib/python3/dist-packages/eduvpn/actions.py:token"
moz-do-not-send="true">INFO:/usr/lib/python3/dist-packages/eduvpn/actions.py:token</a>
exists, restoring<br>
<a class="moz-txt-link-freetext"
href="INFO:eduvpn.remote:Requesting" moz-do-not-send="true">INFO:eduvpn.remote:Requesting</a>
<a class="moz-txt-link-freetext"
href="https://eduvpn-uhasselt.belnet.be/.well-known/vpn-user-portal"
moz-do-not-send="true">https://eduvpn-uhasselt.belnet.be/.well-known/vpn-user-portal</a><br>
Traceback (most recent call last):<br>
File "/usr/bin/eduvpn-cli", line 33, in <module><br>
sys.exit(load_entry_point('eduvpn-client==2.2.1',
'console_scripts', 'eduvpn-cli')())<br>
File "/usr/lib/python3/dist-packages/eduvpn/cli.py", line 139,
in eduvpn<br>
parse_eduvpn(argv[1:])<br>
File "/usr/lib/python3/dist-packages/eduvpn/cli.py", line 105,
in parse_eduvpn<br>
parsed.func(parsed)<br>
File "/usr/lib/python3/dist-packages/eduvpn/cli.py", line 67,
in interactive<br>
enroll(auth_url, display_name, support_contact,
secure_internets, interactive=True)<br>
File "/usr/lib/python3/dist-packages/eduvpn/cli.py", line 42,
in enroll<br>
api_url, oauth, token_endpoint, auth_endpoint =
actions.fetch_token(auth_url)<br>
File "/usr/lib/python3/dist-packages/eduvpn/actions.py", line
68, in fetch_token<br>
api_url, token_endpoint, auth_endpoint = get_info(auth_url)<br>
File "/usr/lib/python3/dist-packages/eduvpn/remote.py", line
89, in get_info<br>
info = get_full_info(base_uri)<br>
File "/usr/lib/python3/dist-packages/eduvpn/remote.py", line
85, in get_full_info<br>
return request(uri)['api']['<a class="moz-txt-link-freetext"
href="http://eduvpn.org/api#2" moz-do-not-send="true">http://eduvpn.org/api#2</a>']<br>
KeyError: '<a class="moz-txt-link-freetext"
href="http://eduvpn.org/api#2" moz-do-not-send="true">http://eduvpn.org/api#2</a>'<br>
-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--</p>
<p><br>
</p>
<p>Any idea of the cause ?<br>
</p>
<div class="moz-signature">-- <br>
<b><font size="2" face="arial" color="#0092D2">Pascal Panneels</font></b><font
size="2" face="arial" color="#0092D2"><br>
System Architect<br>
Belnet - Services</font> <font size="2" face="arial"
color="#8B8E8D"><br>
WTC III<br>
Simon Bolivarlaan 30 Boulevard Simon Bolivar<br>
Brussel 1000 Bruxelles<br>
België - Belgique<br>
T: +32 2 790 33 33 <br>
<b><a href="http://www.belnet.be"
style="text-decoration:none;color:#0092D2"
moz-do-not-send="true">www.belnet.be</a></b><br>
</font> </div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
eduVPN-deploy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:eduVPN-deploy@list.surfnet.nl">eduVPN-deploy@list.surfnet.nl</a>
<a class="moz-txt-link-freetext" href="https://list.surfnet.nl/mailman/listinfo/eduvpn-deploy">https://list.surfnet.nl/mailman/listinfo/eduvpn-deploy</a></pre>
</blockquote>
<div class="moz-signature">-- <br>
<b><font size="2" face="arial" color="#0092D2">Pascal Panneels</font></b><font
size="2" face="arial" color="#0092D2"><br>
System Architect<br>
Belnet - Services</font>
<font size="2" face="arial" color="#8B8E8D"><br>
WTC III<br>
Simon Bolivarlaan 30 Boulevard Simon Bolivar<br>
Brussel 1000 Bruxelles<br>
België - Belgique<br>
T: +32 2 790 33 33
<br>
<b><a href="http://www.belnet.be"
style="text-decoration:none;color:#0092D2">www.belnet.be</a></b><br>
</font>
</div>
</body>
</html>