andie
September 8, 2023, 12:18pm
19
If you ever want to write up a doc on running typesense on Fly.io , let me know!
Probably should start a new topic if you run into issues with the HA setup. But iāll post back here for future reference if I find out more about load balancing with auto start/stop enabled.
Iām sure youāve already found these, but hereās some more info I found while troubleshooting:
opened 07:23AM - 20 Apr 22 UTC
enhancement
## Description
It looks like it's currently not possible to have Typesense liā¦ sten on an ipv6 address? I tried a few different addresses without luck, also applied on via both env vars `TYPESENSE_API_ADDRESS` and `TYPESENSE_LISTEN_ADDRESS`.
## Steps to reproduce
```
TYPESENSE_API_ADDRESS = "::"
```
## Expected Behavior
Expect Typesense http server to listen on an ipv6 address.
## Actual Behavior
```
Failed to connect to *** port 8080: Connection refused
```
## Metadata
**Typesense Version**: 0.22.2
**OS**: Docker on Ubuntu
Hi all - I am currently running a single node Typesense machine on Fly, but would like to update this to a cluster. My current workaround for a single node (since Typsense only supports IPv4) is from this Fly.io thread using socat and supervisor to route IPv6 from Fly to Typsense IPv4.
However with multiple nodes, I feel like this gets a bit complicated. In the Typesense GitHub someone posted their ability to get a cluster working using 6Tunnel and ātrickingā each node to communicate locally(?)ā¦
I deployed typesense with the image typesense/typesense:0.24.0, and another Golang app. But I canāt get my golang app to talk to my typesense deployment via the DNS http://mad.private-typesense-name.internal:8108, it says connection refused, and other times it would say no such host. Both apps are deployed in Madrid
this is what the typesense Dockerfile looks like:
ADD file ... in /
CMD ["bash"]
RUN /bin/sh -c apt-get -y
RUN /bin/sh -c mkdir -p
COPY typesense-server /opt # buildkit
RUN /bā¦