methods BadUnsupported #72
-
I created a server using the ServerBuilder and try to run Sadly my only output is: The only thing I see there (but upon browsing of nodes in general) is Can I somehow raise the loglevel further, or is there a server setting I might have missed? I'll try to setup an example project of my problem. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
logging is not great in that part of the code. so not surprise you do not get any logging. |
Beta Was this translation helpful? Give feedback.
-
Your issue is that by default node managers are tied to namespaces. It really is not obvious so I can see how you got confused. Maybe we can log a warning somehow? I'm not sure how easy it is. So when you send a This happens to be the diagnostic node manager, i.e. the node manager for server-specific metadata like diagnostics, auditing (TBI), etc. This node manager doesn't support methods at all, so you get To fix, just use a different value for your node manager and application_uri. I'll note this in the sample. Not sure if we really can catch it, since you can have servers where it's deliberate, or node managers that aren't tied to a specific namespace like this. |
Beta Was this translation helpful? Give feedback.
Your issue is that by default node managers are tied to namespaces. It really is not obvious so I can see how you got confused. Maybe we can log a warning somehow? I'm not sure how easy it is.
So when you send a
Call
request to your server, it hits the first node manager that says that it owns the node you call. Node ownership is decided by namespace, so it hits the first node manager with the namespaceurn:MethodServer
.This happens to be the diagnostic node manager, i.e. the node manager for server-specific metadata like diagnostics, auditing (TBI), etc. This node manager doesn't support methods at all, so you get
BadServiceUnsupported
.To fix, just use a different value for your node m…