user3717743
user3717743

Reputation: 43

Getting the error " Status 400: Client sent an HTTP request to an HTTPS server." while connecting to Docker on IntelliJ

I have installed Docker using Docker Toolbox as I am using Windows 10 Home version. But when I connect to Docker in Intellij its throwing below error.

Status 400: Client sent an HTTP request to an HTTPS server.

How to resolve this?

Error

Docker Configuration

Upvotes: 3

Views: 5070

Answers (2)

Amer Qarabsa
Amer Qarabsa

Reputation: 6574

This means that you are not setting tlsVerify/cert path when calling the docker api check your certpath and make suer it has ca.pem, key.pem and cert.pem

Upvotes: 0

Michael Cheremuhin
Michael Cheremuhin

Reputation: 1383

Try changing the Engine API URL from tcp://$HOST:$PORT to https://$HOST:$PORT.

Upvotes: 5

Related Questions