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

Server settings do not resolve Windows' hosts file #6

Open
koma-cute opened this issue May 4, 2021 · 4 comments
Open

Server settings do not resolve Windows' hosts file #6

koma-cute opened this issue May 4, 2021 · 4 comments

Comments

@koma-cute
Copy link

Setting the server settings to a domain defined only in the Windows hosts file results in a "TypeError: NetworkError when attempting to fetch resource". Visiting the domain in browser works fine, as does using the IP in Tsukihi.

Example hosts:

10.1.1.1 lrr.lan
@Difegue
Copy link
Owner

Difegue commented May 4, 2021

I think this is sadly more of a browser problem, the extension itself only uses very standard JS to negotiate connection to the server; I'm not sure why connections emitted by an extension would bypass the hosts file somehow.

Does that happen on every browser? Haven't tried it myself.

@koma-cute
Copy link
Author

Not really a huge deal I guess, just the behavior was a bit weird. It doesn't seem to happen on Chrome - I was using Firefox.

@Difegue
Copy link
Owner

Difegue commented May 5, 2021

Thinking back on it, you might have DoH enabled on FF, which does not go through the hosts file iirc: https://stackoverflow.com/questions/37452361/why-is-my-hosts-file-entry-being-ignored-by-the-browser

@koma-cute
Copy link
Author

I do, but disabling it doesn't fix the issue.

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