[eduVPN-deploy] Bug in vpn-user-portal (3.0.6-1+debian+11+1) ?
François Kooman
fkooman at deic.dk
Wed Oct 5 11:08:13 CEST 2022
Hi Marc,
You must use "nodeUrl" and not "nodeURL".
https://github.com/eduvpn/documentation/blob/v3/PROFILE_CONFIG.md#node-url
Also make sure "onNode" is used properly:
https://github.com/eduvpn/documentation/blob/v3/PROFILE_CONFIG.md#on-node
Where it goes wrong, I think, is that you did not configure it properly
before, but somehow that was not fatal, and the update broke that. I did
not consider wrongly configured systems when creating an update, so that
probably triggered the issue... Of course this is just speculation from
my part...
Regards,
François
On 05.10.22 11:03, Marc Langer via eduVPN-deploy wrote:
> Hi,
> I installed the current package updates and now get the following error:
>
> {"error":"configuration for nodeNumber \"1\" does not exist"}
>
> I did no change in my configuration, and it worked before installing the
> update.
>
> I debugged the PHP source code and found, that in
> /usr/share/php/Vpn/Portal/Cfg/ProfileConfig.php the call
> "$this->nodeCount()" returns "1" instead of "2", though my
> /etc/vpn-user-portal/config.php contains:
>
> 'nodeURL' =>
> ['http://eduvpn3-1.rz.uni-osnabrueck.de:41194','http://eduvpn3-2.rz.uni-osnabrueck.de:41194'],
>
> In my understanding of the source code, it should return "2".
>
> Marc
>
>
> _______________________________________________
> eduVPN-deploy mailing list
> eduVPN-deploy at list.surfnet.nl
> https://list.surfnet.nl/mailman/listinfo/eduvpn-deploy
More information about the eduVPN-deploy
mailing list