we are facing an issue with Magento 2 and hopes that someone here could help.
First of all some Details; We are running our Magento on 2.4.5-p2 and PHP8.1.
Now we are facing an issue on frontend. If a customer creates an account and submits it by pressing "create account" the system is loading more than 60 secs. After that, the customer finally was created. No errors in Magento logs, it just takes a lot of time.
It's strange because on 2.4.3 we do not have this issue. Also, we do not add any custom Extensions since updating to 2.4.5. Only the PHP version was updated to 8.1.
What we already tried (solutions from other posts); added Mageplaza SMTP extension and fixed some CSP errors
Do someone have the same issue and was able to fix it?
Hopeful for any idea that could help here.
Update 1 I have now deactivated all third-party-plugins and it takes about 7-8 seconds to create the account. Not best timings, but much better than up to 60 seconds. I have a lot of amasty modules installed and it seems to be that the heavy loading timings coming from one of the extensions. I will test more and give a feedback with results soon.
Update 2 (final solution) Deactivating all third-party extensions helps a lot. The issue comes from one of the installed third-party extensions. Using Amasty (customerAttributes) raises the loading time up to +3-5 secs. But the real time-consuming extension was MageB2B CustomerId. While creating an account the extension also creates a unique b2b customerId. For some reason that takes too long. I already reported it to the app developer. Hopefully that a quick fix will be enrolled.
Thanks to all.