Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/1807ef2b325cfff6b265c798e7e11471 to your computer and use it in GitHub Desktop.
Save tnmtechnologies/1807ef2b325cfff6b265c798e7e11471 to your computer and use it in GitHub Desktop.
[Nsmf_PDUSession] POST /nsmf-pdusession/v1/sm-contexts/{smContextRef}/modify multipart/related serves a 404 multipart/related response (R15.2.0)
POST /nsmf-pdusession/v1/sm-contexts/abd468/modify HTTP/1.1
Accept: */*
Transfer-Encoding: chunked
Content-Type: multipart/related; boundary=PqK2mAtfzaByZ2way005iAHRuIh9qNSy_z-
Host: 127.0.0.1:8080
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.3 (Java/11.0.6)
Accept-Encoding: gzip,deflate
--PqK2mAtfzaByZ2way005iAHRuIh9qNSy_z-
Content-Type: application/json; charset=US-ASCII
Content-Transfer-Encoding: 8bit
{"pei":"imei-123456789ABCDEF","gpsi":"msisdn-029966000102","servingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","guami":{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"},"servingNetwork":{"mcc":"123","mnc":"45"},"backupAmfInfo":[{"backupAmf":"amf0","guamiList":[{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"}]}],"anType":"3GPP_ACCESS","ratType":"NR","presenceInLadn":"IN_AREA","ueLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.644Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.645Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"ueTimeZone":"Europe/Paris","addUeLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":"0123456789ABCDEF","gNbId":null,"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"upCnxState":"ACTIVATED","hoState":"NONE","toBeSwitched":true,"failedToBeSwitched":true,"n1SmMsg":{"contentId":"n1msg"},"n2SmInfo":{"contentId":"n2msg"},"n2SmInfoType":"PDU_RES_SETUP_REQ","targetServingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","smContextStatusUri":"https://5gc.3gpp.org","dataForwarding":true,"epsBearerSetup":["0"],"revokeEbiList":[0],"release":true,"cause":"REL_DUE_TO_HO","ngApCause":{"group":0,"value":0},"sNssai":{"sst":0,"sd":"ABCDEF"},"traceData":{"traceRef":"01201-ABCDEF","traceDepth":"MINIMUM","neTypeList":"0123456789ABCDEF","eventList":"abcddef","collectionEntityIpv4Addr":"198.51.100.1","collectionEntityIpv6Addr":null,"interfaceList":"012ABC"},"epsInterworkingInd":"NONE","anTypeCanBeChanged":true,"5gMmCauseValue":0}
--PqK2mAtfzaByZ2way005iAHRuIh9qNSy_z-
Content-ID: n1msg
Content-Type: application/vnd.3gpp.5gnas
Content-Transfer-Encoding: binary
n1msg part
--PqK2mAtfzaByZ2way005iAHRuIh9qNSy_z-
Content-ID: n2msg
Content-Type: application/vnd.3gpp.ngap
Content-Transfer-Encoding: binary
n2msg part
--PqK2mAtfzaByZ2way005iAHRuIh9qNSy_z---
HTTP/1.1 404 Not Found
Connection: keep-alive
Content-Type: multipart/related;start="<747b2f6f-288e-4335-845f-3fe882e9d698@resteasy-multipart>";type="application/json"; boundary=f55f5050-9e64-47c4-8f63-d8ddbdc38650
Content-Length: 830
Date: Wed, 17 Jun 2020 09:21:11 GMT
--f55f5050-9e64-47c4-8f63-d8ddbdc38650
Content-ID: <747b2f6f-288e-4335-845f-3fe882e9d698@resteasy-multipart>
Content-Type: application/json
{"error":{"type":"NotFoundSmfRefRuntimeException","title":"smContextRef unable to find session or context reference","status":404,"detail":null,"instance":null,"cause":null,"invalidParams":[{"param":"smContextRef","reason":"unknown reference abd468"}]},"n1SmMsg":{"contentId":"n1msg"},"n2SmInfo":{"contentId":"n2msg"},"n2SmInfoType":"PDU_RES_SETUP_FAIL","upCnxState":null,"recoveryTime":"2020-06-17T09:20:58.761Z"}
--f55f5050-9e64-47c4-8f63-d8ddbdc38650
Content-ID: n1msg
Content-Type: application/vnd.3gpp.5gnas
n1msg part
--f55f5050-9e64-47c4-8f63-d8ddbdc38650
Content-ID: n2msg
Content-Type: application/vnd.3gpp.ngap
n2msg part
--f55f5050-9e64-47c4-8f63-d8ddbdc38650--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment