-
Notifications
You must be signed in to change notification settings - Fork 12
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
ERROR [__main__] A JuicePass Proxy task failed: ValueError: reuse_port not supported by socket module (run on Windows) #86
Comments
Awesome find. My setup just did the same thing when I tried setting it up:
Possibly an issue of little consequence since the target system is Linux (within Home Assistant), but for debug testing on a separate machine, this could be fixed to make life easier. |
Now. I change more to support Windows and can run as long service.
|
FWIW, whenever I pull the latest commit, the first/only thing I have to change is "reuse_port=False" in two lines. There's a tradeoff in making that second (unrelated) change - it's likely meant as a safeguard against the software becoming unstable, but it does indeed have the effect of "crashing" if the box is ever offline (which mine is, unplugged 99% of the time because I'm a giant nerd always powering the JuiceBox using weird batteries and cords - I usually charge at work, ha). |
@FalconFour please check the last commit which has a option to select on command line or configuration file |
best will be if someone can detect the environment to select correct default on windows |
I run juicepassproxy on Windows. it will error by message,
ERROR [main] A JuicePass Proxy task failed: ValueError: reuse_port not supported by socket module
cause of reuse_port not compatible with Windows.
I just fix problem by edit line 83 of juicebox_mitm.py to from "reuse_port=True" to "reuse_port=False". It work correctly.
The text was updated successfully, but these errors were encountered: