You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect that once set the key, gitea would start normally but I got this error instead:
Apr 28 22:37:16 node gitea[3230588]: 2024/04/28 22:37:16 ...er/issues/indexer.go:111:func1() [F] Unable to issueIndexer.Init with connection http://localhost:7700 Error: unaccepted status code found: 403 expected: [202], MeilisearchApiError Message: The provided API key is invalid., Code: invalid_api_key, Type: auth, Link: https://docs.meilisearch.com/errors#invalid_api_key (path "POST /indexes" with method "CreateIndex")
Using the default admin API key (although not recommended) it works as expected. At this point I'm wondering why is it asking to create a new index when the specified one already exists. And also if I change the previous actions to allow index creations it fails with the same error.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.34.1
Operating System
Ubuntu 22.04.4
How are you running Gitea?
systemd on Ubuntu 22.04.4
Database
PostgreSQL
The text was updated successfully, but these errors were encountered:
Description
ISSUE_INDEXER_CONN_STR = "http://xxxx.7700/"
Hello, I'm using a test installation of meilisearch with master key configured and managing keys creation with its API. So far:
gitea_issues
as in configuration fileI'd expect that once set the key, gitea would start normally but I got this error instead:
Apr 28 22:37:16 node gitea[3230588]: 2024/04/28 22:37:16 ...er/issues/indexer.go:111:func1() [F] Unable to issueIndexer.Init with connection http://localhost:7700 Error: unaccepted status code found: 403 expected: [202], MeilisearchApiError Message: The provided API key is invalid., Code: invalid_api_key, Type: auth, Link: https://docs.meilisearch.com/errors#invalid_api_key (path "POST /indexes" with method "CreateIndex")
Using the default admin API key (although not recommended) it works as expected. At this point I'm wondering why is it asking to create a new index when the specified one already exists. And also if I change the previous actions to allow index creations it fails with the same error.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.34.1
Operating System
Ubuntu 22.04.4
How are you running Gitea?
systemd on Ubuntu 22.04.4
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: