Menu

#10 Problem with REGISTRATION 500 Server error

1.0
open
nobody
None
2016-01-13
2016-01-12
SJaH
No

Hi,

I have configured P,I,S-CSCF and HSS, but during Registration get error. In signaling it looks that i'm on the final straight :)

S-CSCF send 500 Server Internal Error to I-CSCF. In log on S-CSCF i see that problem occured when S-CSCF received service profile in xml file from the HSS. In HSS logs i can see only mentioned file and on GUI that IMPU is registered

my session flow:
UE ------Register -----> P-CSCF ---> I-SCSF ---DIAMATER---> HSS --gives scscf name-->I-CSCF----> S-CSCF---> 401 back to--->UE -----> REGISTER with "Authorization" ...goes to.. ->S-CSCF ---->HSS --> S-CSCF - back to UE through I,P-CSCF with 500 Server Internal error

and logs from S-CSCF
./scscf[27029]: INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp

./scscf[27029]: ERROR: ims_registrar_scscf [userdata_parser.c:906]: parse_user_data(): Verification of XML against XSD failed <<imssubscription><privateid>testjan@xxx.xx.xx</privateid><serviceprofile><publicidentity><identity>sip:testjan@xxx.xx.xx</identity><extension><identitytype>0</identitytype></extension></publicidentity><initialfiltercriteria><priority>0</priority><triggerpoint><conditiontypecnf>0</conditiontypecnf><spt><conditionnegated>0</conditionnegated><group>0</group><method>REGISTER</method><extension><registrationtype>0</registrationtype></extension></spt></triggerpoint><applicationserver><servername>sip:10.1.1.201:5560</servername><defaulthandling>0</defaulthandling><extension><includeregisterrequest><includeregisterresponse></includeregisterresponse></includeregisterrequest></extension></applicationserver></initialfiltercriteria></serviceprofile></imssubscription>>
Jan 12 11:47:59 mysql-db-01 ./scscf[27029]: ERROR: ims_registrar_scscf [cxdx_sar.c:223]: async_cdp_callback(): Unable to parse user data XML string

I don't have idea what is wrong in this file and how to debug it. I found similar problem described in post/ticket:

https://sourceforge.net/p/openimscore/mailman/message/32536859/

but i don't have additional ERROR like in above post:

"ERR:S-CSCF:cscf_get_algorithm: Message does not contain Authorization"

I tried to set different Autthentication scheme (actually Digest-MD5) and different Register Method in Trigerring point, but result is the same.

I use Boghe IM/RCS Client or xlite and Application Server address is fake, I don't have any configured yet.

Related

Issues: #10

