Bax
#1
Unable to render Card preview. ERROR: Fetching the page failed because it resulted in too many redirects.
Site is depo.ba has same issue for each article URL. Here is example of URL:
depo.ba/clanak/227701/sin-darka-rundeka-je-nevideni-frajer-i-ima-sest-imena
I checked everything and there is no any redirect on page. Also, check with curl and Twitter bot (curl -A ‘Twitterbot’) and result save in local file. Here is result:
Any solution for this ?
Best regards.
Are you using any sort of anti bot or ddos protection or firewall from a CDN like cloudflare or something? Sometimes that would insert a redirect or captcha for unknown IP addresses, so Twitter servers may be getting caught out but your PC is fine.
1 Like
Bax
#3
Yesterday we turned off CloudFlare and Varnish. Now it is plain ngix, nothing else.
1 Like
Strange, something is still affecting it because I get no redirects when requesting that page, but validator says it’s too many redirects. For both http and https. If there’s no server side things serving different content to twitter vs anything else, I’m out of ideas - someone from Twitter may have to look into it. Do other urls on the site work? Does it get posted on twitter.com? The validator is sometimes flaky when on Twitter it works
1 Like
Bax
#5
Definitely there is no different content for twitter or anyone else. Content is same for all requests.
Other URLs (index, category pages) can be fetched successfully by twitter tag validator, but there is no twitter tags (not planed to be). Articles pages have tags, but twitter validator (or when try to post URL in tweet) are not fetching at all (no preview).
1 Like
Maybe it’s caching an error response and skipping it? If other urls work, maybe changing the url slug of the article will work?
1 Like
Bax
#7
I can’t see any error in response. Also, changing slug is not an option for now.
I hope someone from Twitter will respond and hopefully give me some solution for this strange issue.
Igor thank you a lot for your efforts …
1 Like
system
closed
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.