Could not get any response postman报错 但是浏览器可以访问

Could not get any response postman报错 但是浏览器可以访问答案在最后一张图片案例分析把postman报错的信息复制再这里,你去翻译一下CouldnotgetanyresponseTherewasanerrorconnectingtohttp://118.xxx.xxx.10:11134/api-customer/…

大家好,又见面了,我是你们的朋友全栈君。

                                                     答案在最后一张图片 

案例分析Could not get any response postman报错 但是浏览器可以访问

把postman报错的信息复制再这里,你去翻译一下

Could not get any response
There was an error connecting to http://118.xxx.xxx.10:11134/api-customer/terminal/user/information.
Why this might have happened:
The server couldn't send a response:
Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:
Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectly
Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:
Change request timeout in Settings > General

 老夫用网易有道翻译如下

 

没有得到任何回应
有一个错误连接到http://118.xxx.xxx.10:11134/api-customer/terminal/user/information。
原因:
服务器无法发送响应:
确保后端正常工作
自签名SSL证书被阻塞:
通过在设置> General中关闭“SSL证书验证”来修复这个问题
代理配置不正确
确保在设置>代理中正确配置了代理
请求超时:
更改>设置中的请求超时

此时按照教程和百度结果是叫你改设置

Could not get any response postman报错 但是浏览器可以访问

Could not get any response postman报错 但是浏览器可以访问

Could not get any response postman报错 但是浏览器可以访问

如果成功了,那就好了,如果不成功,那么是因为

原因1:头部传入了接口不需要的参数,并且body也传入了参数,如图

Could not get any response postman报错 但是浏览器可以访问

原因2:高频错误(输入格式不小心)

Could not get any response postman报错 但是浏览器可以访问

 

 

Could not get any response postman报错 但是浏览器可以访问

 以下是热心网友遇到的问题,我在这里显示的展示出来,方便有相同问题的老铁少走弯路

Could not get any response postman报错 但是浏览器可以访问

当然顺便提一下:可能接口名称参数都正确,但是接口是使用的网关访问,结果postman压根没有反应,可能服务是ok的,但是网关getway挂了(针对微服务接口调试而言的)

不要偷懒,可能就是空格,大小写,甚至某个字母错了,赶紧重新添加上去,因为只有这些情况,如果还是没有解决,那么告诉我,留言,我去找postman,和它大战300回合

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/138412.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(3)
blank

相关推荐

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号