Issues with Firebase Typesense Extension in Local Emulator
TLDR vajahath encountered issues with the Firebase Typesense Extension concerning host:port configuration and function timeout. Kishore Nallan clarified they should be separate, and Jason provided a guide to use the emulator with the extension.
Jun 11, 2022 (15 months ago)
vajahath
07:58 AMI'm trying to use the Firebase Typesense Extension and running into a few glitches.
1. the extension seem not respecting the configured host:port (I'm trying this in local firebase emulator v11.0.1, extension version 0.3.0)
2. default retry interval seem 120 sec. But the function instance will timeout in 60 sec.
vajahath
08:06 AMvajahath
08:51 AMTYPESENSE_PORT
nor the firebase interactive cli installation prompt asked me to add port. It only asked me to provide "host" and I gave it localhost:8108
.https://github.com/typesense/firestore-typesense-search/blob/28ac6041156a9da4421c1713650371708c897251/functions/src/config.js#L10-L11
Kishore Nallan
08:57 AMhost:port
format?vajahath
09:01 AMfirebase ext:install typesense/firestore-typesense-search
and it never asked me to provide port. So I naturally added it in the host:port format.
Jason
02:24 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Setup and Issues in Connecting Typesense Instance with Firebase Emulator
Michael.M seeks help on connecting a local Typesense instance to the Firebase local emulator. Jason suggests looking at emulator commands and creating a specific file. After various attempts and troubleshooting steps, Michael.M is able to establish the connection.



Setting up Typesense with Firestore Local Emulator
Isaac was struggling to run local emulator commands for Typesense with Firestore, Jason advised cloning the Github repository, running npm install and using Firebase-cli 10.x.

Troubleshooting Typesense and Firestore Connection
Carter had trouble connecting Typesense and Firestore. After troubleshooting with Jason, the issue was identified to be SSL cert setup, and resolved through setting-up ngrok tunnel for local-hosting.


