图像未显示在Twitter上-错误:由于请求超时,获取页面失败 [英] images not showing on twitter - ERROR: Fetching the page failed because the request timed out
问题描述
这是我的网站 https://www.healthdrop.in 的网址,我正在获取
This is the url of my website https://www.healthdrop.in and I am getting
错误:由于请求超时,无法获取页面。
ERROR: Fetching the page failed because the request timed out.
在 https://cards-dev.twitter.com/validator
我在不同的网站上尝试了每个修复程序,但是都没有成功。
I try each and every fix mention on different websites, but didn't get success.
我与取得联系twittercommunity ,他们说我的 apache
配置不正确,问题是
I get in touch with twittercommunity and they say my apache
config are not right and and the problem is
其他错误通常是SSL错误配置信息。在服务器的
情况下,我看到SSL3警报显示为:警告:无法识别的
名称,这表明您有与此错误类似的错误,该错误在故障排除帖子中也链接了
。 / p>
The "other errors" is most commonly an SSL misconfiguration. In the case of your server I’m seeing SSL3 alert read:warning:unrecognized name which indicates you have an error similar to this one which was also linked in the troubleshooting post.
所以我运行 apachectl configtest
测试我的 apache
配置,结果为
So I run apachectl configtest
to test my apache
config and the result is
语法确定
Syntax OK
我在 SSLLABS
我尝试了步骤提及此处,但仍然没有成功。
I tried with the step mention here but still no success.
可以有人指导我更多。我正在将 AWS EC2 ubuntu
与 AWS S3
一起用于图像。
Can anyone guide me more. I am using AWS EC2 ubuntu
with AWS S3
for images.
推荐答案
1)首先,尝试使用以下命令调试SSL
1) First of all try to debug your SSL, by the following command
openssl s_client -servername <hostname> -connect <hostname>:443 -state
如果显示此消息:
SSL3警报读取:警告:无法识别的名称
SSL3 alert read: warning:unrecognized name
2),然后尝试添加
ServerName www.healthdrop.in
ServerAlias healthdrop.in
在您的 /etc/apache2/sites-available/default-ssl.conf中
或虚拟主机文件中
in your /etc/apache2/sites-available/default-ssl.conf
or in virtual host file
3),然后通过
sudo服务apache2重新启动
这篇关于图像未显示在Twitter上-错误:由于请求超时,获取页面失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!