linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

Prompts for password on startup, works whether or not I enter it

Open cvandesande opened this issue 6 years ago • 7 comments

Hi, I checked the other issues but mine seems different.

Using an external Asterisk 16.2.0 server, on TLS. Using Linphone Desktop/4.1.1-655-g95245907.

When I open Linphone desktop, I immediately get prompted to enter my password ("Unable to Authenticate"). However if I wait a couple of seconds, I can see the spinner turn green on my account. At this point I can either re-enter my password, or press cancel, it makes no difference, I can still make calls.

Any ideas? I wasn't sure exactly how to get the desktop logs, but I ran Linphone on verbose mode and attached the output.

linphone-verbose.log

cvandesande avatar Feb 21 '19 23:02 cvandesande

I've looked at this more. It looks like the first SIP REGISTER command doesn't include the realm information, so Asterisk sends a SIP 403 unauthorized. In the SIP 403, the realm is mentioned, so Linphone sends a second REGISTER command, this time including the realm information, and succeeds.

cvandesande avatar Mar 10 '19 21:03 cvandesande

it seems to me I have the same problem: image

Why Linphone send first REGISTER without realm?

hartois avatar Nov 26 '20 16:11 hartois

image

As I understand it - Unauthorized packet is the correct part of the authentication process.

hartois avatar Nov 27 '20 09:11 hartois

In my case: Desktop 4.2.4 - Qt5.12.5 Core 4.4.9-1-g18c59c7db

hartois avatar Nov 28 '20 04:11 hartois

I agree this issue isn't fixed. See screenshot, app has successfully authenticated despite asking for my password. Tested with 4.2.4 on Debian using appimage. ksnip_20201128-134455

cvandesande avatar Nov 28 '20 13:11 cvandesande

There was a workaround about having a registration when no proxy was attached. But it was removed as the process ran fine. So I confirm too this case is still to be fixed.

julonexus avatar Nov 28 '20 17:11 julonexus

This is still an issue on the latest version almost one year later.

Is there some workaround?

(Desktop 4.2.5 - Qt5.14.2 Core 4.4.1)

DanielLaberge avatar Oct 01 '21 01:10 DanielLaberge