Issues Running Typesense on AWS Fargate
TLDR Sulove is struggling with administrative operations on Typesense on AWS Fargate, and getting errors. Kishore Nallan suggested checking if data wasn't persisting on Fargate, despite no resolution being achieved.
Sep 09, 2023 (2 weeks ago)
Sulove
05:45 AMI'm having some trouble running Typesense on AWS Fargate. I've set it up following the documentation, but when I try to perform administrative operations, I get an error stating
Scoped API keys can only be used for searches
.I've double-checked and am using the master API key in my task definition. Here is a snippet from my Fargate task definition for reference:
json
"environment": [
{
"name": "API_KEY",
"value": "my-master-api-key-here"
}
],
"command": [
"--data-dir",
"/data",
"--api-key",
"${API_KEY}",
"--enable-cors"
],
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
The documentation mentions:
Let's begin by creating an API key that allows you to do all operations, i.e. it's effectively an admin key and is equivalent to the key that you start Typesense with (via --api-key).```and that is what I did however, I am getting the scope for search-only error when I try to create collection. Can anyone provide some insights on what might be going wrong?
Kishore Nallan
09:57 AMSulove
01:32 PMSep 10, 2023 (2 weeks ago)
Kishore Nallan
12:37 PMTypesense
Indexed 2776 threads (79% resolved)
Similar Threads
Issues with Indexing Data using Typesense in Go
Konrad was having trouble with a "Forbidden" error using Typesense in Go when indexing data remotely. David offered multiple troubleshooting steps and suggestions. Ultimately, Konrad discovered the issue lied within the application code.
Troubleshooting Typesense Data Load Issues on Ecommerce Platform
Dương requested help with Typesense data load issues on non-localhost systems. Kishore Nallan and David helped him isolate the problem. It was finally resolved when Dương identified and corrected a router configuration issue.
Resolving Issues While Upgrading Typesense Server
Ayush had queries about upgrading their Typesense server and updating collections using auto-embeddings. Kishore Nallan clarified all issues, but later discovered that reindexing of non auto-embedded vector fields only is currently supported during altering.