typesense / firestore-typesense-search

Firebase Extension to automatically push Firestore documents to Typesense for full-text search with typo tolerance, faceting, and more
https://extensions.dev/extensions/typesense/firestore-typesense-search
Apache License 2.0
159 stars 35 forks source link

http unsupported (self hosting) #4

Closed kylewill closed 3 years ago

kylewill commented 3 years ago

Testing with self hosted instance and entered [IP ADDRESS]:8108 in the Extension configuration.

Firebase Functions logs show the port is updated to 443 and the connection is refused:

image

jasonbosco commented 3 years ago

Ah yes, I didn't want to have one too many configuration options when setting up the extension. Would it be possible for you to use port 443?

Figured since API calls are made over public networks, it's a good idea to use https/443 when running your Typesense cluster.

You'd just need to get an SSL certificate and pass the location to the Typesense process when starting it up. See SSL params here: https://typesense.org/docs/latest/guide/configure-typesense.html

kylewill commented 3 years ago

Makes sense :) I can (and have now!) it was an unexpected speedbump switching from the docs to the extension but not too hard to get working. Thank you!