-
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
the IPFS companion is disabled even with Kubo is running #1298
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Thanks for submitting this issue @siiky, did you notice a pattern between sleeps? in the new companion MV3 implementation, the companion can actually go to sleep as companion does not interact with an active request. However the browser should already have the rule and this should automatically redirect. I'll try reproducing this (not been successful so far) but this most likely looks like a bug with the MV3 implementation in chromium browser as per preliminary investigation. Please keep me posted if you find a reliable way to reproduce or the problem worsens. |
Hey @whizzzkid, thanks for taking a look. I noticed that the companion is offline whenever I open the browser, i.e., if I close and open the browser again, it'll be offline. Note that I'm using Firefox, not Chromium/Chrome (maybe that's not what you meant, just wanted to clarify). Also added to the report the companion version I'm currently using: 3.1.0.
That's kind of working. With the companion offline, if I open e.g. ipns://ipfs.tech/, I'll be redirected to https://ipfs-tech.ipns.dweb.link/ instead of to http://ipfs.tech.ipns.localhost:8081/ |
I'm experiencing the same thing in ipfs/ipfs-webui@a43dd23 on FireFox in Windows (118.0.1 (64-bit)) and the extension claims it's 3.1.0. |
Indeed, unless I manually click on it and force it to activate, it doesn't redirect me to my Kubo node (which almost defeats the purpose of why I run it). |
It's happening in FireFox on Windows too - I don't know if it's just Chromium browsers. |
And strangely enough, 3.1.0 on Chrome Version 117.0.5938.134 (Official Build) (64-bit) (Windows) DOES NOT display this odd behaviour. |
@whizzzkid What version of Firefox are you using? I noticed this happens on another one of my laptops, both using Firefox beta. Could be Firefox beta specifically..? |
I'm not using beta versions of Firefox, though and it is happening to me. See my above reports.
…On 9 Oct 2023 07:47, > siiky ***@***.***> wrote:
@whizzzkid What version of Firefox are you using? I noticed this happens on another one of my ptops, both using Firefox beta. Could be Firefox beta specifically..?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***
|
Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days. |
@whizzzkid What's confusing? It doesn't work on the version of FireFox I've got installed in Manjaro linux as well. Sometimes I've noticed that even the same versions of FireFox work subtly differently depending on one's operating system? |
@lloy0076 Looks like this is isolated to firefox on linux. This is not happening on mac, to verify, I tried:
I think I need to try this on a linux machine to reproduce, unless there is reliable way to reproduce this. Next time this happens, can you please go to: |
Step 1. Install Windows 11 PRO Step 4. Find some kubo instance running on the local network or on a network that you know should work
Of course make sure that the kubo / ipfs "thing" works; that one does; see the attached image. But DO NOT be confused that the icon is "working" --> it only works when you click it, wait 10-30 seconds or more etc (because the inspector clearly says that background thread isn't running). |
Do ALL the above but install Manjaro Linux somehow (e.g. this ISO is the particular one I used: manjaro-gnome-23.0-230903-linux65.iso). @whizzzkid NOTE that I only installed it on Linux to see if FireFox on Linux had the same issue. I don't usually use Linux for Desktop stuff (I'd like to, but too much stuff I use is Windows dependent but this is off topic). The only reason I put it on Linux was to see if, for some stupid reason, the underlying OS affected the issue. I would hazard a guess it's got something to do with the FireFox version(s). What the issue I am seeing is NOT:
|
NB. https://ipfs.io/ipfs/QmcjKJDsEdXmRmgjvhE9CfPdjk2gB9AMUBurbarnwkiJoe might work: it should say:
|
I have this problem in brave. Solved by de installing extension, go to brave settings and check "IPFS companion" checkbox. it got installed again and now it works ok. |
Describe the bug
Starting with one of the latest 2 or 3 releases, the IPFS companion seems to be disabled from time to time, even if Kubo is running.
When that happens, if I open a site such as
ipfs.tech
, it'll load through HTTP instead of redirecting tohttp://ipfs.tech.ipns.localhost:8081
. If I hit the icon on the browser to open the companion menu, it'll then connect to Kubo and everything works as usual.To Reproduce
I haven't found a pattern, it just happens sometimes... I can be sure that Kubo is running, however -- notice the Active line, it's been up for 2 weeks and 3 days:
(Those logs are from more than 2 weeks ago, they don't seem related? Could be wrong... I just didn't get around to taking care of that yet.)
Expected behavior
If Kubo is running, the companion should automatically connect and stay connected.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: