#community-help

Configuring Typesense Server on Digital Ocean

TLDR Ian faced timeout errors when adding new documents to Firebase on their server, Jason advised them to ensure Typesense server is listening on port 443 and configure SSL certificates, providing the relevant command-line arguments.

Powered by Struct AI

1

5
18mo
Solved
Join the chat
Jun 21, 2022 (18 months ago)
Ian
Photo of md5-1bde4f522c70474b39040955f7638e33
Ian
07:06 PM
Hi everyone. I have a working Typesense Cloud setup working to index a Firebase collection using the extension. I'm trying to also set up my own server on Digital Ocean, but keep getting Timeout errors when I try to add new documents to firebase. The only difference is the TS Cloud uses the 0.2.7 version of the extension and my new setup is with 0.3.0
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:12 PM
You want to make sure your Typesense server is listening on port 443, with SSL certs configured. The extension only works with that config, since Firestore makes API calls over the public internet to the configured hostname.
Ian
Photo of md5-1bde4f522c70474b39040955f7638e33
Ian
07:13 PM
ok so currently it is on port 8103
07:25
Ian
07:25 PM
docker run \
        -p 8108:8108 -v/tmp:/data \
        typesense/typesense:0.23.0 \
          --data-dir /data --api-key=xyz

I will reinstall with port 443 but I can''t see in the documentation how to configure the SSL
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:26 PM

1