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

can't load videos on WeChat when Brook is connected lol #1337

Open
godbout opened this issue Feb 11, 2024 · 9 comments
Open

can't load videos on WeChat when Brook is connected lol #1337

godbout opened this issue Feb 11, 2024 · 9 comments

Comments

@godbout
Copy link

godbout commented Feb 11, 2024

happens at least on iPhone. once i'm connected through Brook, some of the traffic doesn't go through. like can't load WeChat videos. some sites return a 502 bad gateway. and even localhosts on my Mac don't load lol. any info i can give to debug? (if you care of course)

@txthinking
Copy link
Owner

like can't load WeChat videos.

Yes I know this issue, I have tried debug it, but not success, maybe wechat want to p2p or udp packet size, sorry I have no idea with wechat.

some sites return a 502 bad gateway

This is usually not a problem for Brook. maybe related service your want to visit and your IP, because 502 is not an error at the transport layer(TCP/UDP). it is a application layer(HTTP) error

localhosts on my Mac don't load

because Brook considers localhost to be a domain name, no different with google.com.
But you listen and visit [::1]:8080, or force localhost to loopback one of v4 ip or v6 ip and block one, or both with module

@godbout
Copy link
Author

godbout commented Feb 11, 2024

Yes I know this issue, I have tried debug it, but not success, maybe wechat want to p2p or udp packet size, sorry I have no idea with wechat.

alright. thank you Sir!

This is usually not a problem for Brook. maybe related service your want to visit and your IP, because 502 is not an error at the transport layer(TCP/UDP). it is a application layer(HTTP) error

makes sense. the first URL that comes to mind is: https://appleid.apple.com
both failing on iPhone and Mac, but yeah, might be related to Apple's services.

because Brook considers localhost to be a domain name, no different with google.com. But you listen and visit [::1]:8080, or force localhost to loopback one of v4 ip or v6 ip and block one, or both with module

interesting. 谢谢你。that answers. can close once you read 👍

@txthinking-bot
Copy link

apple auth service blocked most IDC IP
by unknown

@txthinking-bot
Copy link

and apple push service block ALL IDC IP
by unknown

@godbout
Copy link
Author

godbout commented Feb 12, 2024

clear 👍️ 辛苦了

@godbout
Copy link
Author

godbout commented Feb 27, 2024

a little more strange thing regarding the "localhost". i have local dev sites running at urls like "https://hq.sleeplessmind.com.mo.test/" for example. loading all fine on Safari, but keep loading and can't never connect using Brave 😅️ as soon as i close Brook, then Brave load the dev site all fine 🤔️ tried to go through the settings but can't find anything. any idea? 🥺️ 辛苦了

@godbout
Copy link
Author

godbout commented Feb 29, 2024

https://www.txthinking.com/talks/articles/brook-fakedns-en.article https://www.txthinking.com/talks/articles/brook-ipv6-en.article it looks like Brave has own DOH? by unknown

omg i'm learning so much 哈哈哈哈哈哈

had no idea about DOH. my god Brook is such a genius (means you). so the way i've fixed this on my side is playing with the following Settings in Brave:

Screenshot 2024-02-29 at 13 40 32

enable/disable the secure DNS didn't change anything. then i've tried different DNS and they all failed UNTIL i came back to the OS one. then it started working lol. so maybe an issue with Brave not refreshing when Brooks connects? no idea. anyways. solved now. glad i've learned a bit and understand a bit more. 谢谢你

@godbout
Copy link
Author

godbout commented Apr 1, 2024

today i was in 中国 and i kept having issues with running web proxies in a VM, especially using shared network. and especially Zap (seems Burp was ok) and i think this is related to the same issue, with the local stuff not working. just adding here because of my own Alzheimer. and also i see that i had somehow find some solutions for Brave and post it right above but had forgotten about it lol

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

3 participants