Subject: An open discussion list for topics related to the geteduroam service
List archive
- From: "Adam T. Ferrero" <adam AT temple.edu>
- To: Jørn Åne de Jong <jornane.dejong AT surf.nl>, "geteduroam AT lists.geant.org" <geteduroam AT lists.geant.org>, Christian Mittring <christian.mittring AT rz.uni-augsburg.de>
- Subject: Re: [External] Re: letswifi-portal modifications
- Date: Fri, 18 Jul 2025 15:14:35 +0000
Christian,
We are also launching letswifi-portal this summer. Thanks Jørn for all the outstanding work in the beta branch!
We hit the 500 and resolved it. I believe we resolved it with a "composer update" inside our /usr/local/share/simplesamlphp and /usr/local/share/letswifi-portal. It updated several things but I suspect the Twig 3.21.1 update resolved it for us. We are
actually running RHEL 9, PHP 8.1.32, simplesamlphp 2.4.2. Feel free to reach out to me directly off list. We are still actively building the systems and testing.
We still do see similar warning though:
[18-Jul-2025 11:13:41 America/New_York] PHP Warning: Array to string conversion in /usr/local/share/simplesamlphp/vendor/twig/twig/src/Template.php on line 359
adam AT temple.edu
From: geteduroam-request AT lists.geant.org <geteduroam-request AT lists.geant.org> on behalf of Christian Mittring <christian.mittring AT rz.uni-augsburg.de>
Sent: Friday, July 18, 2025 1:58 AM
To: Jørn Åne de Jong <jornane.dejong AT surf.nl>; geteduroam AT lists.geant.org <geteduroam AT lists.geant.org>
Subject: [External] Re: letswifi-portal modifications
Sent: Friday, July 18, 2025 1:58 AM
To: Jørn Åne de Jong <jornane.dejong AT surf.nl>; geteduroam AT lists.geant.org <geteduroam AT lists.geant.org>
Subject: [External] Re: letswifi-portal modifications
Hello Jørn,
thank you for the update.
We started installing our production server.
I used simplesamlphp-2.3.8 instead of simplesamlphp-2.3.6 (running on
the test server).
It resulted in a Server error 500 on the "/app/" page.
Is this a known issue?
The apache error log is pointing to twig as problem.
If I switch back to simplesamlphp-2.3.6 it works.
In addidtion we realized this error message on every web-call (even with
simplesamlphp-2.3.6 on the testsystem) while running fine:
[Fri Jul 18 06:54:55.165662 2025] [proxy_fcgi:error] AH01071: Got error
'PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345; PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345; PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345'
Thank you
Christian Mittring
Universität Augsburg
Rechenzentrum
86135 Augsburg
Telefon 0821/598-2042
christian.mittring AT rz.uni-augsburg.de
https://nam10.safelinks.protection.outlook.com/?url="https%3A%2F%2Fwww.rz.uni-augsburg.de%2F&data=05%7C02%7Cadam%40temple.edu%7C6d614197f7cf46d5b98208ddc5c0305a%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C638884151556244780%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=H1nn6DEwN2bX908rSbRf3AWmZqiAjib66w6NxJQJbF8%3D&reserved=0
Am 16.07.2025 um 17:27 schrieb Jørn Åne de Jong (via geteduroam Mailing
List):
> On 01/07/2025 07:56, Christian Mittring wrote:
>> Hello Jørn,
>>
>> just a short update, we are planing to install our production
>> geteduroam portal next week.
>>
>> We would like to use the code from the beta branch (https://
>> github.com/ geteduroam/letswifi-portal/tree/beta) with some tiny
>> modifications.
>>
>> 1.
>> To fix some issues with older Linux/Anroid App Versions:
>> in /usr/local/share/letswifi-portal/src/letswifi/credential/
>> certificatecredential.php:
>>
>> public function getAnonymousIdentity(): ?string
>> {
>> return substr($this->credentialId,3);
>> // return null;
>> }
>>
>>
>>
>> 2.
>> To avoid App token is longer valid than certificate:
>> /usr/local/share/letswifi-portal/src/letswifi/auth/
>> authenticationcontext.php
>>
>> $this->oauth = new OAuth(
>> $accessTokenSealer,
>> $authorizationCodeSealer,
>> $refreshTokenSealer,
>> new \DateInterval("P7D"),
>> );
>> So oauth token should only work 7 days.
>>
>> Are these adjustments problematic (especially the short token lifetime)?
>>
>> Are there any planned releases in the next 2-3 weeks for the letswifi-
>> portal, we should wait for?
>
> Hello Christian!
>
> Sorry for my late reply.
> The changes you described here should work just fine and won't break
> anything now or when updating to the final version when it's done.
> I'll try to release something in the next weeks but no promise, so if I
> were you I would stay with the changes that you described here.
>
> Good to hear you found a hotfix for the time being. :)
>
> Have a great summer, I'll let you know when we have a release.
>
thank you for the update.
We started installing our production server.
I used simplesamlphp-2.3.8 instead of simplesamlphp-2.3.6 (running on
the test server).
It resulted in a Server error 500 on the "/app/" page.
Is this a known issue?
The apache error log is pointing to twig as problem.
If I switch back to simplesamlphp-2.3.6 it works.
In addidtion we realized this error message on every web-call (even with
simplesamlphp-2.3.6 on the testsystem) while running fine:
[Fri Jul 18 06:54:55.165662 2025] [proxy_fcgi:error] AH01071: Got error
'PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345; PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345; PHP message: PHP Warning: Array to string conversion in
/usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on
line 345'
Thank you
Christian Mittring
Universität Augsburg
Rechenzentrum
86135 Augsburg
Telefon 0821/598-2042
christian.mittring AT rz.uni-augsburg.de
https://nam10.safelinks.protection.outlook.com/?url="https%3A%2F%2Fwww.rz.uni-augsburg.de%2F&data=05%7C02%7Cadam%40temple.edu%7C6d614197f7cf46d5b98208ddc5c0305a%7C716e81efb52244738e3110bd02ccf6e5%7C0%7C0%7C638884151556244780%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=H1nn6DEwN2bX908rSbRf3AWmZqiAjib66w6NxJQJbF8%3D&reserved=0
Am 16.07.2025 um 17:27 schrieb Jørn Åne de Jong (via geteduroam Mailing
List):
> On 01/07/2025 07:56, Christian Mittring wrote:
>> Hello Jørn,
>>
>> just a short update, we are planing to install our production
>> geteduroam portal next week.
>>
>> We would like to use the code from the beta branch (https://
>> github.com/ geteduroam/letswifi-portal/tree/beta) with some tiny
>> modifications.
>>
>> 1.
>> To fix some issues with older Linux/Anroid App Versions:
>> in /usr/local/share/letswifi-portal/src/letswifi/credential/
>> certificatecredential.php:
>>
>> public function getAnonymousIdentity(): ?string
>> {
>> return substr($this->credentialId,3);
>> // return null;
>> }
>>
>>
>>
>> 2.
>> To avoid App token is longer valid than certificate:
>> /usr/local/share/letswifi-portal/src/letswifi/auth/
>> authenticationcontext.php
>>
>> $this->oauth = new OAuth(
>> $accessTokenSealer,
>> $authorizationCodeSealer,
>> $refreshTokenSealer,
>> new \DateInterval("P7D"),
>> );
>> So oauth token should only work 7 days.
>>
>> Are these adjustments problematic (especially the short token lifetime)?
>>
>> Are there any planned releases in the next 2-3 weeks for the letswifi-
>> portal, we should wait for?
>
> Hello Christian!
>
> Sorry for my late reply.
> The changes you described here should work just fine and won't break
> anything now or when updating to the final version when it's done.
> I'll try to release something in the next weeks but no promise, so if I
> were you I would stay with the changes that you described here.
>
> Good to hear you found a hotfix for the time being. :)
>
> Have a great summer, I'll let you know when we have a release.
>
-
Re: letswifi-portal modifications,
Christian Mittring, 07/01/2025
-
Re: letswifi-portal modifications,
Jørn Åne de Jong, 07/16/2025
-
Re: letswifi-portal modifications,
Christian Mittring, 07/18/2025
- Re: [External] Re: letswifi-portal modifications, Adam T. Ferrero, 07/18/2025
-
Re: letswifi-portal modifications,
Christian Mittring, 07/18/2025
-
Re: letswifi-portal modifications,
Jørn Åne de Jong, 07/16/2025
Archive powered by MHonArc 2.6.24.