Inspecting a given URL in the LinkedIn post inspector returns the following ingestion feedback:
Error We encountered a server error while trying to inspect the URL.
The URL redirect trail shows:
1 0 undefined https://example.com
I inspected URLs of both the production domain (https) and a staging sub-domain (http) on the same server (with identical html, needless to say). The LinkedIn scraper is able to fetch all metadata from the http sub-domain but not the https domain which leads me to believe the problem might be related to SSL authentication between the site and LinkedIn.
Has anyone else encountered this problem and can either confirm my suspicion or point me in a direction?
As a sidenote, both the facebook share debugger and the twitter card validator are able to fetch all metadata on all of the tested URLs via both protocols.
Ronald Werkhoven asked the same question here: Validating link in post-inspector linkedin in gives server error Checking the URL he provided in the LinkedIn post inspector does not throw any errors, so apparently he was able to fix the problem. Would you, Ronald, mind sharing how you were able to resolve the issue?
For anyone else dealing with similar - using NextJS through Cloudflare
Turned out it was because I restricted TLS>1.3, enabling 1.2 fixed it nice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With