I upgraded to the latest version and these issues went away (was running
version from around end of October).  Everything appears to be working
correctly now.

Thanks,
Trey


-----Original Message-----From: Trey Ormsbee
<[email protected]>
To: [email protected]
<[email protected]>
Subject: [Clearwater] External HSS - Auth Requests not sent to HSS
Date: Fri, 4 Dec 2015 19:31:25 -0500

I am trying to configure/use FHoSS for some testing.  Homestead is
giving me a fit with Auth requeests.  It is not sending requests to the
HSS.  It gives the following in the log:

04-12-2015 23:56:13.047 UTC Verbose httpstack.cpp:286: Process request
for URL /impi/%2B15557772001%40example.com/av, args impu=sip%3A%
2B15557772001%40example.com
04-12-2015 23:56:13.058 UTC Debug handlers.cpp:147: Parsed HTTP request:
private ID [email protected], public ID sip:
[email protected], scheme Unknown, authorization 
04-12-2015 23:56:13.058 UTC Debug handlers.cpp:154: Authentication
vector cache query disabled - query HSS
04-12-2015 23:56:13.082 UTC Debug cx.cpp:366: Building Multimedia-Auth
request for [email protected]/sip:[email protected]
04-12-2015 23:56:13.082 UTC Debug freeDiameter: No Session-Id AVP found
in message 0x7f2444001c60
04-12-2015 23:56:13.094 UTC Verbose diameterstack.cpp:1422: Sending
Diameter message of type 303 on transaction 0x7f2444053940 with timeout
200
04-12-2015 23:56:13.108 UTC Debug diameterstack.cpp:397: Routing out
callback from freeDiameter
04-12-2015 23:56:13.133 UTC Info diameterstack.cpp:293: Routing error:
'No remaining suitable candidate to route the message to' for message
with Command-Code 303, Destination-Host hss.example.com and
Destination-Realm example.com
04-12-2015 23:56:13.138 UTC Debug freeDiameter: Iterating on rules of
COMMAND: '(generic error format)'.
04-12-2015 23:56:13.139 UTC Debug freeDiameter: Calling callback
registered when query was sent (0x4595c0, 0x7f2444053940)
04-12-2015 23:56:13.139 UTC Verbose diameterstack.cpp:1092: Got Diameter
response of type 303 - calling callback on transaction 0x7f2444053940
04-12-2015 23:56:13.139 UTC Debug handlers.cpp:336: Received
Multimedia-Auth answer with result code 3002
04-12-2015 23:56:13.139 UTC Info handlers.cpp:381: Multimedia-Auth
answer wit:%s/h result code 3002 - reject
04-12-2015 23:56:13.139 UTC Verbose httpstack.cpp:69: Sending response
500 to request for URL /impi/%2B15557772001%40example.com/av, args
impu=sip%3A%2B15557772001%40example.com


I see some replies on this list regarding needing to add in NAPTR/SRV
records which I have tried...  The odd issue here is the watchdog
requests are sent periodcly to the HSS and those requests to the HSS
appear fine.  however,  the log in homestead looks a little odd as well:

05-12-2015 00:25:48.779 UTC Debug dnscachedresolver.cpp:323: Pulling 1
records from cache for hss.example.com A
05-12-2015 00:25:48.779 UTC Debug baseresolver.cpp:353: Found 1 A/AAAA
records, randomizing
05-12-2015 00:25:48.779 UTC Debug baseresolver.cpp:495:
xxx.xxx.xxx.xxx:3868 transport 132 is not blacklisted
05-12-2015 00:25:48.800 UTC Debug baseresolver.cpp:374: Added a server,
now have 1 of 2
05-12-2015 00:25:48.800 UTC Debug baseresolver.cpp:412: Adding 0 servers
from blacklist
05-12-2015 00:25:49.901 UTC Debug freeDiameter: 'STATE_OPEN'    <--
'FDEVP_PSM_TIMEOUT' ((nil),0)       'xxx.xxx.xxx.xxx'
05-12-2015 00:25:49.901 UTC Debug freeDiameter: Peer timeout reset to 30
seconds
05-12-2015 00:25:49.901 UTC Debug freeDiameter: 'xxx.xxx.xxx.xxx' in
state 'STATE_OPEN' waiting for next event.
05-12-2015 00:25:49.901 UTC Debug freeDiameter: GOING TO SEND TO
'xxx.xxx.xxx.xxx': 'Device-Watchdog-Request'0/280 f:R--- src:'(nil)'
len:20 {C:264/l:8,C:296/l:8,C:278/l:12}
05-12-2015 00:25:49.901 UTC Debug diameterstack.cpp:904: Processing a
sent diameter message
05-12-2015 00:25:49.901 UTC Debug diameterstack.cpp:906: Got existing
trail ID: 0
05-12-2015 00:25:49.901 UTC Debug freeDiameter: No Session-Id AVP found
in message 0x7f35e002db80
05-12-2015 00:25:49.901 UTC Error freeDiameter: ERROR: Invalid parameter
'(( ((session) != ((void *)0)) && ( ((struct session *)(session))->eyec
== 0x53551D) ) && sid)', 22
05-12-2015 00:25:49.901 UTC Debug freeDiameter: Sending 112b data on
connection {----} TCP,#630->xxx.xxx.xxx.xxx(3868)
05-12-2015 00:25:49.902 UTC Debug freeDiameter: 'STATE_OPEN'    <--
'FDEVP_CNX_MSG_RECV'        (0x7f35e4031160,92)     'xxx.xxx.xxx.xxx'
05-12-2015 00:25:49.902 UTC Debug diameterstack.cpp:884: Processing a
received diameter message
05-12-2015 00:25:49.902 UTC Debug diameterstack.cpp:897: Got existing
trail ID: 0
05-12-2015 00:25:49.902 UTC Debug freeDiameter: No Session-Id AVP found
in message 0x7f35e002e750
05-12-2015 00:25:49.902 UTC Error freeDiameter: ERROR: Invalid parameter
'(( ((session) != ((void *)0)) && ( ((struct session *)(session))->eyec
== 0x53551D) ) && sid)', 22
05-12-2015 00:25:49.902 UTC Debug freeDiameter: Iterating on rules of
COMMAND: 'Device-Watchdog-Answer'.
05-12-2015 00:25:49.902 UTC Debug freeDiameter: Peer timeout reset to 30
seconds (+/- 2)
05-12-2015 00:25:49.902 UTC Debug freeDiameter: 'xxx.xxx.xxx.xxx' in
state 'STATE_OPEN' waiting for next event.


here is the config file on homestead:


home_domain=example.com
sprout_hostname=sprout.example.com
chronos_hostname=localhost:7253
hs_hostname=homestead.example.com:8888
xdms_hostname=homer.example.com:7888

# Local IP configuration
local_ip=xxx.xxx.xxx.xxx
public_ip=xxx.xxx.xxx.xxx
public_hostname=homestead01.example.com

# Email server configuration
smtp_smarthost=mail.exampe.com
smtp_username=mailuser
smtp_password=secret


# Keys
signup_key=secret
turn_workaround=secret
ellis_api_key=secret
ellis_cookie_key=secret

# HSS configuration
hss_hostname=hss.example.com
hss_port=3868




Any ideas what is missing here?








_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org



_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to