API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program)
-
Hello,
Yesterday I have migrated a WordPress site (Woocommerce) from testing shared hosting to my VPS with Cloudron. The migration was smooth, with a plugin suggested by some members in the forum. However, the requests that update product data from our warehouse system to the Wordpress site doesn't work anymore. The request still pass when sent through the browser.
Maybe you will have some info that might help me solve this, because I can't really find the problem.
-
@vova Does your WP instance get the request at all? If it doesn't then, a start would be to check what error you are getting in the code where you are making the request. For example, is it a HTTP error (then it's cloudron related) or a network error (then it's related to networking or maybe DNS is taking it's time to propagate).
-
The request goes through Talend HTTP API tester (the Chrome plugin) without any problems.
But through the .net app it shows this error on the screen, like 1-2 sec after I click the start button.
However, it works on the shared host, before the migration - we have tested it many times there.
-
@vova This does look like some networking issue between the Cloudron installation and the .net app.
In the .net app machine, can you check if you can visit your WP install via the browser? Assuming you can, this is probably a TLS related issue . Can you try the solution in https://stackoverflow.com/questions/22627977/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send ? Cloudron does not support SSL3/TLS1/TLS1.1 since they are insecure. You have to use TLS1.2 atleast. Most likely your old shared hosting was using old TLS versions.
-
@girish said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):
SSL3/TLS1/TLS1.1
Thanks, I will check this because the active protocols for the shared host are: tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2.
Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.
-
@vova said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):
Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.
Yes, please let me know if your suspicion is correct.