Extension Manager Plus

MySQL server has gone away [2006] - Extension Manager Plus

Re: MySQL server has gone away [2006]

by dimassamid » Tue Sep 10, 2024 12:46 pm

Hello,

I checked the new version. All extensions were checked in 1 minute 25 seconds (Limit version check execution time: 15).
The warning icon is shown only in those extensions where there is a real connection problem.

I think everything works finally. Thank you! Now this is an indispensable tool for administrators with a large number of extensions! :)
dimassamid
Registered User
Posts: 61
Joined: Sat Aug 25, 2007 4:55 pm
Location: Tallinn, Estonia
Name: Dmitry

Re: MySQL server has gone away [2006]

by LukeWCS » Tue Sep 10, 2024 3:22 pm

Great :) Then the work was worth it and I can keep this as an official new feature.

That means that the version check took 85 seconds for you, so a total of 6 passes were required. Since each pass always costs an extra second because of the automatic refresh of the page, the bottom line is 79 seconds. That also means that my previous estimate/calculation was far too optimistic and phpBB can actually determine far less than 66% of the versions. Purely mathematically only ~38% in your case. But as I said, these are all just estimates and always depend on the 3 factors mentioned.

In the meantime, I have already started with b3, which has fixes and improvements for the new version check of b2. In addition, extensions from the CDB are now clearly marked as such in ExtMgr and the corresponding CDB page can now be called up directly on the "Details" page for each extension. As soon as I have published b3, I will announce it here in this topic.
May the backup be with you. Always.
User avatar
LukeWCS
Registered User
Posts: 309
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: MySQL server has gone away [2006]

by LukeWCS » Fri Sep 13, 2024 4:17 pm

Beta 3 is now available in the 2.1.0 branch. It took longer because I still had to deal with some very annoying details. :evil:

When installing Beta 3, the same applies as I already wrote about Beta 2. Please test it and give me feedback. There is also a detailed beta log, but only in German. But with today's translation options, that shouldn't be a problem. ;)

https://github.com/LukeWCS/ext-mgr-plus ... angelog.md
May the backup be with you. Always.
User avatar
LukeWCS
Registered User
Posts: 309
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: MySQL server has gone away [2006]

by dimassamid » Sat Sep 21, 2024 6:22 pm

Hello,

Sorry for the delay. I installed the new version, having previously deleted all the data from the previous version. The picture is as follows.
ext manager screen.png

The checking time was halved :)
dimassamid
Registered User
Posts: 61
Joined: Sat Aug 25, 2007 4:55 pm
Location: Tallinn, Estonia
Name: Dmitry

Re: MySQL server has gone away [2006]

by LukeWCS » Sun Sep 22, 2024 12:29 pm

Hi
dimassamid wrote: The checking time was halved :)
Interesting, but that's not my achievement because I have no influence on the duration of the version check, as this depends on the external factors that I have already mentioned. Also remember that the runtime is given in net terms, i.e. the pure PHP time. The time for automatically reloading the page is not included.

But 36 errors? :shock: Are these really all servers that are no longer accessible?
May the backup be with you. Always.
User avatar
LukeWCS
Registered User
Posts: 309
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: MySQL server has gone away [2006]

by dimassamid » Sun Sep 22, 2024 5:43 pm

Yes, there are many authors who no longer support their extensions and their servers are no longer available.

Also, some extensions do not have "ssl": true in composer.json, which also causes this error.
dimassamid
Registered User
Posts: 61
Joined: Sat Aug 25, 2007 4:55 pm
Location: Tallinn, Estonia
Name: Dmitry

Re: MySQL server has gone away [2006]

by LukeWCS » Mon Sep 23, 2024 7:13 pm

Okay, then the cause is clear, I was just surprised by the large number of errors.

Beta 4 online.

As for the SSL problem, there will be a fix for it in phpBB 3.3.14, which aims to ensure that HTTP>HTTPS redirects are tracked on the respective version server during the version check instead of simply aborting with an error. This affects many CDB extensions, but other extensions that do not come from the CDB can also benefit from it. This change actually comes from phpBB 4.0 and is now also applied to 3.3.

https://github.com/phpbb/phpbb/pull/6715

I have also attached test results from EMP there.

You could also try this phpBB fix in advance and see how many errors are left.
May the backup be with you. Always.
User avatar
LukeWCS
Registered User
Posts: 309
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany