I’m using a program I made that uses REST API to post articles automatically to my Wordpress site in the URL: https://mysite.com/wp-json/wp/v2/posts.
The program runs a few times and then I get the error:
'Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host'
I can post without problems if I turn off Cloudflare.
I have tried:
Added firewall rule to allow my IP + requests from my IP
Added page rules to: wp-json/wp/v2/posts to turn almost everything off including security.
Added Security to “Basically Off”
And it still gives me that error.
Yet if I turn Cloudflare OFF and start sending the API towards the non HTTPS URL it works.