No Code Attached Yet
avatar OctavianC
OctavianC
6 Jul 2022

Steps to reproduce the issue

  • Install latest 4.2.0 beta 3
  • Open front or admin

Expected result

Working pages :)

Actual result

image

 0 Operation timed out after 5007 milliseconds with 16384 out of 1204198 bytes received 

Additional comments

So I've traced this to plugins/system/webauthn/src/MetadataRepository.php:

$response = $http->get('https://mds.fidoalliance.org/', [], 5);

It times out after 5 seconds due to the 3rd param - my download speed is abysmal, not sure if related to my own internet or the hosting server...

image

Either way this shouldn't render the website unusable. Maybe catching the exception would be a temporary fix but this would still overload the URL, triggerring connections on every visit.
Can be fixed manually by downloading blob.jwt and renaming it to cache/fido.jwt and administrator/cache/fido.jwt

avatar OctavianC OctavianC - open - 6 Jul 2022
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jul 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jul 2022
avatar richard67
richard67 - comment - 6 Jul 2022

@nikosdion Could you have a look on it? Thanks in advance.

avatar nikosdion
nikosdion - comment - 6 Jul 2022
avatar nikosdion
nikosdion - comment - 6 Jul 2022

I'd say a single test by the affected user is enough for this trivial change. It already took me 50x longer than fixing it to open a PR. I am not wasting any more time on it.

avatar alikon alikon - close - 6 Jul 2022
avatar alikon
alikon - comment - 6 Jul 2022

please test #38234

avatar alikon alikon - change - 6 Jul 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-07-06 08:21:23
Closed_By alikon
avatar richard67
richard67 - comment - 6 Jul 2022

@nikosdion Thanks a lot.

avatar nikosdion
nikosdion - comment - 6 Jul 2022

You're welcome! Sorry for not having a lot of time, it's gonna be a bit hectic the next few weeks as I'm finishing up pending work to maybe manage go on vacation for a week or two this August — I need it after working non-stop since 2019...

Add a Comment

Login with GitHub to post a comment