I can't open webui ,how can i recovery

I can’t open webui.as follow:


when i Ctrl+C terminate ipfs daemon,a mistake arise.

shihj@shihj-virtual-machine:~$ ipfs daemon
Initializing daemon…
Adjusting current ulimit to 2048…
Successfully raised file descriptor limit to 2048.
Swarm is limited to private network of peers with the swarm key
Swarm key fingerprint: 02f4590fa496e6626e2f62ba8992bbf2
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.1.12/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit/ipfs/QmV7ZZrc76gPqSgVFsphwKWRTUzKZPs9Ewj3Ssu1d4Aftp
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/171.214.177.154/tcp/17178
Swarm announcing /ip4/192.168.1.12/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
21:40:17.439 ERROR core/serve: ipfs resolve -r /ipfs/QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ/: Failed to get block for QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ: context canceled gateway_handler.go:621
^C
Received interrupt signal, shutting down…
(Hit ctrl-c again to force-shutdown the daemon.)
21:51:26.066 ERROR core/serve: ipfs resolve -r /ipfs/QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ/: Failed to get block for QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ: context canceled gateway_handler.go:621

> how can i recovery that mistake .I guess can,t open webui becase of that mistake ,how can i recovery???

Can you restart the daemon with ipfs daemon?

I also meet the same error(context canceled gateway_handler.go:621). have you resolved this issue now? could you please share the resolve method? thank you~

Is your node connected to any peers? You can list peers using ipfs swarm peers to verify.

My node does not connected with any peers now.
"
Daemon is ready

wangsh@wangsh-linux:~ wangsh@wangsh-linux:~ ipfs swarm peers
wangsh@wangsh-linux:~ wangsh@wangsh-linux:~
"
Do I need the public or fixed IP adress to connect with other peers?
Now, I tested in my home network without the fixed(public) IP adress.

What’s your networking setup like? Are there any firewalls that would be blocking connections to the bootstrapping nodes?

I’m having trouble finding it now, but I seem to remember coming across an issue in the past where the webui won’t load if you can’t connect to any other nodes.