Unable to contact server:The provided URI scheme 'http' is invalid; expected 'https'.

We use 2021R2 version and connecting to the server using SDK.

Server is configured to accept HTTP.

No HTTPS configuration

We receive an error when using SDK example during login

However, server logs show success login

Screenshots attached

Server logs

Please try to use a fully qualified domain name, instead of the server name in the Connect to server dialog.