What happen to 22.1,It show online,but there is no any link!

My network is normal !!!
befor storj ver 22.1,the storj node run normal!
but after i upgrade it to ver 22.1, something wrong happen !!
1. I run command “sudo docker exec -it storagenode /app/dashboard.sh” It shows:
Storage Node Dashboard ( Node Version: v0.22.1 )

======================

ID           12SxqKaGQ8Y4ZvBEDN6EjBDAkbBiYbRTPLTtKEVxw7mcW8CM7f1
Last Contact ONLINE
Uptime       65h45m9s

                   Available        Used     Egress     Ingress
     Bandwidth        2.0 EB      2.4 GB     1.5 GB      0.9 GB (since Oct 1)
          Disk        9.5 TB     88.9 GB

Bootstrap 
Internal  127.0.0.1:7778
External  ming.2miner.club:28969

As we can see it show online , but the uptime seems unnormal!

2. Use the Website “Open Port Check Tool - Test Port Forwarding on Your Router” check node server port is open !


3. But But But while i use command “netstat -nat ” there is not any storj node links(port:28969),before ver 22.1 ,it has more than 40 links,now 0

ming@ming-ubuntu:~$ netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address     State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0    240 192.168.0.9:22          220.170.50.111:49439    ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN     
tcp6       0      0 :::28969                :::*                    LISTEN     
ming@ming-ubuntu:~$

What happen to my node ,what happen to storj ver 22.1! befor ver 22.1 all things run well.
How can i check what happen ?? i don’t konw how to check ,can anyone tell me how to do ?

It appears to be fine, do you have any serious error messages in logs?

docker logs --tail 20 storagenode

Is install GRPC problem ? If i find someway to install GRPC, the problem can be solved ?

I from china , the GRPC server was ban by china firewall GFW.

