Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] leshan server/client time-out

Do both the client and server have a routable IP adress? If not you should use queue mode to connect to the server.

References: 
LWM2M Specification 8.2.1 and 8.3

Kind Regards,
Georgi Huklev

On Wed, Jan 21, 2015 at 8:27 PM, Alseddeg Nizar <Nizar.Alseddeg@xxxxxxxxxxx> wrote:

Hello, I have registered LWM2M device and was able to query the device for few seconds then I start having time out issue  between server and client.

Retying to figure out whether there is away to keep the connection alive without dropping ???

FYI, my client and server both are in different networks. When both located in the same host there no time out issue at all.

 

leshan.server.request.RequestTimeoutException: Request timed out after 5000 milliseconds

        at leshan.server.californium.impl.CaliforniumLwM2mRequestSender$SyncRequestObserver.waitForResponse(CaliforniumLwM2mRequestSender.java:278)

        at leshan.server.californium.impl.CaliforniumLwM2mRequestSender.send(CaliforniumLwM2mRequestSender.java:117)


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus

_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev




Try Cumulocity free at www.cumulocity.com!

Meet us at E-world on February 10-12 in Essen (Stand 4-219).
Meet us at Embedded World on February 24-26 in Nuremberg (Stand 4A-520f).
Meet us at GSMA Mobile World Congress on March 2-5 in Barcelona (Stand 6-B40).

Back to the top