Have you added the actual port number where the … is in the example above? I’m sorry the error isn’t more specific about that.
For example, if the port is 443, you’d add:
define( 'JETPACK_SIGNATURE__HTTP_PORT', 443 );
This is Jetpack v7.1.1 on a Pantheon environment
I have added the constant definition as well as the port value, but the error remains. I’ve also tried defining the HTTP and HTTPS constant value similar to the below:
// I used the recommended server port value given by Jetpack
define( ‘JETPACK_SIGNATURE__HTTP_PORT’, 443 );
define( ‘JETPACK_SIGNATURE__HTTP_PORT’, 443 );
I’ve also tried this…
define( ‘JETPACK_SIGNATURE__HTTP_PORT’, $_SERVER[‘SERVER_PORT’] );
define( ‘JETPACK_SIGNATURE__HTTPS_PORT’, $_SERVER[‘SERVER_PORT’] );
to dynamically set these values on different environments, but I still get this error:
Debugging Center
Testing your site’s compatibility with Jetpack…
The server port value is unexpected.
Try adding the following to your wp-config.php file: define( ‘JETPACK_SIGNATURE__HTTP_PORT’, ‘THE PROVIDED PORT VALUE’ );
Also, when using the Jetpack Debug tool at https://jetpack.com/support/debug/ I get this error for the website:
Unknown error
An unknown error has occurred.
If you continue to get this error, please check out our troubleshooting guide or contact support.
-
This reply was modified 7 years, 2 months ago by
ntellisense.
-
This reply was modified 7 years, 2 months ago by
ntellisense.
Good morning –
What is the site URL?
If you don’t want to share that here just send us a note via https://jetpack.com/contact-support/?rel=support
Have you also defined Staging Mode, since this is a staging site? https://jetpack.com/support/staging-sites/
JETPACK_STAGING_MODE is not being defined, it is running as a production site. Also, the same error occurs on the dev, test and live environment.
Ok, what is the URL of the live non-development site with the issue?
Thanks for that info.
Running live-pbh.pantheonsite.io through the debug tool shows us:
Array
(
[code] => failed_test__server_port_value
[message] => The server port value is unexpected.
[data] => Array
(
[resolution] => Try adding the following to your wp-config.php file: define( 'JETPACK_SIGNATURE__HTTP_PORT', 18491 );
)
)
Please give that a try and then run the URL back through https://jetpack.com/support/debug/