Home › Forums › Support › 403 Forbidden. Your server is not able to communicate with generatepress.com
- This topic has 7 replies, 6 voices, and was last updated 1 year, 2 months ago by Leo.
-
AuthorPosts
-
December 22, 2021 at 8:37 pm #2057260Sean
Getting this error: 403 Forbidden. Your server is not able to communicate with generatepress.com in order to activate your license key.
December 23, 2021 at 9:21 pm #2058156TomLead DeveloperLead DeveloperHi there,
That IP isn’t blocked on our end.
Can you host confirm that you’re able to communicate with
generatepress.com
via cURL?If so, can you provide a traceroute so we can better see where the blockage is occuring?
Thanks!
December 24, 2021 at 10:24 pm #2058904SeanI have two domains where this is happening now, odd…
Anyway, here’s their response…Sorry to hear about the issues you are experiencing with Generatepress on
erxn.io. I ran a check on the domain, and I confirm that the Curl module
is currently active within your server, in fact here is a list of all PHP
modules that are active and operational in your domain, just for
reference:erxn.io$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib[Zend Modules]
I also inspected the error logs but there was no indication of an error
with Generatepress specifically. That said, I would recommend doing a
test by temporarily disabling Extra web security, to disable the
modsecurity module on the server, you can do that from
https://panel.dreamhost.com/?tree=domain.manage¤t_step=Index&next_step=ShowEdithttp&dsid=44516272by removing the check box in Extra Web Security. Save changes and try
doing a test after that. If it doesn’t work though, we’ll recommend
turning the option back on, and check back with the support page of
Generatepress, and provide them with the traceroute results that they
asked, they may be able to investigate further with that info.I hope you find this information helpful, If you have any questions or
need further assistance, feel free to reach out back to us and we’ll
gladly assist you.Hopefully I provided the traceroute info as you asked in the private area. This is foreign to me.
December 26, 2021 at 9:19 pm #2060208TomLead DeveloperLead DeveloperHi there,
I just had our hosting check the IP and the traceroute. They’re not seeing any issues on our end.
They did mention this:
If they could check the logs on their provider and ask if our IP 162.159.135.42 is blocked, that could also be the case.
If it’s returning a 403 error, there should be something logged in your
error_log
file on the server.Let us know π
January 4, 2022 at 6:21 pm #2069416codeberryHi,
I’m receiving the same error: “403 Forbidden. Your server is not able to communicate with generatepress.com.” I checked with my web host, and they say that PHP curl is on by default.
January 4, 2022 at 6:29 pm #2069420ElvinStaffCustomer SupportHi @codeberry,
Can you open a new topic for this? As the source of the issue for your site may be completely different from the topic starter’s. π
Kindly provide the same details Tom asked so we can identify the issue faster.
Let us know. π
January 5, 2023 at 1:54 pm #2485142AndreasHey I get the same error. I’ve added some debugging error_log into the code to check the response in detail:
if ( ‘Forbidden’ === $response[‘response’][‘message’] ) {
error_log(var_export($response, true)); // <– added this line in line 206 of gp-premium/inc/class-rest.php
$message = __( ‘403 Forbidden. Your server is not able to communicate with generatepress.com in order to activate your license key.’, ‘gp-premium’ );
} else {
$message = $response[‘response’][‘message’];
}
It looks like cloudflare blocks the request completely. Do you have any bot blocking or something like that available? Maybe some USER_AGENT setting could help to allow your own requests through cloudflare.Kind Regards,
AndreasJanuary 5, 2023 at 2:00 pm #2485146LeoStaffCustomer SupportHi Andreas,
Can you go through the following debugging steps first?
https://docs.generatepress.com/article/403-forbidden-when-activating-license-key/If that doesn’t help, can you open a new topic and provide a link to your site?
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.