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

Mozwire never terminate after login in browser #59

Closed
Marzal opened this issue Apr 15, 2023 · 6 comments
Closed

Mozwire never terminate after login in browser #59

Marzal opened this issue Apr 15, 2023 · 6 comments

Comments

@Marzal
Copy link

Marzal commented Apr 15, 2023

Hi, first thanks for this project, I did use it a year ago and since then I've been using the wireguard connection thanks to you. But last week wireguard started refusing to connnect so I would like to check again the endpoint configs.

But similar to #55 with the exception that "--no-browser" makes no difference, I can't get the token and the CLI keeps waiting and never gets the "Login successful"

imagen

There is something that I'm missing? I'm on the same PC using MozWire and Firefox

@Marzal Marzal changed the title Mozwire nevers terminate after login in browser Mozwire never terminate after login in browser Apr 15, 2023
@NilsIrl
Copy link
Owner

NilsIrl commented Apr 15, 2023

If you're on the same computer I'm not sure why that's the case.

@Marzal
Copy link
Author

Marzal commented Apr 15, 2023

There is any debug/verbose mode to see what happening between the terminal/mozwire/browser ?

How does mozwire get the event after the login in the browser?

@NilsIrl
Copy link
Owner

NilsIrl commented May 2, 2023

There is any debug/verbose mode to see what happening between the terminal/mozwire/browser ?

Not particularly. You could use your browser's Network tool (inside of developer tools)

How does mozwire get the event after the login in the browser?

The browser will emit a request on a random port to localhost.

@Marzal
Copy link
Author

Marzal commented May 2, 2023

Thanks, with the developer tools I was able to find that a extension (uBlock Origin) was stopping the connection to 127.0.0.1.

It's now fixed and working 👌

@Marzal Marzal closed this as completed May 2, 2023
@NilsIrl
Copy link
Owner

NilsIrl commented May 2, 2023

That's weird, maybe it should be reported to uBlock Origin. Also I assume that if you encountered this issue with MozWire it must also be present in the official client?

@Marzal
Copy link
Author

Marzal commented May 3, 2023

Probably, but I don't use the official client, I export the config to a OpenWrt router.

I have found the exact culprit, is an opt-in privacy list in uBlock Origin (Block Outsider Intrusion into LAN)

https://github.com/uBlockOrigin/uAssets/blob/master/filters/lan-block.txt

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

No branches or pull requests

2 participants