Discussion

  • Franz Edler

    Franz Edler - 2016-01-12

    Please provide a tracefile with tcpdump -i any -s 3000 -w
    /var/tmp/trace.pcap

    BR Franz

    From: SJaH [mailto:yankees33@users.sf.net]
    Sent: Tuesday, January 12, 2016 12:25 PM
    To: Ticket 10 10@issues.openimscore.p.re.sf.net
    Subject: [openimscore:issues] #10 Problem with REGISTRATION 500 Server error


    [issues:#10] http://sourceforge.net/p/openimscore/issues/10/ Problem with
    REGISTRATION 500 Server error

    Status: open
    Milestone: 1.0
    Created: Tue Jan 12, 2016 11:25 AM UTC by SJaH
    Last Updated: Tue Jan 12, 2016 11:25 AM UTC
    Owner: nobody

    Hi,

    I have configured P,I,S-CSCF and HSS, but during Registration get error. In
    signaling it looks that i'm on the final straight :)

    S-CSCF send 500 Server Internal Error to I-CSCF. In log on S-CSCF i see that
    problem occured when S-CSCF received service profile in xml file from the
    HSS. In HSS logs i can see only mentioned file and on GUI that IMPU is
    registered

    my session flow:
    UE ------Register -----> P-CSCF ---> I-SCSF ---DIAMATER---> HSS --gives
    scscf name-->I-CSCF----> S-CSCF---> 401 back to--->UE -----> REGISTER with
    "Authorization" ...goes to.. ->S-CSCF ---->HSS --> S-CSCF - back to UE
    through I,P-CSCF with 500 Server Internal error

    and logs from S-CSCF
    ./scscf[27029]: INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp():
    cxdx_get_experimental_result_code: Failed finding avp

    ./scscf[27029]: ERROR: ims_registrar_scscf [userdata_parser.c:906]:
    parse_user_data(): Verification of XML against XSD failed <<imssubscription><privateid>testjan@xxx.xx.xx</privateid><
    ServiceProfile><publicidentity><identity>sip:testjan@xxx.xx.xx</identity><ex tension=""><identitytype>0</identitytype></ex></publicidentity><initialf iltercriteria=""><priority>0</priority><triggerpoint><conditiontypecnf>0<spt><conditionnegated>0</conditionnegated><group>0</group><meth od="">REGISTER<extension><registrationtype>0</registrationtype></extension></meth></spt></conditiontypecnf></triggerpoint><applicationserver><servername>sip:10.1.1.201:5560
    </servername><defaulthandling>0</defaulthandling><extension><includeregister request=""><includeregisterresponse></includeregisterresponse></includeregister></extension></applicationserver></initialf></imssubscription>>
    Jan 12 11:47:59 mysql-db-01 ./scscf[27029]: ERROR: ims_registrar_scscf
    [cxdx_sar.c:223]: async_cdp_callback(): Unable to parse user data XML string

    I don't have idea what is wrong in this file and how to debug it. I found
    similar problem described in post/ticket:

    https://sourceforge.net/p/openimscore/mailman/message/32536859/

    but i don't have additional ERROR like in above post:

    "ERR:S-CSCF:cscf_get_algorithm: Message does not contain Authorization"

    I tried to set different Autthentication scheme (actually Digest-MD5) and
    different Register Method in Trigerring point, but result is the same.

    I use Boghe IM/RCS Client or xlite and Application Server address is fake, I
    don't have any configured yet.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/openimscore/issues/10/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Issues: #10

    • SJaH

      SJaH - 2016-01-13

      Hi

      pcap atached

      On Tue, Jan 12, 2016 at 7:47 PM, Franz Edler franz-edler@users.sf.net
      wrote:

      Please provide a tracefile with tcpdump -i any -s 3000 -w
      /var/tmp/trace.pcap

      BR Franz

      From: SJaH [mailto:yankees33@users.sf.net]
      Sent: Tuesday, January 12, 2016 12:25 PM
      To: Ticket 10 10@issues.openimscore.p.re.sf.net
      Subject: [openimscore:issues] #10 Problem with REGISTRATION 500 Server
      error


      [issues:#10] http://sourceforge.net/p/openimscore/issues/10/
      http://sourceforge.net/p/openimscore/issues/10/ Problem with
      REGISTRATION 500 Server error

      Status: open
      Milestone: 1.0
      Created: Tue Jan 12, 2016 11:25 AM UTC by SJaH
      Last Updated: Tue Jan 12, 2016 11:25 AM UTC
      Owner: nobody

      Hi,

      I have configured P,I,S-CSCF and HSS, but during Registration get error. In
      signaling it looks that i'm on the final straight :)

      S-CSCF send 500 Server Internal Error to I-CSCF. In log on S-CSCF i see
      that
      problem occured when S-CSCF received service profile in xml file from the
      HSS. In HSS logs i can see only mentioned file and on GUI that IMPU is
      registered

      my session flow:
      UE ------Register -----> P-CSCF ---> I-SCSF ---DIAMATER---> HSS --gives
      scscf name-->I-CSCF----> S-CSCF---> 401 back to--->UE -----> REGISTER with
      "Authorization" ...goes to.. ->S-CSCF ---->HSS --> S-CSCF - back to UE
      through I,P-CSCF with 500 Server Internal error

      and logs from S-CSCF
      ./scscf[27029]: INFO: ims_registrar_scscf [cxdx_avp.c:138]:
      cxdx_get_avp():
      cxdx_get_experimental_result_code: Failed finding avp

      ./scscf[27029]: ERROR: ims_registrar_scscf [userdata_parser.c:906]:
      parse_user_data(): Verification of XML against XSD failed <<imssubscription><privateid>testjan@xxx.xx.xx
      </privateid><
      ServiceProfile><publicidentity><identity>sip:testjan@xxx.xx.xx</identity><ex tension=""><identitytype>0</identitytype></ex></publicidentity><initialf iltercriteria=""><priority>0</priority><triggerpoint><conditiontypecnf>0<spt><conditionnegated>0</conditionnegated><group>0</group><meth od="">REGISTER<extension><registrationtype>0</registrationtype></extension></meth></spt></conditiontypecnf></triggerpoint><applicationserver><servername>sip:
      10.1.1.201:5560
      </servername><defaulthandling>0</defaulthandling><extension><includeregister request=""><includeregisterresponse></includeregisterresponse></includeregister></extension></applicationserver></initialf></imssubscription>>
      Jan 12 11:47:59 mysql-db-01 ./scscf[27029]: ERROR: ims_registrar_scscf
      [cxdx_sar.c:223]: async_cdp_callback(): Unable to parse user data XML
      string

      I don't have idea what is wrong in this file and how to debug it. I found
      similar problem described in post/ticket:

      https://sourceforge.net/p/openimscore/mailman/message/32536859/

      but i don't have additional ERROR like in above post:

      "ERR:S-CSCF:cscf_get_algorithm: Message does not contain Authorization"

      I tried to set different Autthentication scheme (actually Digest-MD5) and
      different Register Method in Trigerring point, but result is the same.

      I use Boghe IM/RCS Client or xlite and Application Server address is fake,
      I
      don't have any configured yet.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/openimscore/issues/10/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/


      Status: open
      Milestone: 1.0
      Created: Tue Jan 12, 2016 11:25 AM UTC by SJaH
      Last Updated: Tue Jan 12, 2016 11:25 AM UTC
      Owner: nobody

      Hi,

      I have configured P,I,S-CSCF and HSS, but during Registration get error.
      In signaling it looks that i'm on the final straight :)

      S-CSCF send 500 Server Internal Error to I-CSCF. In log on S-CSCF i see
      that problem occured when S-CSCF received service profile in xml file from
      the HSS. In HSS logs i can see only mentioned file and on GUI that IMPU is
      registered

      my session flow:
      UE ------Register -----> P-CSCF ---> I-SCSF ---DIAMATER---> HSS --gives
      scscf name-->I-CSCF----> S-CSCF---> 401 back to--->UE -----> REGISTER with
      "Authorization" ...goes to.. ->S-CSCF ---->HSS --> S-CSCF - back to UE
      through I,P-CSCF with 500 Server Internal error

      and logs from S-CSCF
      ./scscf[27029]: INFO: ims_registrar_scscf [cxdx_avp.c:138]:
      cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp

      ./scscf[27029]: ERROR: ims_registrar_scscf [userdata_parser.c:906]:
      parse_user_data(): Verification of XML against XSD failed <<imssubscription><privateid>testjan@xxx.xx.xx
      </privateid><serviceprofile><publicidentity><identity>sip:testjan@xxx.xx.xx
      </identity><extension><identitytype>0</identitytype></extension></publicidentity><initialfiltercriteria><priority>0</priority><triggerpoint><conditiontypecnf>0</conditiontypecnf><spt><conditionnegated>0</conditionnegated><group>0</group><method>REGISTER</method><extension><registrationtype>0</registrationtype></extension></spt></triggerpoint><applicationserver><servername>sip:
      10.1.1.201:5560
      </servername><defaulthandling>0</defaulthandling><extension><includeregisterrequest><includeregisterresponse></includeregisterresponse></includeregisterrequest></extension></applicationserver></initialfiltercriteria></serviceprofile></imssubscription>>
      Jan 12 11:47:59 mysql-db-01 ./scscf[27029]: ERROR: ims_registrar_scscf
      [cxdx_sar.c:223]: async_cdp_callback(): Unable to parse user data XML
      string

      I don't have idea what is wrong in this file and how to debug it. I found
      similar problem described in post/ticket:

      https://sourceforge.net/p/openimscore/mailman/message/32536859/

      but i don't have additional ERROR like in above post:

      "ERR:S-CSCF:cscf_get_algorithm: Message does not contain Authorization"

      I tried to set different Autthentication scheme (actually Digest-MD5) and
      different Register Method in Trigerring point, but result is the same.

      I use Boghe IM/RCS Client or xlite and Application Server address is fake,
      I don't have any configured yet.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/openimscore/issues/10/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Issues: #10

  • SJaH

    SJaH - 2016-01-13

    Hi,

    Thanks for your reply, pcap attached

    BR

     
    • SJaH

      SJaH - 2016-01-13

      p.s.
      i tried to set up service profile without ifc, so without TP and AP, but result is the same, below xml in this scenario:

      DEBUG: ims_registrar_scscf [cxdx_sar.c:220]: async_cdp_callback(): Parsing user data string from SAA
      ./scscf[28440]: ERROR: ims_registrar_scscf [userdata_parser.c:906]: parse_user_data(): Verification of XML against XSD failed <<imssubscription><privateid>testjan@ims.test.it.pl</privateid><serviceprofile><publicidentity><identity>sip:testjan@ims.test.it.pl</identity><extension><identitytype>0</identitytype></extension></publicidentity></serviceprofile></imssubscription>>
      ./scscf[28440]: ERROR: ims_registrar_scscf [cxdx_sar.c:223]: async_cdp_callback(): Unable to parse user data XML string

      and I did additional test, when I commented below line in scscf konfiguration file then I can register

      modparam("ims_registrar_scscf", "user_data_xsd","/etc/kamailio/CxDataType_Rel7.xsd")

       

Log in to post a comment.

Monday.com Logo