Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » responseStatusCode=5204, error when create subscription of IN data to MN(solved)
responseStatusCode=5204, error when create subscription of IN data to MN(solved) [message #1741863] Tue, 30 August 2016 09:20
Can LIU is currently offline Can LIUFriend
Messages: 29
Registered: May 2016
Junior Member
Hey guys,

I want to create a subscription of IN data to MN-AE,
In the configuration file, i gave them IP adresse correctly. but I get this errors 5204, and it saids that Target is not reachable: http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER!
I don't understand that here, why the target changes to 127.0.0.1, it should be the ip adresse of my MN machine.
Hope your guys could help me out of this!!

And here is the original log info.

[INFO] - org.eclipse.om2m.binding.http.RestHttpServlet
Built RequestPrimitive: RequestPrimitive [to=/in-cse/in-name/MY_CONTROLLER/DATA,
content=<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols">
<nu>/mn-cse/mn-name/MY_AECONTROLLER</nu>
<nct>2</nct>
</m2m:sub>
,
]
[INFO] - org.eclipse.om2m.binding.http.RestHttpServlet
Content type headers: application/xml;ty=23
[INFO] - org.eclipse.om2m.binding.http.RestHttpServlet
Header value: application/xml
[INFO] - org.eclipse.om2m.binding.http.RestHttpServlet
Header value: ty=23
[INFO] - org.eclipse.om2m.binding.http.RestHttpServlet
Accept header: */*
[INFO] - org.eclipse.om2m.core.router.Router
Received request in Router: RequestPrimitive [operation=1,
to=/in-cse/in-name/MY_CONTROLLER/DATA,
from=admin:admin,
resourceType=23,
content=<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols">
<nu>/mn-cse/mn-name/MY_AECONTROLLER</nu>
<nct>2</nct>
</m2m:sub>
,
returnContentType=application/xml,
requestContentType=application/xml,
queryStrings={}]
[INFO] - org.eclipse.om2m.core.router.Router
Request handling in the current CSE: /in-cse/in-name/MY_CONTROLLER/DATA
[INFO] - org.eclipse.om2m.core.router.Router
ResourceController to be used [SubscriptionController]
[INFO] - org.eclipse.om2m.core.notifier.Notifier
Sending notify request to: /mn-cse/mn-name/MY_AECONTROLLER
[INFO] - org.eclipse.om2m.core.notifier.Notifier
Sending notify request...
[INFO] - org.eclipse.om2m.core.router.Router
Received request in Router: RequestPrimitive [operation=5,
to=/mn-cse/mn-name/MY_AECONTROLLER,
from=/in-cse,
content=<?xml version="1.0" encoding="UTF-8"?>
<m2m:sgn xmlns:m2m="http://www.onem2m.org/xml/protocols">
<vrq>true</vrq>
<sud>false</sud>
</m2m:sgn>
,
returnContentType=application/xml,
requestContentType=application/xml,
]
[INFO] - org.eclipse.om2m.core.router.Router
Request targeting another CSE, forwarding to Redirector: /mn-cse/mn-name/MY_AECONTROLLER
[INFO] - org.eclipse.om2m.core.redirector.Redirector
RemoteCSE found: /mn-cse
[INFO] - org.eclipse.om2m.core.comm.RestClient
the requestIndication RC: RequestPrimitive [operation=5,
to=http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER,
from=/in-cse,
content=<?xml version="1.0" encoding="UTF-8"?>
<m2m:sgn xmlns:m2m="http://www.onem2m.org/xml/protocols">
<vrq>true</vrq>
<sud>false</sud>
</m2m:sgn>
,
returnContentType=application/xml,
requestContentType=application/xml,
]
[INFO] - org.eclipse.om2m.binding.http.RestHttpClient
Sending request: RequestPrimitive [operation=5,
to=http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER,
from=/in-cse,
content=<?xml version="1.0" encoding="UTF-8"?>
<m2m:sgn xmlns:m2m="http://www.onem2m.org/xml/protocols">
<vrq>true</vrq>
<sud>false</sud>
</m2m:sgn>
,
returnContentType=application/xml,
requestContentType=application/xml,
]
[INFO] - org.eclipse.om2m.binding.http.RestHttpClient
Request to be send: POST http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER HTTP/1.1
[INFO] - org.eclipse.om2m.binding.http.RestHttpClient
Headers:
Accept: application/xml
X-M2M-Origin: /in-cse
Content-Type: application/xml

[INFO] - org.eclipse.om2m.binding.http.RestHttpClient
Target is not reachable: http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER
[INFO] - org.eclipse.om2m.core.comm.RestClient
ResponsePrimitive [responseStatusCode=5103,
content=Target is not reachable: http://127.0.0.1:8282/~/mn-cse/mn-name/MY_AECONTROLLER,
to=/in-cse,
from=/in-cse,
contentType=text/plain,
]
[INFO] - org.eclipse.om2m.core.router.Router
OM2M exception caught in Router: Error during the verification request
[INFO] - org.eclipse.om2m.core.router.Router
Response in Router= ResponsePrimitive [responseStatusCode=5204,
content=Error during the verification request,
to=admin:admin,
from=/in-cse,
contentType=text/plain,
]


Thanks in advance

Can

[Updated on: Tue, 30 August 2016 13:25]

Report message to a moderator

Previous Topic:OM2M semanticDescriptor resource
Next Topic:Use REST client to change the attribute of Container
Goto Forum:
  


Current Time: Fri Oct 11 02:55:04 GMT 2024

Powered by FUDForum. Page generated in 0.06083 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top