Resolving Connection Issues on Ubuntu 21.10
TLDR 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.
3
1
Dec 04, 2021 (23 months ago)
Philipe
07:31 PMJason
07:32 PMPhilipe
07:33 PMJason
07:34 PM/var/log/typesense/typesense.log
from your server?Philipe
07:34 PMPhilipe
07:34 PMJason
07:35 PMsudo systemctl start typesense-server.service
?Philipe
07:35 PMJason
07:36 PMps aux | grep typesense
and post the output?Philipe
07:37 PMroot 1467 0.0 0.2 6680 2316 pts/2 S+ 19:36 0:00 grep --color=auto typesense
Jason
07:37 PMPhilipe
07:37 PMJason
07:37 PM/etc/typesense/typesense-server.ini
(minus credentials)Philipe
07:38 PM[server]
api-address = 0.0.0.0
api-port = 8108
data-dir = /var/lib/typesense
api-key = ladilaxyz
log-dir = /var/log/typesense
Jason
07:39 PMsudo netstat -ltnp
Philipe
07:40 PMJason
07:40 PMsudo apt install net-tools
Philipe
07:41 PMProto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 707/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 785/sshd: /usr/sbin
tcp6 0 0 :::22 :::* LISTEN 785/sshd: /usr/sbin
Jason
07:42 PMJason
07:42 PMJason
07:42 PMsudo systemctl restart typesense-server.service
Philipe
07:43 PMcurl
”
Philipe
07:43 PMJason
07:43 PMPhilipe
07:43 PMJason
07:44 PM~/.ssh/authorized_keys
I can take a look. Let me DM youPhilipe
07:44 PMPhilipe
07:44 PMPhilipe
07:45 PM1
Jason
08:00 PMReinstalling deb package showed this:
Unpacking typesense-server (0.21.0) ...
Setting up typesense-server (0.21.0) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
N: Download is performed unsandboxed as root as file '/root/typesense-server-0.21.0-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Last line may not be a problem according to this: https://askubuntu.com/questions/908800/what-does-this-apt-error-message-download-is-performed-unsandboxed-as-root
Dec 05, 2021 (23 months ago)
Kishore Nallan
01:42 AMKishore Nallan
08:40 AMPhilipe
09:38 AMPhilipe
08:02 PM1
Jason
08:22 PMDec 06, 2021 (23 months ago)
Philipe
10:50 AMDec 07, 2021 (23 months ago)
Dec 08, 2021 (23 months ago)
Kishore Nallan
07:23 AM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Typesense Connection Issue Resolution
James faced a 'connection refused' error trying to run typesense locally. Kishore Nallan identified an issue due to a glibc upgrade, provided a recent build for James to try and advised a restart after installation. The problem was subsequently resolved.
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.
Trouble Running Typesense Docker Image on AMD Phenom II X4 955 Processor
Ian struggles to run Typesense on an AMD Phenom II X4 955 Processor, experiencing the docker image to shut down immediately upon startup. Jason and Kishore Nallan suggest multiple troubleshooting steps, identifying the potential issue as the processor's lack of support for MSSE4 flags.
Troubleshooting Typesense Docsearch Scraper Setup Issue
Vinicius experienced issues setting up typesense-docsearch-scraper locally. Jason identified a misconfiguration with the Typesense server after checking the .env file, and recommended using ngrok or port forwarding for development purposes. Vinicius successfully resolved the issue with port forwarding.
Installing and Running Typesense Server on Fedora 35
User Edson struggled to initiate Typesense server. Jason suggested using the RC build for Fedora 35. After troubleshooting and following instructions, Edson was finally able to start their server. They discussed the need for clearer installation documentation since it was an incompatibility issue with Fedora 35.