前言

最近做爬虫项目时报错


错误信息如下:

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2142)at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)at com.zcw.job.ChageIPJob.main(ChageIPJob.java:48)

解决思路

我修改了,自己的JDK配置:

Proxy returns “HTTP/1.1 407 Proxy Authentication Required相关推荐

  1. Windows Live Writer 配置报407 Proxy Authentication Required错误

    在Windows 7 专业版上面安装Windows Live Writer后(版本号:14.0.8117.416),配置博客服务过程中报错(如下图所示) 错误信息为:407 Proxy Authent ...

  2. Error:Unable to tunnel through proxy. Proxy returns HTTP/1.1 400 Bad Request

    (1) 网上下载了一个android应用:死活用不了,查了以下,原来是android studio版本不对,于是把android studio的版本从2.2 升级到3.0,后来发现没法升级,只能下载, ...

  3. Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns HTTP/...

    SVN地址更换重新导入项目到AS后,点击编译报错: Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Pr ...

  4. nginx正向代理访问微信接口502错误, Unable to tunnel through proxy. Proxy returns \“HTTP/1.1 502 Bad Gateway\

    问题: nginx正向代理访问微信接口报错502, Unable to tunnel through proxy. Proxy returns "HTTP/1.1 502 Bad Gatew ...

  5. HarmonyOS初探03——DevEco Studio创建应用问题ERROR Unable to tunnel through proxy. Proxy returns HTTP1.1 403

    问题 在内网环境下首次使用DevEco Studio创建应用时,可能会报如下问题: ERROR: Unable to tunnel through proxy. Proxy returns " ...

  6. 使用代理IP发送请求,出现502错误 java.io.IOException: Unable to tunnel through proxy. Proxy returns “HTTP/1.1 502

    今天有客户咨询使用代理IP请求一个国外网址(https://read.qxmd.com/),这个网址在国内打开速度比较慢,然后报错了 java.io.IOException: Unable to tu ...

  7. mysql proxy 延迟严重_使用MySQL Proxy解决MySQL主从同步延迟

    MySQL的主从同步机制非常方便的解决了高并发读的应用需求,给Web方面开发带来了极大的便利.但这种方式有个比较大的缺陷在于MySQL的同步机制是依赖Slave主动向Master发请求来获取数据的,而 ...

  8. [报错]执行npm install.报If you are behind a proxy,please make sure that the proxy cinfig is set property.

    问题:运行npm 命令报错.运行npm cache clean --force清理缓存后,仍然报错. 原因一:代理的默认地址为proxy=http://127.0.0.1:8087 . 解决方法:运行 ...

  9. Redis (error) NOAUTH Authentication required.解决方法

    出现认证问题,应该是设置了认证密码,输入密码既可以啦 注意密码是字符串形式! [plain] view plaincopy 127.0.0.1:6379> auth "yourpass ...

最新文章

  1. 【计算理论】可判定性 ( 对角线方法 | 使用对角线方法证明 通用任务图灵机 语言 不可判定 )
  2. Oracle服务自动启动脚本
  3. mysql DML操作、关联查询、联合查询、聚合函数使用
  4. word中如何隐藏表格线框
  5. 报错:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
  6. awstats 简单日志分析
  7. 基于android的简单网页_成都APP开发:APP原生和网页开发有什么区别?
  8. C/C++日志写入系统log(/var/log/syslog)
  9. var _ biz.GreeterRepo = (*greeterRepo)(nil)的总结
  10. html video 笔记
  11. 通过PHP访问MYSQL外文书籍,通过PHP访问MySQL外文翻译(模版2)
  12. mysql frm myd myi 恢复_恢复 - 如何从.myd,.myi,.frm文件恢复MySQL数据库
  13. Bootstrap Slider轮播图片样式控制
  14. 小程序源码:独家全新娱乐性超高的喝酒神器
  15. 海外游戏广告投放渠道
  16. 抖音小店开店前要准备什么?入驻流程是什么?
  17. 稳定性、鲁棒性、与非脆弱性的区别
  18. Rserver部分配置
  19. tensorflow安装2022/3/12
  20. oracle 授权 解锁,给scott解锁和授权

热门文章

  1. 技术人生的职场众生相 - 十多年的经验与心得
  2. post请求302以及post请求变更为get请求的问题排查小记
  3. 【shell】笔记|去重复行|删除匹配行|反选删除|反向显示|加减乘除
  4. 百度统计工具是什么?百度统计工具有什么用呢?
  5. Java实现压缩文件与解压缩zip文件
  6. [luogu] P4735 最大异或和
  7. 二进制LDPC码的构造及译码算法
  8. 前端工程化实践总结 | QQ音乐商业化Web团队
  9. 【密码学】DES加解密原理及其Java实现算法
  10. 什么是Mysql的next-key、插入缓冲、二次写、自适应哈希索引和预读