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

Exit automatically if log = 0 #165

Closed
pffang opened this issue Aug 23, 2022 · 4 comments
Closed

Exit automatically if log = 0 #165

pffang opened this issue Aug 23, 2022 · 4 comments

Comments

@pffang
Copy link

pffang commented Aug 23, 2022

Px-proxy version 0.8.3 can only work with log = 1 on my Windows 10 PC.
If log = 0, px-proxy will exit automatically in several minutes.

@genotrance
Copy link
Owner

How is px installed? Is it the compiled binary, installed via pip or run directly with Python?

Also, does it work for some time, responding to incoming connections and then quit, or quit during startup? Does it quit for a specific site or url or is it completely random?

It seems like there's an error occurring that isn't being caught. It's hard to tell since it could be happening anywhere and lots of code has changed recently.

If you can reproduce it consistently, we could narrow it down by trying older versions until it stops happening but that might be a bunch of testing.

@genotrance genotrance added the bug label Sep 29, 2022
@pffang
Copy link
Author

pffang commented Sep 29, 2022

Just extract from px-v0.8.3-windows.zip and run px.exe.

It can work fine for a while after its startup. But then the process disappear from task manager.

I think it's not related to specific site or URL. Even I don't connect any client to it, it still quits automatically after several minutes.

Because log is disabled, I cannot get any useful information.
This issue always happen in my side, maybe you can have a try with package px-v0.8.3-windows.zip and 'log = 0' in your side.

@genotrance
Copy link
Owner

I tried this on my test systems and Px ran for the whole day with no issues. There's obviously something happening but checking the code and testing didn't give me any ideas.

Does it also crash eventually with debug? Are you sure there's nothing using Px through this time?

I agree it's super hard to tell what's happening here without debug. Perhaps you can try pythonw px.py instead of the Px binary and see if you can find some more info.

@pffang
Copy link
Author

pffang commented Feb 9, 2023

Sorry for late reply.
About two months ago, I compiled a version base on master branch, it works fine.
New version 0.8.4 also works fine now.
I think we can close this issue.

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

No branches or pull requests

2 participants