SUBSCRIBE returns 407, Presence now broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SUBSCRIBE returns 407, Presence now broken

El Pato
Hi,

As of 1 or 2 hours ago, SUBSCRIBE is now broken for linphone PJSIP buddies.  It looks like SHA-256 is the culprit again.

2019-09-03 15:05:01.773      sip_auth_client.c  ....Unsupported digest algorithm "SHA-256"

The times in the logs are all Pacific Daylight Time.
This causes sending IM to buddies to fail.

Here is a snip from my pjsip.log.

SUBSCRIBE [hidden email] SIP/2.0
Via: SIP/2.0/UDP 165.22.154.89:5060;rport;branch=z9hG4bKPjdaN0bGRO0BKJ8a8cmDeLnogROB.bzARO
Max-Forwards: 70
From: [hidden email];tag=q7TnR8axR9FKpX.Ek5rs.IZXpOwdph1-
To: [hidden email]
Contact: <sip:sip6server@165.22.154.89:5060;ob>
Call-ID: 77LIDedNFJ0Ge.L68OATd-d8kiwS.eYS
CSeq: 18891 SUBSCRIBE
Event: presence
Expires: 600
Supported: replaces, 100rel, timer, norefersub
Accept: application/pidf+xml, application/xpidf+xml
Allow-Events: presence, message-summary, refer
User-Agent: pyphone-vps-project-0.7
Content-Length:  0


--end msg--
2019-09-03 15:05:01.622           tsx0x3650bd8  ....State changed from Null to Calling, event=TX_MSG
2019-09-03 15:05:01.622           dlg0x342f908  .....Transaction tsx0x3650bd8 state changed to Calling
2019-09-03 15:05:01.622         evsub0x34510b8  ......Subscription state changed NULL --> SENT
2019-09-03 15:05:01.622           pjsua_pres.c  .......Presence subscription to [hidden email] is SENT
2019-09-03 15:05:01.772         sip_endpoint.c  Processing incoming message: Response msg 407/SUBSCRIBE/cseq=18891 (rdata0x37774e8)
2019-09-03 15:05:01.773           pjsua_core.c  .RX 697 bytes Response msg 407/SUBSCRIBE/cseq=18891 (rdata0x37774e8) from UDP 91.121.209.194:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 165.22.154.89:5060;rport=5060;branch=z9hG4bKPjdaN0bGRO0BKJ8a8cmDeLnogROB.bzARO
From: <[hidden email]>;tag=q7TnR8axR9FKpX.Ek5rs.IZXpOwdph1-
To: <[hidden email]>;tag=mergU3evvNS5c
Call-ID: 77LIDedNFJ0Ge.L68OATd-d8kiwS.eYS
CSeq: 18891 SUBSCRIBE
Server: Flexisip/1.0.13 (sofia-sip-nta/2.0)
Proxy-Authenticate: Digest realm="sip.linphone.org", nonce="DWIZ4QAAAAD+oI//AABBGeblyXsAAAAA", opaque="+GNywA==", algorithm=SHA-256, qop="auth"
Proxy-Authenticate: Digest realm="sip.linphone.org", nonce="DWIZ4QAAAAD+oI//AABBGeblyXsAAAAA", opaque="+GNywA==", algorithm=MD5, qop="auth"
Content-Length: 0


--end msg--
2019-09-03 15:05:01.773           tsx0x3650bd8  .Incoming Response msg 407/SUBSCRIBE/cseq=18891 (rdata0x37774e8) in state Calling
2019-09-03 15:05:01.773           tsx0x3650bd8  ..State changed from Calling to Completed, event=RX_MSG
2019-09-03 15:05:01.773           dlg0x342f908  ...Received Response msg 407/SUBSCRIBE/cseq=18891 (rdata0x37774e8)
2019-09-03 15:05:01.773           dlg0x342f908  ...Transaction tsx0x3650bd8 state changed to Completed
2019-09-03 15:05:01.773      sip_auth_client.c  ....Unsupported digest algorithm "SHA-256"
2019-09-03 15:05:01.773         evsub0x34510b8  ....Subscription state changed SENT --> TERMINATED
2019-09-03 15:05:01.773           pjsua_pres.c  .....Presence subscription to [hidden email] is TERMINATED
2019-09-03 15:05:01.773           pjsua_pres.c  ......Resubscribing buddy id 0 in 300168 ms (reason: Proxy Authentication Required)




_______________________________________________
Linphone-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-users