Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] Restore an observe relation after restart

OK, will create an issue.

Thanks,
Eugene Nikolaev

2018-01-23 18:22 GMT+03:00 Kraus Achim (INST/ECS4) <Achim.Kraus@xxxxxxxxxxxx>:

Hi Eugene,

 

OK. I would like to discuss it in an issue.

 

There is some to define in the wording, e.g. server and client, and coap-server and coap-client. Because, if you restart the server, you restart the coap-client of your observes. There is some kind of support for that, because leshan requires that as well. But it’s currently not “out of the box”.

 

The easier solution is, just to reestablish a new observation, when you server (coap-client) restarts.

 

Mit freundlichen Grüßen / Best regards

Achim Kraus

(INST/ECS4)
Bosch Software Innovations GmbH | Stuttgarter Straße 130 | 71
332 Waiblingen | GERMANY | www.bosch-si.com

Tel. +49 711 811-58139 | Fax +49 711 811-58200 |
achim.kraus@xxxxxxxxxxxx

Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Dr.-Ing.
Thorsten Lücke; Geschäftsführung: Dr. Stefan Ferber, Michael Hahn



From: cf-dev-bounces@xxxxxxxxxxx [mailto:cf-dev-bounces@eclipse.org] On Behalf Of Eugene Nikolaev
Sent: Dienstag, 23. Januar 2018 16:07
To: Californium (Cf) developer discussions <cf-dev@xxxxxxxxxxx>
Subject: Re: [cf-dev] Restore an observe relation after restart

 

Hi Achim,

not sure, perhaps not.

 

My case is:

- an embedded device connects to a Californium server.

- server sets up an observe relation

- embedded device sends notification when has data

- I restart a Californium server due to redeploy and 

new instance of Californium does not know about that relation since they were stored in-memory

so responds with RST.

 

I'd like to restore that observe relation somehow.

Or at least catch that unknown Observe notification.

 

Thanks,

Eugene Nikolaev

 

 

BTW what is preferred for such questions: this mailing list or creating a github issue?

 

2018-01-23 17:56 GMT+03:00 Kraus Achim (INST/ECS4) <Achim.Kraus@xxxxxxxxxxxx>:

Hi Eugene,

Depends on your exact setup. Could you check

https://github.com/eclipse/californium/issues/472

if this applies to your case as well?

Mit freundlichen Grüßen / Best regards

 Achim Kraus

(INST/ECS4)
Bosch Software Innovations GmbH | Stuttgarter Straße 130 | 71332 Waiblingen | GERMANY | www.bosch-si.com

Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Dr.-Ing. Thorsten Lücke; Geschäftsführung: Dr. Stefan Ferber, Michael Hahn





-----Original Message-----
From: cf-dev-bounces@xxxxxxxxxxx [mailto:cf-dev-bounces@eclipse.org] On Behalf Of Eugene Nikolaev
Sent: Dienstag, 23. Januar 2018 15:30
To: cf-dev@xxxxxxxxxxx
Subject: [cf-dev] Restore an observe relation after restart

Hello!
Is there any way to restore an observe relation after server restart?

Thanks,
Eugene Nikolaev

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

 


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


Back to the top