Archived topic
403 Forbidden. Your server is not able to communicate with generatepress.com
4 replies · Started by James on April 4, 2022
Trying to activate my GeneratePress license on a server and receiving this message when pasting the license key value and clicking the "Update key" button.
I can confirm that logging into the actual machine and executing a curl command from the shell to generatepress.com is successful.
curl -I https://generatepress.com
HTTP/1.1 200 OK
Date: Mon, 04 Apr 2022 23:05:38 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
CF-Ray: 6f6db09eaadb6780-DFW
Cache-Control: no-store, no-cache, must-revalidate
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Link: <https://generatepress.com/>; rel=shortlink
Vary: Accept-Encoding
CF-Cache-Status: DYNAMIC
Content-Security-Policy: frame-ancestors 'self'
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
ki-cache-type: None
Ki-CF-Cache-Status: BYPASS
ki-edge: v=17.2
Pragma: no-cache
X-Content-Type-Options: nosniff
X-Edge-Location-Klb: 1
X-Kinsta-Cache: HIT
X-UA-Compatible: IE=edge
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=tGfATZWqoLqMXSHAvcS51CMnMOgVACx0%2BQYY5%2BlVeIsMlvCn0tHSAvq48U8aBA1K4asHNsrPaM%2B4EYQ00%2B%2F6KNZFCwEkYUbscEgEvzpsGwAH%2BB9PX9md97PnT%2BPBvC%2FMAe6m"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
I have looked at the Apache error logs on the server and cannot find any error messages that look like something related to this.
I've pasted the IP address into the private information section of this message.
I really need to get this site up today... Any help greatly appreciated!
I've tried pasting the filter snippet using the 'Code Snippets' plugin, and I receive this error...
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://api.generatepress.com:443 (Unknown error)
Hi James,
I asked Tom with regards to this and this is what he said:
“if its not working with either server my guess is that their server is blocking outgoing connections - the secondary api is completely separate so one of the two should work”
With that said, can you kindly check if your server is blocking outgoing connections?
Kindly let us know. Hope to hear from you soon.
Hello Fernando -
Regarding blocking outgoing connections, I can confirm that the server is not blocking any outbound connections. The curl command I ran above was from a shell session logged into that box and connecting to generatepress.com. The server is also able to download and install WordPress updates and plugins just fine.
iptables is running on that machine with a limited set of firewall rules, but when I disable iptables altogether and attempt to install the license key, I'm getting that same SSL handshake error above.
Please let me know what I can try next...
Thanks,
James
Hi there,
I hadn't seen that OpenSSL error before, but was able to find this answer: https://stackoverflow.com/a/29997229
You can find similar questions/answers here: https://stackoverflow.com/questions/32431465/mamp-ssl-error-error14077410ssl-routinesssl23-get-server-hellosslv3-alert
My guess is that something to do with SSL is misconfigured on your server.
It's very unlikely that both of our servers have banned your IP, as they're both hosted with completely different companies. However, anything is possible. If you've confirmed that your server is set up correctly feel free to share your server IP and I'll check our firewall for any possible blocks. Please continue to use the secondary API if we need to do this as we have more control over that server.
Thanks!
Thanks!