-
Notifications
You must be signed in to change notification settings - Fork 325
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
IPFS Companion going on local gateway, but with wrong schema when in video #954
Comments
@lidel Is this something you might be able to investigate when you're back? Thank you! |
Thank you for detailed bug report @provirus 👍 I was able to reproduce the bug and confirm it is limited to Chromium-based browsers. Firefox 84.0.2 💚Chromium 88.0.4315.5 💔Further look into Chromium behavior revealed that our extension correctly redirects to Initial thoughts
Workaround@provirus let us know if any of below is feasible. For usersIf you want a quick fix as a Companion user, either toggle IPFS for this specific website via main menu: or go to Companion Preferences and disable header detection globally: For website adminIf you are the owner of
|
Hi,
That is what I did in the meantime. I reenabled it for fun and actually, it is now working correctly. I am checking the versions:
So, both versions changed and now all is good. I must be lucky :)
Actually, I didn't put one since all of them are all serving /ipns/cdn.foilen.com . There is no need for regional difference when on IPFS. Thinking about it, maybe the fix is because now it can use the DNSLink for cdn.foilen.com instead of waiting for the X-Ipfs-Path since cdn.foilen.com is not returning any X-Ipfs-Path (the regional ones are returning X-Ipfs-Path) , but the url that it downloads is http://127.0.0.1:8080/ipns/cdn.foilen.com/foilen/HandBrake%20-%20Transcoder%20une%20video.mp4 (so the one with the cdn.foilen.com domain) thanks again |
If you expose x-ipfs-path header, a DNSLink should also be there. It would not hurt :) Anyway, glad this helped. |
added it to my regional host names as well then. That could also be good if someone bookmarked the redirection. |
Browser Setup
What is working (direct link to the video)
Steps:
What is not working (when in a video tag)
Steps:
What is strange is that on the second call, it gets the right url to use, but on the third one, it decided to modify the url to HTTPS instead of keeping the HTTP.
thanks
The text was updated successfully, but these errors were encountered: