Bad Request This combination of host and port requires TLS
今天接触一个旧的项目,启动一切正常,但在用http://localhost:8080/a访问首页时出现:
Bad Request This combination of host and port requires TLS
这个看起来是要求有证书才行,马上查看项目配置,发现确实配置了tls
ssl:key-store: ../config/abc.pfxkey-store-password: cdekey-store-type: PKCS12
两个解决方法:
1.注释掉上面的ssl相关配置;
2.采用https的方式访问项目。
Bad Request This combination of host and port requires TLS相关推荐
- 端口映射问题:Bad Request This combination of host and port requires TLS.
错误信息: Bad Request This combination of host and port requires TLS. 遇到上面的错误信息:如果是通过域名访问,则该域名后配置的转发端口映射 ...
- Bad Request This combination of host and port requires TLS.解决记录
今天项目调用接口发现这个问题,百度了一圈: 大体意思是说: 错误请求此主机和端口的组合需要TLS. 缺少证书 这个问题主要出现在同一服务器上,不同项目之间接口调用出现的该问题,出现的问题不同可能解决办 ...
- Bad Request This combination of host and port requires TLS.
错误请求此主机和端口的组合需要TLS. 缺少证书 这个问题主要出现在同一服务器上,不同项目之间接口调用出现的该问题,出现的问题不同可能解决办法也不一样 解决方案1: 如果是postman请求:sett ...
- 关于requests.exceptions.SSLError: HTTPSConnectionPool(host='XXX', port=443)问题
在运行一下代码的时候,会进行报错 requests.exceptions.SSLError: HTTPSConnectionPool(host='XXX', port=443) 解决方法如下: 1.先 ...
- requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘localhost‘, port=8123): Max retries ex
参考requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8123): Max retries ...
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘localhost‘, port=8097): Max retries excee
问题描述: 使用nohup - > log.txt &命令训练深度学习模型时,输出日志报错Connection to remote host was lost- 相关命令可见我的另一篇博 ...
- 解决python爬虫requests.exceptions.SSLError: HTTPSConnectionPool(host=‘XXXXXXX‘, port=443)问题
报错如下 Traceback (most recent call last):File "C:/Users/17653/Desktop/测试.py", line 23, in &l ...
- http request header 中的host行的作用
http request header 中的host行的作用 转载:https://www.xuebuyuan.com/491841.html 小结于网络资源: 在早期的Http 1.0版中,Http ...
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
Ubuntu下测试ssh时使用ssh localhost 命令,出现错误提示connect to host localhost port 22:Connection refused 造成这个错误的原因 ...
- mac connect to host localhost port 22: Connection refused
在Mac OS X 10.10.5学习hadoop的过程中,输入命令ssh localhost得到 ssh: connect to host localhost port 22: Connection ...
最新文章
- 准备好啦!!SaaS开发者社群正式对外招募
- h5中的结构元素header、nav、article、aside、section、footer详解
- JS判断鼠标从哪个方向进入DIV容器
- armv7 cortex a系列编程手册_AWTK能为现代GUI编程带来何种改变?
- mysql的DbUtils_Dbutils操作mysql
- JSP知识点大致介绍1
- php多人访问抽奖倒计时一致,Javascript和PHP倒计时器为每个人显示相同的计时器...
- leetcode 最长回文子串
- hadoop集群_使用docker部署hadoop集群
- IE和Chrome都将支持asm.js
- springBoot于tomcat7搭建websocket服务
- C语言学习心得 Caiwentao
- 介绍两种常见软件开发模式:“敏捷”和“瀑布”
- 【应用实例】基于Icepak油泵系统热仿真
- 人性:《少年pi的奇幻漂流》和《一九四二》连看小感
- XSSFWorkbook 设置单元格样式_这个 Excel 技巧太实用了,如何快速套用自定义的单元格样式?...
- 高通QCM6125的LK部分(uefi/xbl)编译
- 怎么区别业务架构、软件架构、系统架构、解决方案架构、企业架构?
- 3.BootLoader引导启动程序
- hybrid a* 和dwa 结合(自动泊车,倒车入库)