Comments (6)
Scandium currently requires client code to synchronously establish the initial DTLS session with the server before sending arbitrary (sync or async) requests over the established session.
If you do not do so Scandium starts mulitple concurrent handshakes with the server (one for each async request) until one of the handshakes has finished.
We need to properly document this and maybe also prevent client code from submitting more requests until the session is established.
from californium.
Also see here for a description of what happens under the hood.
NB please do not comment on the referenced issue in californium.scandium because we have merged Scandium into the Californium repo.
from californium.
Is this still an issue? If so, I think one solution to fix it, would be adding and additional newDeferredMessageSender to the "ongoing handshake" instead of starting a new one.
Any opinions on this?
from californium.
@boacks I suppose this should works. (Even if I suspect some possible race condition)
from californium.
It seems to be no longer a issue of interest, so I would rather close than fixing it :-).
Even if this issue was not caused by coap retries during a ongoing handshake, such retries are from my experience mainly the cause for such problems. But in the meantime, such retries are not longer the case.
from californium.
Testing I found, that if "notifications" trigger a handshake (e.g Automatic session resumption is used), fast following notifications may be dropped.
So FMPOV, this issue should be fixed :-)
from californium.
Related Issues (20)
- Confirmable message with ACK with next message HOT 13
- Dealing with RESPONSE_MATCHING parameter on device (reverse engineering) HOT 2
- Minor Release 3.9.0 - Available HOT 11
- Why do DTLS_CONNECTOR_THREAD_COUNT and DTLS_RECEIVER_THREAD_COUNT default to 1? HOT 1
- IllegalStateException: automatic message IDs exhausted HOT 9
- FETCH and blockwise - Behavior change of Californium 3.8
- I have a question about simple file server HOT 15
- DatagramFilterExtended#onDrop called with not "full" Record HOT 5
- I used californium for Android 11, and there is some mistakes, and I don't understand why? HOT 5
- CoAP Request-Tag option Support HOT 2
- Add Sequence Token Generator ? HOT 3
- CoAP Echo option Support HOT 3
- Bugfix Release 3.9.1 - Available HOT 1
- I wanna save the whole logs of SenML JSON. HOT 7
- Demo certificates renewed
- Request response metrics - Experience using Azure Insights and Californium HOT 8
- Runtime dependency - logback 1.2 - CVE-2023-6378 fix available HOT 10
- Minor Release 3.10.0 - Available HOT 1
- Handshake with [x.x.x.x:xxxx] failed after session was established! Alert Protocol Level: FATAL Description: HANDSHAKE_FAILURE HOT 17
- Californium Deployment issues HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from californium.