sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

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

Open filippomassarelli opened 1 year ago

filippomassarelli commented 1 year ago
[2023-06-30][07:21:06][ERROR][app] ✱ Sourcegraph App version: 2023.6.28+1331.1867679b11
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] | Docker is unavailable                                                        |
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work:  |
[2023-06-30][07:21:06][ERROR][app] |                                                                              |
[2023-06-30][07:21:06][ERROR][app] | - Batch changes                                                              |
[2023-06-30][07:21:06][ERROR][app] | - Symbol search                                                              |
[2023-06-30][07:21:06][ERROR][app] | - Symbols overview tab (on repository pages)                                 |
[2023-06-30][07:21:06][ERROR][app] |                                                                              |
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] | src-cli is unavailable                                                       |
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. |
[2023-06-30][07:21:06][ERROR][app] |                                                                              |
[2023-06-30][07:21:06][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli                         |
[2023-06-30][07:21:06][ERROR][app] |                                                                              |
[2023-06-30][07:21:06][ERROR][app] |------------------------------------------------------------------------------|
[2023-06-30][07:21:06][ERROR][app] 1688109666627813000  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
hussain4real commented 1 year ago

facing same issue

slimsag commented 1 year ago

@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?