You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally, local ipfs node/daemon isn't restarted and running on browser restart
Steps to Reproduce
load ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html in a new profile
click Use a local node on the interstitial page
load ipns://en.wikipedia-on-ipfs.org in a new tab
shut down Brave
re-launch the browser
wait for the reopened tabs to load
repeat steps 4-6 until you see the error below
load brave://ipfs-internals and look at the node status
Actual result:
At some point, you'll run into this Can't load resources using local node error; the daemon/local node isn't running, at this point
I don't see anything unusual in the logs:
generating ED25519 keypair...done
peer identity: 12D3KooWSffcx86kMLgkgaoT9iGATh3sqmSuiFtECkPKxQJXTJ42
initializing IPFS node at /Users/stephendonner/Library/Application Support/BraveSoftware/Brave-Browser-Nightly/brave_ipfs
to get started, enter:
ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
Error: daemon not running
Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.4
Swarm listening on /ip4/10.0.0.19/tcp/44002
Swarm listening on /ip4/127.0.0.1/tcp/44002
Swarm listening on /ip6/2002:6398:716c:0:1436:784e:aec9:6a76/tcp/44002
Swarm listening on /ip6/2002:6398:716c:0:2d0b:e962:90af:a5cf/tcp/44002
Swarm listening on /ip6/2002:6398:716c:0:5925:80a7:d4fa:eb29/tcp/44002
Swarm listening on /ip6/::1/tcp/44002
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.0.0.19/tcp/44002
Swarm announcing /ip4/127.0.0.1/tcp/44002
Swarm announcing /ip6/::1/tcp/44002
API server listening on /ip4/127.0.0.1/tcp/45002
WebUI: http://127.0.0.1:45002/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/48081
Daemon is ready
Expected result:
Local ipfs node relaunches/restarts, and tab content loads upon browser restart/restore.
Reproduces how often:
It reproduces 100% of the time if you give the shutdown-and-restart steps enough tries; sometimes it takes a while for it to happen, and other times, it happens immediately on relaunch (less common). Perhaps it's a timing/race-condition thing.
Description
Occasionally, local ipfs node/daemon isn't restarted and running on browser restart
Steps to Reproduce
ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html
in a new profileUse a local node
on the interstitial pageipns://en.wikipedia-on-ipfs.org
in a new tabbrave://ipfs-internals
and look at the node statusActual result:
At some point, you'll run into this
Can't load resources using local node
error; the daemon/local node isn't running, at this pointI don't see anything unusual in the logs:
Expected result:
Local ipfs node relaunches/restarts, and tab content loads upon browser restart/restore.
Reproduces how often:
It reproduces 100% of the time if you give the shutdown-and-restart steps enough tries; sometimes it takes a while for it to happen, and other times, it happens immediately on relaunch (less common). Perhaps it's a timing/race-condition thing.
Found while testing #14328.
Brave version (brave://version info)
@spylogsster @lidel any debug logging I can help add, here?
The text was updated successfully, but these errors were encountered: