Open mecatheclau opened 2 years ago
Looks like there is no support around here anymore..
The contributors have deserted.
Hi! Sorry if this is not very helpful but have you created a jasmin user by connecting via telnet & following the steps here -> https://docs.jasminsms.com/en/latest/installation/index.html#create-a-user
The reason I'm asking is because the username & password in your example is the same as the username & password for connecting to telnet.
Stale issue detected, remove stale label or comment or this will be closed soon.
curl -X GET -H 'Authorization: Basic amNsaWFkbWluOmNsaXB3ZA==' http://127.0.0.1:8080/secure/balance {"title": "Jasmin httpapi connection error", "description": "Could not connect to Jasmin http api (http://127.0.0.1:1401): HTTPConnectionPool(host='127.0.0.1', port=1401): Max retries exceeded with url: /balance?username=jcliadmin&password=clipwd (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2c68570670>: Failed to establish a new connection: [Errno 111] Connection refused'))"}
/etc/jasmin/jasmin.cfg
I tried with port 1401 refused to work I also change the port to 8088 but not listen in listeners
root@ip-172-26-7-147:~# sudo netstat -tunlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8987 0.0.0.0: LISTEN 2356775/python3
tcp 0 0 0.0.0.0:443 0.0.0.0: LISTEN 2205945/nginx: mast tcp 0 0 127.0.0.1:6379 0.0.0.0: LISTEN 2355257/redis-serve tcp 0 0 0.0.0.0:8080 0.0.0.0: LISTEN 2356785/python3
tcp 0 0 0.0.0.0:80 0.0.0.0: LISTEN 2205945/nginx: mast tcp 0 0 127.0.0.53:53 0.0.0.0: LISTEN 2400015/systemd-res tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 30059/sshd: /usr/sb tcp 0 0 127.0.0.1:5432 0.0.0.0: LISTEN 6489/postgres
tcp6 0 0 ::1:6379 ::: LISTEN 2355257/redis-serve tcp6 0 0 :::80 ::: LISTEN 2205945/nginx: mast tcp6 0 0 :::22 ::: LISTEN 30059/sshd: /usr/sb udp 0 0 127.0.0.53:53 0.0.0.0: 2400015/systemd-res udp 0 0 172.26.7.147:68 0.0.0.0: 2399998/systemd-net udp6 0 0 fe80::6:5bff:feb4:9:546 ::: 2399998/systemd-net
How to resolve this issue I am using ubuntu 20.4