Hi,
I'm getting the following error on Stream Viewer which i'm not able to understand what would be the root cause of it.
-> 12:45:15 - Get for HTTPCodeGetDVBCStatus () had error : Error : -2146893023. [default]
-> 12:45:15 - Continuing get for HTTPCodeGetDVBCStatus ()
-> 12:45:15 - Get for HTTPContentGetDVBCStatus () had error : Error : -2146893023. [default]
-> 12:45:15 - Continuing get for HTTPContentGetDVBCStatus ()
When I send request, sometimes getting right response with data, sometimes this error that cause timeouts.
The error code -2146893023 actually translates to SEC_E_BUFFER_TOO_SMALL.
During a key exchange in TLS 1.2 with RSA+ECDHE, the 256 byte public modulus integer of ECDHE is generated randomly and therefor occasionally will have a high order byte of zero. In such a case the device you're polling (might be limited to certain OpenSSL versions) seems to send the integer using 255 bytes instead of 256.
WinHTTP (the Windows library our HTTP module depends on) doesn't seem to handle receiving the public modulus in the shorter form correctly and will then throw SEC_E_BUFFER_TOO_SMALL.
As there is a very high chance a next attempt of setting up the connection will not suffer from the same issue, from DataMiner 10.2.0 CU10 (and 10.0.0 CU22, 10.1.0 CU22, 10.3.1 - RN34888) such an error will trigger the retry mechanism.
Hi Dario,
For your information, there is a similar question:
https://community.dataminer.services/question/strange-http-error-on-get-request
There are some hints about what could be wrong but no definitive resolution