Python Script for Ezlo FW HTTP API Curl commands

I am getting the same thing… anyone resolve this ticket?

C:\Users\TestUser>curl -v -K ezlo_plus_curl_auth https://192.168.74.20:17000/v1/method/hub/info/get

  • Trying 192.168.74.20:17000…
  • Connected to 192.168.74.20 (192.168.74.20) port 17000 (#0)
  • schannel: disabled automatic use of client certificate
  • schannel: using IP address, SNI is not supported by OS.
  • ALPN: offers http/1.1
  • ALPN: server did not agree on a protocol. Uses default.

GET /v1/method/hub/info/get HTTP/1.1
Host: 192.168.74.20:17000
User-Agent: curl/7.83.1
Accept: /
Authorization: Basic YmFl…

  • schannel: server closed abruptly (missing close_notify)
  • Closing connection 0
  • schannel: shutting down SSL/TLS connection with 192.168.74.20 port 17000
    curl: (56) Failure when receiving data from the peer

C:\Users\TestUser>

It has been a while since I tried, but the last time it indeed failed. It seems Ezlo made some change in the authentication.

Hi @mgalaty

Which hub model are you trying to connect ?