Chrome中http被强转成https问题

原因:2023年11月1日,chrome发布HTTPS-Upgrades功能,在用户访问 http:// 的旧链接之后,会自动尝试跳转到通过加密的 https:// 协议,访问该网站。且探测到 https 服务存在也会自动改成 https。

亲测两种方案可行:

方案1:清除chrome的所有cookie

方案2:删除HSTS domain配置

1、输入地址:chrome://net-internals/#hsts

2、打开Delete domain security policies

3、输入域名删除

注意:我这里测试需要删除当前域名以及对应的顶级域名才有效

比如zhanglei.nasfuns.fun得同时删除zhanglei.nasfuns.fun、nasfuns.fun

相关推荐
代码的乐趣2 小时前
支持selenium的chrome driver更新到138.0.7204.183
chrome·selenium·测试工具
望未来无悔3 小时前
HTTPS的概念和工作过程
网络协议·https
游戏开发爱好者84 小时前
Fiddler中文版使用指南 提升开发流程的一站式抓包与调试体验
android·ios·小程序·https·uni-app·iphone·webview
PineappleCoder4 小时前
为什么输入 URL 后会显示页面?HTTP 协议的 “幕后操作”
前端·http·面试
EndingCoder5 小时前
HTTP性能优化实战:解决高并发场景下的连接瓶颈与延迟问题
网络·网络协议·http·性能优化·高并发
czhc114007566312 小时前
linux81 shell通配符:[list],‘‘ ``““
数据结构·chrome·list
2501_9159214315 小时前
移动端 WebView 视频无法播放怎么办 媒体控件错误排查与修复指南
android·ios·小程序·https·uni-app·iphone·webview
郭二哈15 小时前
应⽤层协议HTTP
网络·网络协议·http
Moso_Rx21 小时前
HTTP基本结构
网络·网络协议·http
namehu1 天前
阿里云 acme.sh install timeout(超时)问题解析与解决方案
linux·前端·https