New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lwm2m-service deployu in k8s,can not return client message #2247
Comments
Leshan? Not sure, what happens in your case. You provided close to no information. Californium is not aware to run in a container. Therefore the sending of messages is not related to that. But if the container or service description is wrong, then the traffic may get dropped there. If you like, you may check k8s for some ideas. |
Leshan? yes, I use org.eclipse.californium-2.0.0-M5 this version; where I excute this code: WriteResponse checkResponse = lwM2mServer.send(registration, checkRequest, TIMEOUT); I foud code enter below this method:
then i find endpoint.sendRequest(coapRequest); can not excute success to return message and I try Capture packets ,but There was no return message either Under normal circumstances, excute endpoint.sendRequest(coapRequest); can print below message: 2024-04-19 09:24:33: 64 FINER [ReliabilityLayer]: Send request, failed transmissions: 0 - (org.eclipse.californium.core.network.stack.ReliabilityLayer.java:87) sendRequest() in thread CoapServer#2 |
As I wrote: If even the logging isn't as you assume, I guess, the configuration for that inside the container isn't well. Californium 3.11. demos are using logback as logging backend, but that may be different for leshan.
Please, be precise:
In both cases: please update. |
If no more information is provided, I can't help. |
when I deploy Californium lwm2m-service in k8s ,config udp type, then i send a request to Californium lwm2m-service
the Californium lwm2m-service can receive client message, but when i return message through method :
public T send(final Registration destination, final DownlinkRequest request,
Long timeout)
can not success, client can receive message, i think server no send for some reason
The text was updated successfully, but these errors were encountered: