mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #285] Goproxy stops working because of update check fail #203
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xtrime-ru on GitHub (Jun 23, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/285
Goproxy stops working because of update check fail.
Expected Behavior
do not exit on update check fail
Current Behavior
Goproxy stops working because of update check fail.
Possible Solution
Do not exit from goproxy on update check fail. Reduce update checks.
Steps to Reproduce
Run old version of goproxy with supervisor or --forever mode.
Context (Environment)
Detailed Description
Im running goproxy with supervisor and it restart it on fail. Probably my ip was banned on cloudflare because too many connections because of restarts of goproxy.
@snail007 commented on GitHub (Jun 24, 2019):
your IP have behavior of attacking , was blocked.
@gemingguo commented on GitHub (Jun 24, 2019):
I also have the problem yesterday ,the proxy program has run on aliyun server for 1 month,and yesterday the program was broken down suddenly,when i open debug mode,it show the error: update check fail, i don't know how to resolve it,and i was very upset, why does it must update?
@fox0014 commented on GitHub (Jun 24, 2019):
how can fix?
@healthly commented on GitHub (Jun 24, 2019):
the same problem
@snail007 commented on GitHub (Jun 24, 2019):
i will unban your ip.
@xtrime-ru commented on GitHub (Jun 24, 2019):
if proxy in --forever mode, or monitored and restarted by supervisor you will get this "attack" after every update :)
This is how my log looks like:
@xtrime-ru commented on GitHub (Jun 24, 2019):
Thanks.
I updated goproxy to latest version, then added this line to my /etc/hosts:
This will disable requests to update server and your ip will be unbaned in a day. But goproxy still will restart every few seconds. After ip is unbanned - disable this line and goproxy will work untill next update :)
@snail007 commented on GitHub (Jun 24, 2019):
that's right,you are smart.
i have already updated service of checker, it's will work well with --forever.
@oneryx commented on GitHub (Jun 25, 2019):
Same issue with v7.6, IP 203.211.125.64.
It would be better if it could run without update check.
@snail007 commented on GitHub (Jun 25, 2019):
https://github.com/snail007/goproxy/wiki/%E6%8F%90%E7%A4%BA%E8%AE%BF%E9%97%AE%E6%9B%B4%E6%96%B0%E5%A4%B1%E8%B4%A5%EF%BC%9F
@oneryx commented on GitHub (Jun 25, 2019):
这个是解决不能连外网的问题吧?现在的问题是可以联网但是不知道为什么IP被列入黑名单,进入了黑名单就意味着不能使用了,必须要等人工解锁。
@snail007 commented on GitHub (Jun 25, 2019):
unbanned
@snail007 commented on GitHub (Jun 25, 2019):
#286