Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After a few requests the proxy seems to go in a loop without serving more data #154

Closed
halloleo opened this issue Jun 27, 2022 · 2 comments
Labels

Comments

@halloleo
Copy link

I have a strange issue with px 0.8.0 (and before with 0.7.2) under RHEL 7.9:

After a few requests, px goes into a loop where the log looks like this:

.
.
.
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Handles = 0
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Multi not ready for new curl
Process-1: Thread_1: 1656312499: /do_curl/do/add: b6a4bfec207aef01440475ff43cc0bf98250f5ed: Handles = 0
Process-1: Thread_1: 1656312499: /do_curl/do/add: b6a4bfec207aef01440475ff43cc0bf98250f5ed: Multi not ready for new curl
Process-1: Thread_2: 1656312499: /do_curl/do/add: e4376a3d31f9a2d1593dfb8afa0bb17597f4bab8: Handles = 0
Process-1: Thread_2: 1656312499: /do_curl/do/add: e4376a3d31f9a2d1593dfb8afa0bb17597f4bab8: Multi not ready for new curl
Process-1: Thread_3: 1656312499: /do_curl/do/add: 731af7aa4e47cb0dbb248944e0a6bda5b99871de: Handles = 0
Process-1: Thread_3: 1656312499: /do_curl/do/add: 731af7aa4e47cb0dbb248944e0a6bda5b99871de: Multi not ready for new curl
Process-1: Thread_4: 1656312499: /do_curl/do/add: e4b2bc37b641c6282e1c92b3a3a8a20ddf6ac324: Handles = 0
Process-1: Thread_4: 1656312499: /do_curl/do/add: e4b2bc37b641c6282e1c92b3a3a8a20ddf6ac324: Multi not ready for new curl
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Handles = 0
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Multi not ready for new curl
Process-1: Thread_1: 1656312499: /do_curl/do/add: b6a4bfec207aef01440475ff43cc0bf98250f5ed: Handles = 0
Process-1: Thread_1: 1656312499: /do_curl/do/add: b6a4bfec207aef01440475ff43cc0bf98250f5ed: Multi not ready for new curl
Process-1: Thread_2: 1656312499: /do_curl/do/add: e4376a3d31f9a2d1593dfb8afa0bb17597f4bab8: Handles = 0
Process-1: Thread_2: 1656312499: /do_curl/do/add: e4376a3d31f9a2d1593dfb8afa0bb17597f4bab8: Multi not ready for new curl
Process-1: Thread_3: 1656312499: /do_curl/do/add: 731af7aa4e47cb0dbb248944e0a6bda5b99871de: Handles = 0
Process-1: Thread_3: 1656312499: /do_curl/do/add: 731af7aa4e47cb0dbb248944e0a6bda5b99871de: Multi not ready for new curl
Process-1: Thread_4: 1656312499: /do_curl/do/add: e4b2bc37b641c6282e1c92b3a3a8a20ddf6ac324: Handles = 0
Process-1: Thread_4: 1656312499: /do_curl/do/add: e4b2bc37b641c6282e1c92b3a3a8a20ddf6ac324: Multi not ready for new curl
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Handles = 0
Process-1: Thread_0: 1656312499: /do_curl/do/add: d32cf7deb03f03e779fb02ba5389ab4ded0892e6: Multi not ready for new curl
Process-1: Thread_2: 1656312499: /do_curl/do/add: e4376a3d31f9a2d1593dfb8afa0bb17597f4bab8: Handles = 0
.
.
.

My px ini file looks like this:

[proxy]
server = myserver:3129
pac = 
port = 3128
listen = 127.0.0.1
allow = *.*.*.*
gateway = 1
hostonly = 0
noproxy = 
useragent = 
username = DOMAIN\user
auth = NTLM

[settings]
workers = 2
threads = 5
idle = 30
socktimeout = 20.0
proxyreload = 60
foreground = 0
log = 1

Any idea what this is caused by? How can I provide more information?

@genotrance genotrance added the bug label Jun 28, 2022
@genotrance
Copy link
Owner

Thanks for the report - I found this just a couple days ago and have a fix which is being tested and should be out soon.

@halloleo
Copy link
Author

Thanks @genotrance. Just installed 0.8.2 and I do not get into this loop anymore. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants