Skip to content

incompatible SSL cipher suites between MicroPython ussl and some web servers #2

@z1q1x1

Description

@z1q1x1

I have a trouble with making requests to telegram bot API using urequests.
urequests.post("https://api.telegram.org/bot" + botToken + "/sendMessage?chat_id=" + str(chatId) + "&text=" + text)
I have got an error OSError: -40 when using file with axTLS and error 'SSL - A fatal alert message was received from our peer' when using file with mbedTLS.
This issue is confirmed here
micropython/micropython-lib#400
It seems that requests have to work on mbedTLS firmware, but it is not.
Device: w5100s evb pico

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions