Skip to content
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

metaclient: nonce: not enough bytes to make a nonce; have 8, need 32 #1

Open
xdmaury opened this issue Nov 15, 2023 · 0 comments
Open

Comments

@xdmaury
Copy link

xdmaury commented Nov 15, 2023

I have this error in my akash service

I changed the Access Grant, restarted the service, updated and the error persists.

This error is generated when I try to download a file.

[akash]: 2023-11-15T13:14:11.343Z	ERROR	error:	{"error": "uplink: metaclient: nonce: not enough bytes to make a nonce; have 8, need 32", "errorVerbose": "uplink: metaclient: nonce: not enough bytes to make a nonce; have 8, need 32\n\tstorj.io/common/storj.NonceFromBytes:100\n\tstorj.io/common/storj.(*Nonce).Unmarshal:138\n\tgithub.com/gogo/protobuf/proto.makeUnmarshalCustom.func1:160\n\tgithub.com/gogo/protobuf/proto.(*unmarshalInfo).unmarshal:175\n\tgithub.com/gogo/protobuf/proto.makeUnmarshalMessagePtr.func1:1826\n\tgithub.com/gogo/protobuf/proto.(*unmarshalInfo).unmarshal:175\n\tgithub.com/gogo/protobuf/proto.(*InternalMessageInfo).Unmarshal:63\n\tstorj.io/common/pb.(*ObjectDownloadResponse).XXX_Unmarshal:1739\n\tgithub.com/gogo/protobuf/proto.Unmarshal:337\n\tstorj.io/common/pb.drpcEncoding_File_metainfo_proto.Unmarshal:26\n\tstorj.io/drpc/drpcstream.(*Stream).MsgRecv:418\n\tstorj.io/drpc/drpcconn.(*Conn).doInvoke:114\n\tstorj.io/drpc/drpcconn.(*Conn).Invoke:93\n\tstorj.io/common/rpc/rpcpool.(*poolConn).Invoke:54\n\tstorj.io/common/rpc/rpctracing.(*TracingWrapper).Invoke:31\n\tstorj.io/common/pb.(*drpcMetainfoClient).DownloadObject:196\n\tstorj.io/uplink/private/metaclient.(*Client).DownloadObject.func1:1270\n\tstorj.io/uplink/private/metaclient.WithRetry:69\n\tstorj.io/uplink/private/metaclient.(*Client).DownloadObject:1269\n\tstorj.io/uplink/private/metaclient.(*DB).DownloadObject:461\n\tstorj.io/uplink.(*Project).DownloadObject:77\n\tstorj.io/gateway/miniogw.(*gatewayLayer).GetObjectNInfo:691\n\tstorj.io/gateway/miniogw.(*singleTenancyLayer).GetObjectNInfo:146\n\tstorj.io/minio/cmd.(*webAPIHandlers).Download:1469\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.httpTraceHdrs.func1:380\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setRedirectHandler.func1:137\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.addCustomHeaders.func1:577\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.addSecurityHeaders.func1:586\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setBucketForwardingHandler.func1:460\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setRequestValidityHandler.func1:448\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setHTTPStatsHandler.func1:374\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setRequestSizeLimitHandler.func1:50\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setRequestHeaderSizeLimitHandler.func1:70\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.crossDomainPolicy.ServeHTTP:51\n\tstorj.io/minio/cmd.setBrowserRedirectHandler.func1:163\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setReservedBucketHandler.func1:295\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setBrowserCacheControlHandler.func1:264\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setTimeValidityHandler.func1:361\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setAuthHandler.func1:493\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.setSSETLSHandler.func1:620\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.filterReservedMetadata.func1:110\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:210\n\tgithub.com/rs/cors.(*Cors).Handler.func1:219\n\tnet/http.HandlerFunc.ServeHTTP:2047\n\tstorj.io/minio/cmd.criticalErrorHandler.ServeHTTP:605\n\tstorj.io/minio/cmd/http.(*Server).Start.func1:102"}
[akash]: 
[akash]: API: SYSTEM()
[akash]: Time: 13:14:11 UTC 11/15/2023
[akash]: DeploymentID: f55e1c3c-43c9-476d-acbc-1d97ebcdad4b
[akash]: Error: uplink: metaclient: nonce: not enough bytes to make a nonce; have 8, need 32 (*errs.errorT)
[akash]:        3: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:2433:cmd.toWebAPIError()
[akash]:        2: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:2443:cmd.writeWebErrorResponse()
[akash]:        1: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:1471:cmd.(*webAPIHandlers).Download()
[akash]: 
[akash]: API: SYSTEM()
[akash]: Time: 13:14:11 UTC 11/15/2023
[akash]: DeploymentID: f55e1c3c-43c9-476d-acbc-1d97ebcdad4b
[akash]: Error: uplink: metaclient: nonce: not enough bytes to make a nonce; have 8, need 32 (*errs.errorT)
[akash]:        5: /go/pkg/mod/storj.io/[email protected]/cmd/api-errors.go:2023:cmd.toAPIErrorCode()
[akash]:        4: /go/pkg/mod/storj.io/[email protected]/cmd/api-errors.go:2048:cmd.toAPIError()
[akash]:        3: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:2434:cmd.toWebAPIError()
[akash]:        2: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:2443:cmd.writeWebErrorResponse()
[akash]:        1: /go/pkg/mod/storj.io/[email protected]/cmd/web-handlers.go:1471:cmd.(*webAPIHandlers).Download()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant