大网数据广告活动
网站运营与故障问答

Intermittent problem establishing a secure HTTPS connection to my site

· 52CE 我爱测

My site gives this error when I try to visit, both on windows and ios. The thing is that it doesn't always happens, some days it works fine and the other it doesn't. Does anyone know what could be the cause? My site is healthprov…

问题原文

原帖链接 · B kav · CC BY-SA 4.0

My site gives this error when I try to visit, both on windows and ios. The thing is that it doesn't always happens, some days it works fine and the other it doesn't. Does anyone know what could be the cause?

My site is healthprovement.com Subdomains do work, so it only a problem for the main site.

I've looked at ssl testers but they weren't able to load the site or didn't find anything wrong.

I've recently changed some CNAME, and added subdomains. Maybe this could be something to do with it.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

Your DNS has two IP addresses specified for your site. Only one of the two has a server with properly configured security certificates.

When you have two A records for the same host name, it is known as "round robin" DNS. Clients will randomly try to connect to one or the other. Some modern browsers may try both of them to see which works, which may be why you are not seeing the problem in some browsers.

$ dig healthprovement.com
healthprovement.com.    7069    IN  A   108.179.232.43
healthprovement.com.    7069    IN  A   148.105.251.16

The 108.179.232.43 server is working:

$ curl --head --resolve 'healthprovement.com:443:108.179.232.43' https://healthprovement.com/
HTTP/2 200 

But the 148.105.251.16 is not:

$ curl --head --resolve 'healthprovement.com:443:148.105.251.16' https://healthprovement.com/
curl: (35) error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error

To fix this problem, you either need to remove the DNS A records pointing to 148.105.251.16 or you need to fix that server so that it handles the HTTPS requests properly.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2020-01-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。