KindleEar icon indicating copy to clipboard operation
KindleEar copied to clipboard

打开ofcoder.com的网页报Too many redirections错误

Open hjianhao opened this issue 5 years ago • 3 comments

Too many redirections:https://www.ofcoder.com/2020/08/12/theory/分布式一致性协议 - ZAB/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io

我手工设置最大跳转次数到30也是一样 opener = URLOpener(self.host, timeout=self.timeout, maxredirect=30)

用浏览器打开网页正常,而且好像没有跳转

hjianhao avatar Jan 29 '21 07:01 hjianhao

可以在本机调试环境测试一下是否一样的错误,有时候是网站封锁gae的ip,代理字符串设置可能也导致此问题

cdhigh avatar Jan 29 '21 10:01 cdhigh

我就是本机调测的错误,还没有上GAE

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: cdhighmailto:[email protected] 发送时间: 2021年1月29日 18:52 收件人: cdhigh/KindleEarmailto:[email protected] 抄送: Jason Huangmailto:[email protected]; Authormailto:[email protected] 主题: Re: [cdhigh/KindleEar] 打开ofcoder.com的网页报Too many redirections错误 (#639)

可以在本机调试环境测试一下是否一样的错误,有时候是网站封锁gae的ip,代理字符串设置可能也导致此问题

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcdhigh%2FKindleEar%2Fissues%2F639%23issuecomment-769731921&data=04%7C01%7C%7C1daeca577212411ef92f08d8c443fa87%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637475143530277515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aTHY8J6cNHnX0N2rryNehh1tZA5BJA1oIVnIxrcHLeg%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABORX5Z4ZLWKUXPHYXSJPODS4KHO5ANCNFSM4WYM5M3A&data=04%7C01%7C%7C1daeca577212411ef92f08d8c443fa87%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637475143530277515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Fc3lq5t5jqcnGpDn53DAlc9VCU7jQOESta12N1cRT8I%3D&reserved=0.

hjianhao avatar Jan 29 '21 14:01 hjianhao

能帮忙调试一下吗,看是什么问题,然后提一个pull requests

cdhigh avatar Jan 29 '21 15:01 cdhigh