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

Error uploading entry to the transparency log #14

Open
mayaCostantini opened this issue Jul 21, 2023 · 0 comments
Open

Error uploading entry to the transparency log #14

mayaCostantini opened this issue Jul 21, 2023 · 0 comments

Comments

@mayaCostantini
Copy link
Collaborator

When signing an artifact with cosign or uploading an entry manually with rekor-cli, the following error occurs:

error processing request	{"requestID": "rekor-server/QXZyBkQeAD-000030", "handler": "entries.CreateLogEntry", "statusCode": 500, "clientMessage": "unexpected result from transparency log", "error": "grpc error: rpc error: code = DeadlineExceeded desc = context canceled"}

No logs are available for the trillian log server.

Traceback (Rekor server):

2023-07-21T14:19:15.293Z	ERROR	api/error.go:72	error processing request	{"requestID": "rekor-server/QXZyBkQeAD-000030", "handler": "entries.CreateLogEntry", "statusCode": 500, "clientMessage": "unexpected result from transparency log", "error": "grpc error: rpc error: code = DeadlineExceeded desc = context canceled"}
github.com/sigstore/rekor/pkg/api.handleRekorAPIError.func1
	github.com/sigstore/rekor/pkg/api/error.go:72
github.com/sigstore/rekor/pkg/api.handleRekorAPIError
	github.com/sigstore/rekor/pkg/api/error.go:117
github.com/sigstore/rekor/pkg/api.createLogEntry
	github.com/sigstore/rekor/pkg/api/entries.go:195
github.com/sigstore/rekor/pkg/api.CreateLogEntryHandler
	github.com/sigstore/rekor/pkg/api/entries.go:311
github.com/sigstore/rekor/pkg/generated/restapi/operations/entries.CreateLogEntryHandlerFunc.Handle
	github.com/sigstore/rekor/pkg/generated/restapi/operations/entries/create_log_entry.go:35
github.com/sigstore/rekor/pkg/generated/restapi/operations/entries.(*CreateLogEntry).ServeHTTP
	github.com/sigstore/rekor/pkg/generated/restapi/operations/entries/create_log_entry.go:71
github.com/sigstore/rekor/pkg/generated/restapi.recordMetricsForAPI.func1.1
	github.com/sigstore/rekor/pkg/generated/restapi/configure_rekor_server.go:222
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-openapi/runtime/middleware.NewOperationExecutor.func1
	github.com/go-openapi/runtime@v0.24.1/middleware/operation.go:28
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-openapi/runtime/middleware.NewRouter.func1
	github.com/go-openapi/runtime@v0.24.1/middleware/router.go:78
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-openapi/runtime/middleware.Redoc.func1
	github.com/go-openapi/runtime@v0.24.1/middleware/redoc.go:72
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-openapi/runtime/middleware.Spec.func1
	github.com/go-openapi/runtime@v0.24.1/middleware/spec.go:46
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-chi/chi/middleware.RequestLogger.func1.1
	github.com/go-chi/chi@v4.1.2+incompatible/middleware/logger.go:46
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-chi/chi/middleware.Recoverer.func1
	github.com/go-chi/chi@v4.1.2+incompatible/middleware/recoverer.go:37
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-chi/chi/middleware.Heartbeat.func1.1
	github.com/go-chi/chi@v4.1.2+incompatible/middleware/heartbeat.go:21
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/sigstore/rekor/pkg/generated/restapi.serveStaticContent.func1
	github.com/sigstore/rekor/pkg/generated/restapi/configure_rekor_server.go:296
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/rs/cors.(*Cors).Handler.func1
	github.com/rs/cors@v1.8.2/cors.go:231
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/sigstore/rekor/pkg/generated/restapi.wrapMetrics.func1
	github.com/sigstore/rekor/pkg/generated/restapi/configure_rekor_server.go:266
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/sigstore/rekor/pkg/generated/restapi.setupGlobalMiddleware.func1
	github.com/sigstore/rekor/pkg/generated/restapi/configure_rekor_server.go:207
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
github.com/go-chi/chi/middleware.RequestID.func1
	github.com/go-chi/chi@v4.1.2+incompatible/middleware/request_id.go:76
net/http.HandlerFunc.ServeHTTP
	net/http/server.go:2109
net/http.serverHandler.ServeHTTP
	net/http/server.go:2947
net/http.(*conn).serve
	net/http/server.go:1991
2023-07-21T14:19:15.293Z	DEBUG	api/error.go:75	map[HTTPRequest:0xc000575b00 ProposedEntry:0xc0005920d8]	{"requestID": "rekor-server/QXZyBkQeAD-000030"}
2023-07-21T14:19:15.293Z	INFO	restapi/configure_rekor_server.go:182	[rekor-server/QXZyBkQeAD-000030] "POST http://rekor.ec2.internal/api/v1/log/entries HTTP/1.1" from 10.89.0.19:42848 - 500 65B in 3.003652165s
2023-07-21T14:19:16.312Z	INFO	restapi/configure_rekor_server.go:182	[rekor-server/QXZyBkQeAD-000031] "POST http://rekor.ec2.internal/api/v1/log/entries HTTP/1.1" from 10.89.0.19:42862 - 409 159B in 5.724927ms

Environment: RHEL 9.2

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