Webtopersoncapture very slow

Hello all
I am finally runing suiteCRM 7.15 and I am facing this issue:

this is the configuration I have:
PHP

:white_check_mark: Version : 8.4.19
:white_check_mark: Memory Limit : 512M

Extensions PHP

:white_check_mark: curl OK (v8.4.19)
:white_check_mark: gd OK (v8.4.19)
:white_check_mark: intl OK (v8.4.19)
:white_check_mark: mysqli OK (v8.4.19)
:white_check_mark: soap OK (v8.4.19)
:white_check_mark: json OK (v8.4.19)
:white_check_mark: openssl OK (v8.4.19)
:cross_mark: imap MISSING
:cross_mark: ldap MISSING

MySQL

:white_check_mark: Connexion OK
:white_check_mark: Version serveur : 8.0.45-0ubuntu0.22.04.1

Node.js

:white_check_mark: Version : v12.22.9

Apache

:white_check_mark: Apache/2.4.52 (Ubuntu)

OpenSSL

:white_check_mark: OpenSSL 3.0.2 15 Mar 2022

cURL

:white_check_mark: Version : 7.81.0

Test API externe (Internet)

:white_check_mark: Connexion Internet OK : {β€œip”:β€œβ€}

LDAP

:cross_mark: LDAP non installΓ©

IMAP

:cross_mark: IMAP non installΓ©

Upload fichier

:white_check_mark: Upload rΓ©ussi :

Uploader

Permissions

:cross_mark: /var/www NOT writable
:cross_mark: /var/www/html NOT writable
:white_check_mark: /var/www/html/uploads writable

when I use WebToPersonCapture it takes several minutes to create the lead and the page is kept waitting .
when I use the CRM there is no latency
page to test: ( Download our brochure - WiiDetect )

thank you for your help
Xavier

Hello Xavier,

the file that you redirect to for downloading has 35MB.
Can you try to redirect to a simply thank you page with the download link on it and then check the time it takes?

Hello Bastian,

actually it is the leads creation process that takes a long time
I changed the file to a test file but issue is the same. the query takes about 4 minutes

That is a bit odd - but I assume it comes from the server side somehow.

Whilst submitting the form, can you stream the suitecrm.log file and look for what happens when?
When does the submit arrive in the CRM? And when is the redirect due?
Do you have any logic hooks / custom code / workflows on Lead create? Deactivate all those for testing.
Additionally, there are two domains involved: .fr and .net. Same server? Just two different vhosts?
And on the CRM/index.php (I usually prefer to have the CRM on a subdomain, not a sub folder - less technical issues) I see a 301 - maybe there are some other related things (rewrites / .htaccess / redirects).

Give the setup a try in this way as well: