Lopy4 OSError: [Errno -29312] MBEDTLS_ERR_SSL_CONN_EOF in urequests.py



  • Hi
    I am making an access to a database through a requests.request ("PUT", url, headers = headers, data = payload) with the urequests.py library, after 5 successful accesses when I want to do the sixth one, it delivers the next mistake

      File "/flash/lib/urequests.py", line 102, in request
      File "/flash/lib/urequests.py", line 62, in request
    OSError: [Errno -29312] MBEDTLS_ERR_SSL_CONN_EOF
    

    I can't fix it.
    Because it can be?



  • Which network are you using? the error MBEDTLS_ERR_SSL_CONN_EOF signifies an error in the SSL connection for end of file, or abrupt disconnection. This could also be due to a memory error in the urequest module. Through google I was able to find several solutions that you can try (you'll probably be able to find them yourself as well :) )

    Gijs


Log in to reply
 

Pycom on Twitter