Hi Typesense Community! Question about backfilling...
# community-help
m
Hi Typesense Community! Question about backfilling my data from Firebase Firestore I've set up a self-hosted Typesense on Digital Ocean on Linux 24.04, using Docker I've followed this, to make a document to backfill from Firestore into my Typesense server, it does trigger the cloud function, but it doesn't move any data. ( the cloud function does try to read it all though) I see in the logs... (continued in thread)
The Google Cloud logs have this:
Import error in a batch of documents from documentID to documentID AxiosError: self-signed certificate
and this:
code: 'DEPTH_ZERO_SELF_SIGNED_CERT',
The
/collections
endpoint shows this:
Copy code
[{"created_at":1740065585,"default_sorting_field":"","enable_nested_fields":false,"fields":[{"facet":false,"index":true,"infix":false,"locale":"","name":"name","optional":false,"sort":false,"stem":false,"stem_dictionary":"","store":true,"type":"string"}],"name":"products","num_documents":0,"symbols_to_index":[],"token_separators":[]}
specifically
num_documents
is 0 This makes me think that my self-hosted server isn't set up right? I used nginx, with a self hosted SSL certificate, but does Firebase need to have like an actual certificate, with a domain name connected?
Thank you for any help! This is my first time using Typesense
And using Typesense v28
j
That’s correct, the Firebase extension needs an actual SSL certificate on the typesense server for it to work
1
m
And so I just have to connect a real domain name to my typesense server? To give it an actual SSL certificate? (It’s my first time setting this up)
j
That's correct, domain or sub-domain. And you'd need to get an SSL cert for it. Letsencrypt offers free SSL certs