-
Bug
-
Resolution: Done
-
High
-
None
After https://git.opendaylight.org/gerrit/c/netconf/+/111339 changes, requesting for subscribe notification
curl 'http://localhost:8181/rests/operations/odl-device-notification:subscribe-device-notification' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic YWRtaW46YWRtaW4=' \ --data '{ "input": { "path":"/network-topology:network-topology/topology[topology-id='\''topology-netconf'\'']/node[node-id='\''netopeer'\'']" } }'
fails with
{ "servlet": "org.glassfish.jersey.servlet.ServletContainer", "message": "Internal Server Error", "url": "/rests/operations/odl-device-notification:subscribe-device-notification", "status": "500" }
and logs:
09:38:23.823 ERROR [CommitFutures-1] MessageBodyWriter not found for media type=application/json, type=class org.opendaylight.restconf.server.spi.OperationOutputBody, genericType=class org.opendaylight.restconf.server.spi.OperationOutputBody.
- blocks
-
NETCONF-1273 Error 500 on Notification Stream Access for Netconf Device Subscriptions
- Resolved