app icon indicating copy to clipboard operation
app copied to clipboard

Cody crashes - failed to create bucket: api error InvalidAccessKeyId: The Access Key Id you provided does not exist in our records.

Open filippomassarelli opened this issue 2 years ago • 2 comments

[2023-06-30][07:21:06][ERROR][app] ✱ Sourcegraph App version: 2023.6.28+1331.1867679b11
[2023-06-30][07:21:06][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m| Docker is unavailable                                                        |[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when Docker is available; some features may not work:  [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m                                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m - Batch changes                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m - Symbol search                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m - Symbols overview tab (on repository pages)                                 [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m                                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m| src-cli is unavailable                                                       |[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when src-cli is available; batch changes may not work. [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m                                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m Installation: https://github.com/sourcegraph/src-cli                         [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31m[31;43;1m|[0m                                                                              [31;43;1m|[0m[0m
[2023-06-30][07:21:06][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m
[2023-06-30][07:21:06][ERROR][app] [0m1688109666627813000	WARN	servegit	servegit/service.go:62	github.com/sourcegraph/sourcegraph/internal/service/servegit.(*svc).Start	skipping local code since the environment variable SRC is not set	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {}}
[2023-06-30][07:21:06][ERROR][app] 2023/06/30 07:21:06 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-41984-2930866303
[2023-06-30][07:21:06][ERROR][app] 1688109666662067000	ERROR	service	run/util.go:44	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions	Failed to get src-cli version	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}}
[2023-06-30][07:21:06][ERROR][app] 1688109666662113000	ERROR	service	run/util.go:44	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions	Failed to get src-cli version	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}}
[2023-06-30][07:21:06][ERROR][app] 1688109666662599000	ERROR	service	run/util.go:49	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions	Failed to get docker version	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}}
[2023-06-30][07:21:06][ERROR][app] 1688109666662780000	ERROR	service	run/util.go:49	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions	Failed to get docker version	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}}
[2023-06-30][07:21:06][ERROR][app] 1688109666720649000	FATAL	sourcegraph	svcmain/svcmain.go:263	github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1	failed to start service	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"service": "precise-code-intel-worker", "error": "initializing upload store: failed to create bucket: api error InvalidAccessKeyId: The Access Key Id you provided does not exist in our records."}}
[2023-06-30][07:21:06][ERROR][app] 1688109666747514000	ERROR	codeintel.upload-store-expirer	goroutine/periodic.go:95	github.com/sourcegraph/sourcegraph/internal/goroutine.(*simpleHandler).HandleError	An error occurred in a background task	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.6.28+1331.1867679b11", "service.instance.id": "OHRT6P1ssarelli.fritz.box"}, "Attributes": {"handler": "codeintel.upload-store-expirer", "error": "failed to create bucket: operation error S3: CreateBucket, https response error StatusCode: 403, RequestID: 176D5ECC44394010, HostID: 03af40e4-1232-43ff-8926-5658d7e4b9b6, api error InvalidAccessKeyId: The Access Key Id you provided does not exist in our records."}}
[2023-06-30][07:21:06][ERROR][app] Cody app backend terminated with exit code 1

filippomassarelli avatar Jun 30 '23 07:06 filippomassarelli

facing same issue

hussain4real avatar Jul 02 '23 13:07 hussain4real

@hussain4real sorry for missing your comment, please create a new issue so we can help you.

@filippomassarelli Sorry for the delay - that's pretty strange, we haven't seen this before. If you open a terminal and run env do you see any environment variables with AWS or S3 in them?

emidoots avatar Jul 11 '23 19:07 emidoots