sudo docker logs --tail 20 storagenode
[sudo] password for ming: 
2019-10-08T07:33:54.531Z        INFO    piecestore      upload started  {"Piece ID": "UAIJEHMPIKJDFNYGSKJBWWGBUK5GIDEPUFQNP52SNPUM454OVNVA", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}
2019-10-08T07:33:55.106Z        INFO    piecestore      upload failed   {"Piece ID": "GDV4OMFPBXZO4CCG7ZTR4ZCJQMEBE6TRO7BCCYBCAQI72MOPS66Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:33:55.106Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:33:57.728Z        INFO    piecestore      upload failed   {"Piece ID": "UAIJEHMPIKJDFNYGSKJBWWGBUK5GIDEPUFQNP52SNPUM454OVNVA", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:33:57.728Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:35:24.291Z        INFO    piecestore      download started        {"Piece ID": "CMFWJA23WWXRETBDG2RUX42MB74ZYTYEKP2SCNT3DZTAZOBBAYRQ", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}
2019-10-08T07:35:24.322Z        INFO    piecestore      downloaded      {"Piece ID": "CMFWJA23WWXRETBDG2RUX42MB74ZYTYEKP2SCNT3DZTAZOBBAYRQ", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}
2019-10-08T07:37:17.368Z        INFO    piecestore      download started        {"Piece ID": "2KXACXUF4QIW57QETC7ZXWZ5HMKEWBC3DXLG6QTVWREKGR235FSA", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}
2019-10-08T07:37:17.399Z        INFO    piecestore      downloaded      {"Piece ID": "2KXACXUF4QIW57QETC7ZXWZ5HMKEWBC3DXLG6QTVWREKGR235FSA", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}
2019-10-08T07:37:56.511Z        INFO    piecestore      upload started  {"Piece ID": "QNV6PT4XN2VFKQ3TGD6WIDE77LDPJ7W42SR6V2CRUXOOWNRO7WRA", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}
2019-10-08T07:37:59.732Z        INFO    piecestore      upload started  {"Piece ID": "FTMTR4HAIFENJJBQ4QHWQ6BWLXKMGIRUH4VTJ4E4IGAPDDYKP47Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}
2019-10-08T07:37:59.802Z        INFO    piecestore      upload failed   {"Piece ID": "QNV6PT4XN2VFKQ3TGD6WIDE77LDPJ7W42SR6V2CRUXOOWNRO7WRA", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:37:59.802Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:38:03.933Z        INFO    piecestore      upload failed   {"Piece ID": "FTMTR4HAIFENJJBQ4QHWQ6BWLXKMGIRUH4VTJ4E4IGAPDDYKP47Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:38:03.933Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:38:07.791Z        INFO    piecestore      upload started  {"Piece ID": "T2GQ5IKN6ARZXCGLOB576UL4OKIXJNC6U4ATRTKA2PC4OQHVSLRQ", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}
2019-10-08T07:38:12.186Z        INFO    piecestore      upload failed   {"Piece ID": "T2GQ5IKN6ARZXCGLOB576UL4OKIXJNC6U4ATRTKA2PC4OQHVSLRQ", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:38:12.186Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T07:38:43.753Z        INFO    piecestore      download started        {"Piece ID": "ZJRIK7FMQWW7LWXQGM7A6FKOC6WB4HKEBAWICJFRJH742UTLFZ6A", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}
2019-10-08T07:38:43.785Z        INFO    piecestore      downloaded      {"Piece ID": "ZJRIK7FMQWW7LWXQGM7A6FKOC6WB4HKEBAWICJFRJH742UTLFZ6A", "SatelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET_AUDIT"}

Is the install gRPC problem ,should I install gRPC first ??

but the goland server was bam by china firewall GFW.

How can i do ?

ming@ming-ubuntu:~$ sudo docker logs --tail 6 storagenode
2019-10-08T08:18:54.139Z        INFO    piecestore      download started        {"Piece ID": "LRR5SXOZM6NRKA5XLK7ZRIWHDKGAEQ4EABKV4EAAM26J7USVCIHA", "SatelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Action": "GET"}
2019-10-08T08:18:54.351Z        INFO    piecestore      downloaded      {"Piece ID": "LRR5SXOZM6NRKA5XLK7ZRIWHDKGAEQ4EABKV4EAAM26J7USVCIHA", "SatelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Action": "GET"}
2019-10-08T08:20:13.270Z        INFO    piecestore      upload started  {"Piece ID": "SIN4PTAEBKKEHDP5JMGXKOYU3KNG4WKKVQOUJB653CTINPE4KK3Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}
2019-10-08T08:20:18.620Z        INFO    piecestore      upload failed   {"Piece ID": "SIN4PTAEBKKEHDP5JMGXKOYU3KNG4WKKVQOUJB653CTINPE4KK3Q", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT", "error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T08:20:18.620Z        ERROR   server  gRPC stream error response      {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}
2019-10-08T08:20:41.895Z        INFO    piecestore      upload started  {"Piece ID": "BWDVVYCWORGTJKWMKEIWHGU3AISWGR5TEF4LZG6Q3BJXUXX456RA", "SatelliteID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "Action": "PUT"}

Please try to not post the same question and errors many times over.

The errors you are seeing are perfectly normal. Those are just transfers for which enough other nodes finished before your node did, so your transfer was cancelled. (Context cancelled)

From what I can tell your node is functioning just fine. You used to see many more connections because kademlia left a lot of connections open. Now that kademlia is removed connections are only made when there is actually something for your node to do. So much fewer connections than before is expected.

3 Likes

So it is normal for this gRPC stream error ?
All all the time the connections is 0 ,but the node dashbord show online ,is normal too?

ERROR server gRPC stream error response {"error": "piecestore protocol: rpc error: code = Canceled desc = context canceled", "errorVerbose": "piecestore protocol: rpc error: code = Canceled desc = context canceled\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:276\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:158\n\tstorj.io/storj/pkg/pb._Piecestore_Upload_Handler:1070\n\tstorj.io/storj/pkg/server.(*Server).logOnErrorStreamInterceptor:23\n\tgoogle.golang.org/grpc.(*Server).processStreamingRPC:1127\n\tgoogle.golang.org/grpc.(*Server).handleStream:1178\n\tgoogle.golang.org/grpc.(*Server).serveStreams.func1.1:696"}

Whenever it says context cancelled, like this one, yes, it’s ok.
You obviously don’t have 0 connections at all times since you have successful downloads in your logs. It may just be that they exist short enough that they usually don’t show up. You can’t have successful downloads without a connection though.

In short, yes, it’s all normal.

thanks ,i got it…