Issues with Accessing TypeSense Cloud Server from Iran
TLDR Stephano reported his colleague in Iran had difficulty accessing the TypeSense cloud server. Jason helped with troubleshooting, speculating it could be due to US sanctions. Some connectivity achieved through VPN, but issues persisted.
Jun 14, 2021 (29 months ago)
Stephano
07:02 PM/health
request where as mine returns { ok: "true" }
Jason
07:10 PMStephano
07:11 PMStephano
07:11 PMStephano
07:11 PMStephano
07:12 PMThis site can't be reached
Jason
07:12 PMStephano
07:12 PMJason
07:12 PMStephano
07:13 PMStephano
07:13 PMSingle Region
Ireland
Jason
07:14 PMStephano
07:14 PMStephano
07:14 PMJason
07:17 PMdig <http://xxx-1.a1.typesense.net|xxx-1.a1.typesense.net>
Jason
07:18 PMcurl -vvvv -k
and paste the output?
Stephano
07:30 PM~! ❯ curl -vvvv -k https://18.202.252.126/health 0.24s ~
* Trying 18.202.252.126...
* TCP_NODELAY set
* Connected to 18.202.252.126 (18.202.252.126) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
Stephano
07:31 PMStephano
07:31 PMStephano
07:34 PMhttps://18.202.252.126/health
Jason
07:37 PMStephano
07:37 PMJason
07:38 PMJason
07:40 PMStephano
07:54 PMJason
07:58 PMtraceroute 18.202.252.126
Jason
08:00 PMStephano
08:09 PM8 traceroute: wrote 18.202.252.126 52 chars, ret=-1
*traceroute: sendto: Can’t assign requested address
traceroute: wrote 18.202.252.126 52 chars, ret=-1
*traceroute: sendto: Can’t assign requested address
traceroute: wrote 18.202.252.126 52 chars, ret=-1
*
Stephano
08:15 PMJason
08:50 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Connection Refused Issue with Typesense and Nginx Reverse Proxy
Karthik experiences a connection refused problem with Typesense and Nginx reverse proxy. Jason helps troubleshoot, but the issue remains unresolved.
Resolving Connection Issues on Ubuntu 21.10
Philipe faced a problem with TypeSense running on Ubuntu 21.10. After troubleshooting, Jason and Kishore Nallan suggested a binary to solve the compatibility issue, which resolved the issue.
Protecting Typesense Queries from DOS Attacks
Juri sought advice on securing typesense queries. Jason suggested use of Cloudflare for DOS attack protection and explained how to create user-specific API keys for data authorization. Ricardo endorsed Cloudflare for protection.
Deploying to Fly.io via Dockerfile
andrew asks how to launch to Fly.io with Docker. Jason guides them on the environment setup, specifically mentioning persistent VMs, and approves andrew's Dockerfile setup.
Server IP Address and Port Issues with Typesense
Alex encountered problems with Typesense server configuration when setting IP and port using --api-address and --api-port, facing additional problems with CORS and version inequities. Kishore Nallan addressed each point, ultimately finding a bug with the command line parser affecting subsequent commands. The advised workaround was to use `--enable-cors=true`.