OSError: -28928
OSError: -28928
I tried googling OSError: -28928 but no hits. I get this error from urequests occasionally so I suspect it's got something to do with sockets or DNS lookups? Can anybody enlighten me?
-
- Posts: 84
- Joined: Mon Mar 20, 2017 10:22 pm
Re: OSError: -28928
I'm pretty sure OSErrors when running TLS are mbedTLS errors. And I'm also pretty sure that these are written and decimal and need to be translated to hex to find the actual mbedTLS error. So -28928 in decimal equates to mbedtls error -0x7100. And looking at the mbedTLS errors, we see -0x7100 is MBEDTLS_ERR_SSL_BAD_INPUT_DATA: Bad input parameters to function.
I'm not 100% sure about this, but I think that's correct. And that's about as far as I can take you with this one. It's frustrating, isn't it.
https://tls.mbed.org/api/ssl_8h.html
I'm not 100% sure about this, but I think that's correct. And that's about as far as I can take you with this one. It's frustrating, isn't it.
https://tls.mbed.org/api/ssl_8h.html
Re: OSError: -28928
Opaque error codes are very frustrating. Thnx for the heads up on looking for the hex equivalent, I should have tweaked to that option.