-
-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create a post with a https://www.cbc.ca url #2089
Comments
The HTML tokenizer that's required for fetching the site metadata is failing on that site, not sure why: https://enterprise.lemmy.ml/api/v3/post/site_metadata?url=https%3A%2F%2Fwww.cbc.ca%2Fsports%2Folympics%2Fwinter%2Fhockey%2Fbeijing-olympic-womens-hockey-world-playing-catch-up-canada-us-1.6341266 Looks like we're not the only one who has problems with that site: https://opengraphcheck.com/result.php?url=https%3A%2F%2Fwww.cbc.ca%2Fsports%2Folympics%2Fwinter%2Fhockey%2Fbeijing-olympic-womens-hockey-world-playing-catch-up-canada-us-1.6341266 Maybe they're blocking certain domains, checking browser agent, having circular references....no idea. |
If it fails to fetch metadata, that should just be ignored and the link left with empty metadata. It shouldnt prevent the link from being posted. |
I can try to figure out a way to add a timeout to that call. |
thanks for looking into this, and thanks for all the work you've done on lemmy! |
Issue Summary
Can't create posts with a https://www.cbc.ca/ url.
Steps to Reproduce
I've tested this on both lemmy.ca and lemmy.ml
Technical details
I believe this is the relevant line from the logs. i don't see any other errors?
sudo docker-compose logs > lemmy_log.out
.I'm a new lemmy admin, so let me know if you need any more info. Maybe this is something broken on the cbc website itself?
The text was updated successfully, but these errors were encountered: