nonoo / kappanhang

Remotely open audio channels and a serial port to an Icom RS-BA1 server (for ex. Icom IC-705 transceiver).
Other
152 stars 28 forks source link

Error "invalid username/password" in log #13

Closed dmitryelj closed 3 years ago

dmitryelj commented 3 years ago

Hi,

Thanks for the nice product, it looks, that it's exactly what I need if it will allow me to send/receive audio via WiFi on IC-705.

Config: Network control is ON, Raspberry Pi and IC-705 are in the same network, "Network user1" set to ID="beer" and password="12345678".

But when I am trying to run the app, I get this log: /home/pi/go/bin/kappanhang -u=beer -p=12345678 2021-02-28T14:55:05.411+0100 info streamcommon: control/connecting to IC-705:50001 2021-02-28T14:55:06.615+0100 error main@59: control/expect timeout - the server did not answer, check if it's running 2021-02-28T14:55:06.616+0100 info streamcommon: control/disconnecting 2021-02-28T14:55:06.617+0100 info main: waiting 1 seconds... 2021-02-28T14:55:07.618+0100 info main: restarting control stream... 2021-02-28T14:55:07.618+0100 info streamcommon: control/connecting to IC-705:50001 2021-02-28T14:55:07.994+0100 error main@59: invalid username/password 2021-02-28T14:55:07.994+0100 info streamcommon: control/disconnecting 2021-02-28T14:55:07.995+0100 info main: exiting

I tried also to change the password to "beerbeer", later changed it to "12345678", no difference.

Any ideas? I use the last firmware from Icom, maybe they changed something in the auth algorithm?

Thanks.

nonoo commented 3 years ago

Check if you can ping the hostname IC-705. Also check if you are using the correct port.

On Sun, Feb 28, 2021, 15:08 Dmitrii Eliuseev notifications@github.com wrote:

Hi,

Thanks for the nice product, it looks, that it's exactly what I need if it will allow me to send/receive audio via WiFi on IC-705.

Config: Network control is ON, Raspberry Pi and IC-705 are in the same network, "Network user1" set to ID="beer" and password="12345678".

But when I am trying to run the app, I get this log: /home/pi/go/bin/kappanhang -u=beer -p=12345678 2021-02-28T14:55:05.411+0100 info streamcommon: control/connecting to IC-705:50001 2021-02-28T14:55:06.615+0100 error main@59: control/expect timeout - the server did not answer, check if it's running 2021-02-28T14:55:06.616+0100 info streamcommon: control/disconnecting 2021-02-28T14:55:06.617+0100 info main: waiting 1 seconds... 2021-02-28T14:55:07.618+0100 info main: restarting control stream... 2021-02-28T14:55:07.618+0100 info streamcommon: control/connecting to IC-705:50001 2021-02-28T14:55:07.994+0100 error main@59: invalid username/password 2021-02-28T14:55:07.994+0100 info streamcommon: control/disconnecting 2021-02-28T14:55:07.995+0100 info main: exiting

I tried also to change the password to "beerbeer", later changed it to "12345678", no difference.

Any ideas? I use the last firmware from Icom, maybe they changed something in the auth algorithm?

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nonoo/kappanhang/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAIHJ3UDZPHMYSINUMEQLTBJE57ANCNFSM4YLC5CQA .

dmitryelj commented 3 years ago

Thanks for the answer.

The ping is big, true, I don't know why, I am located near the router. Maybe the socket timeout should be bigger. Bud does not explain the auth error anyway?

ping ic-705.local PING ic-705.local (10.14.24.174) 56(84) bytes of data. 64 bytes from IC-705.home (10.14.24.174): icmp_seq=1 ttl=128 time=734 ms 64 bytes from IC-705.home (10.14.24.174): icmp_seq=2 ttl=128 time=134 ms 64 bytes from IC-705.home (10.14.24.174): icmp_seq=3 ttl=128 time=255 ms 64 bytes from IC-705.home (10.14.24.174): icmp_seq=4 ttl=128 time=1422 ms

IC-705 settings: Network control: ON Network User1 ID: beer Network User1 Password: 12345678 Internet Access Line: FTTH Control Port: 50001

Command, I run: /home/pi/go/bin/kappanhang -u=beer -p=12345678 -a ic-705.local

What I get in the log: 2021-02-28T19:14:54.756+0100 info streamcommon: control/connecting to ic-705.local:50001 2021-02-28T19:14:55.437+0100 error main@59: invalid username/password 2021-02-28T19:14:55.437+0100 info streamcommon: control/disconnecting 2021-02-28T19:14:55.437+0100 info main: exiting

Do I miss something?

dmitryelj commented 3 years ago

Settings screenshots (sorry for quality): image

nonoo commented 3 years ago

Hello,

Please remove the = sign from the entered user and password. You wrote that you enter the command "kappanhang -u=beer -p=12345678". Please enter "kappanhang -p 12345678" You don't have to specify username if it's beer, because it's the default.

73

-- Norbert Varga http://www.nonoo.hu/

On Sun, Feb 28, 2021 at 7:21 PM Dmitrii Eliuseev notifications@github.com wrote:

Settings screenshots (sorry for quality): [image: image] https://user-images.githubusercontent.com/18378056/109429041-1ff70780-79fa-11eb-9417-18d82ccf1667.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nonoo/kappanhang/issues/13#issuecomment-787497076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAIHKZLH62C5U4X25WX3LTBKCUFANCNFSM4YLC5CQA .

dmitryelj commented 3 years ago

Thanks, it works, was a stupid error from my side :)

dmitryelj commented 3 years ago

PS: I've sent you a beer to your account ;)

nonoo commented 3 years ago

Thanks :) I'm happy that it's now working!

On Mon, Mar 1, 2021, 19:10 Dmitrii Eliuseev notifications@github.com wrote:

PS: I've sent you a beer to your account ;)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nonoo/kappanhang/issues/13#issuecomment-788157371, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAIHN5HILBIPR54PLM75TTBPKBTANCNFSM4YLC5CQA .