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

Socks5 proxy is not working with 127.0.0.1 or host.docker.internal #60

Open
linonetwo opened this issue Oct 12, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@linonetwo
Copy link

In #59 , I tried both one, and still getting

13:02:56.240 [DefaultDispatcher-worker-1] �[1;31mERROR�[0;39m suwayomi.tachidesk.manga.impl.extension.github.ExtensionGithubApi - Failed to get extensions from GitHub
java.net.ConnectException: Failed to connect to raw.githubusercontent.com/0.0.0.0:443
	at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:256)
	at okhttp3.internal.connection.ConnectPlan.connectTcp(ConnectPlan.kt:128)
	at okhttp3.internal.connection.FastFallbackExchangeFinder$launchTcpConnect$1.runOnce(FastFallbackExchangeFinder.kt:138)

in the log.

截屏2023-10-12 21 51 12

And it is hard to say if this config is really working.

@linonetwo
Copy link
Author

linonetwo commented Oct 12, 2023

Maybe socks5 is OK. raw.githubusercontent.com error is caused by DNS pollusion. Adding hosts to docker config solves this:

raw.githubusercontent.com:151.101.76.133

but I'm not sure if socks5 is working, because loading things in sources is very slow.

Adding a export http_proxy=http://host.docker.internal:1080 into D:/Tachidesk-Comic/proxy.sh and bind volume to /home/suwayomi/.local/share/Tachidesk and modify CMD to

CMD | /bin/sh /home/suwayomi/startup/startup_script.sh /home/suwayomi/.local/share/Tachidesk/proxy.sh

seem to work.

@Syer10 Syer10 added the bug Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants