Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Link Previews not working in all cases

Open jclabaugh opened this issue 11 years ago • 6 comments

I have found multiple URLs that show a link preview in Slack but do not in Rocket.Chat.

Examples:

https://xebialabs.com/periodic-table-of-devops-tools

http://www.vox.com/2015/9/4/9260353/august-jobs-report

http://www.infoworld.com/article/2937829/cloud-computing/the-private-cloud-is-for-suckers.html

jclabaugh avatar Sep 07 '15 16:09 jclabaugh

The 2nd and 3rd work for me. The first still doesn't

geekgonecrazy avatar Sep 09 '15 20:09 geekgonecrazy

on Slack, the first link previews like this screen shot 2015-09-09 at 5 22 59 pm

jclabaugh avatar Sep 09 '15 21:09 jclabaugh

An interesting note.. When I curl the link, curl thinks that link has invalid ssl. This may be the reason..

geekgonecrazy avatar Sep 09 '15 21:09 geekgonecrazy

could add the command line switch (-k or --insecure) when using curl so that it doesn't disregard wildcard cert's for subdomains or self-signed cert's

Allow connections to SSL sites without certs

jclabaugh avatar Sep 09 '15 21:09 jclabaugh

Right that's what I did as soon as it failed. Let me verify this is actually what's happening on rocket.chat.

This might be what's happening with your other issue as well.

geekgonecrazy avatar Sep 09 '15 21:09 geekgonecrazy

#749 fixes the issue mentioned here.

geekgonecrazy avatar Sep 10 '15 17:09 geekgonecrazy