Skip to content

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

@xdmaury

Description

@xdmaury

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/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/web-handlers.go:2433:cmd.toWebAPIError()
[akash]:        2: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/web-handlers.go:2443:cmd.writeWebErrorResponse()
[akash]:        1: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/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/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/api-errors.go:2023:cmd.toAPIErrorCode()
[akash]:        4: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/api-errors.go:2048:cmd.toAPIError()
[akash]:        3: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/web-handlers.go:2434:cmd.toWebAPIError()
[akash]:        2: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/web-handlers.go:2443:cmd.writeWebErrorResponse()
[akash]:        1: /go/pkg/mod/storj.io/minio@v0.0.0-20220404203534-ae15cc41053b/cmd/web-handlers.go:1471:cmd.(*webAPIHandlers).Download()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions