-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
gateway subdomains: *.localhost not found #7290
Comments
Sidenote: golang |
I can't confirm this bug under ArchLinux - IPFS running on port 80 here (which shouldn't matter much). curl
ping
|
Same result with a new initialized daemon, I've just added
|
@RubenKelevra lack of support for @bmwiedemann please fill an upstream issue in openSUSE Until its fixed there, here are some workarounds:
@Stebalien what would be the best place to add above troubleshooting notes? |
Interesting, especially since ArchLinux tries always to use the minimum amount of patching/configuration. |
I am an openSUSE developer, but to get it working I still need to understand why it works for others.
and the normal external resolvers in /etc/resolv.conf |
TL;DR: Adding |
That server has no browsers installed. I was using
|
Ah, I see... we discussed special-casing curl and just not redirecting for curl. Note: |
I've filed #7293 to summarize this issue. LGTY? |
just for the record, my machine uses:
|
@lidel has the browser story changed here? |
On openSUSE, I added There will always be plenty different HTTP clients (not only browsers), so NSS is the only reliable way to solve this for all of them. |
When it comes to browser vendors, our collab with Igalia contributed to fixing this in Firefox 84 (bug 1220810). Hopefully over time, the basic sanity suggested in RFC6761#section-6.3 will get implemented at the operating system level. Until then:
|
With |
The request to:
Redirects to
I can access it in chrome, but not through Is there a way to just disable the redirect? |
Yes! 👉 With tools like Subdomain redirect on |
Hi @lidel, Thanks! I ended up figuring it out by changing my ipfs settings:
I'm only using the ipfs for my programs and not accessing them in the browser so it works for me, but I'll keep using local IP in mind if that changes. |
I followed the Safari bug link you mentioned, but it seems not about the issue. After a little bit of search, I found this: https://bugs.webkit.org/show_bug.cgi?id=160504 It seems not moving too much there :( |
I am closing this as there is nothing we can do on the Kubo side, and we don't have anything better than These are issues with DNS resolvers of some operating systems, actions to take are:
TLDR, quick fixes
|
Version information:
go-ipfs version: 0.5.0
Repo version: 9
System version: amd64/linux
Golang version: go1.14
openSUSE Leap 15.1
Description:
The web gateway from PR #6096 redirects to non-resolvable subdomains of localhost
and I can find no documentation on how to make it resolve.
The text was updated successfully, but these errors were encountered: