api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Docker - 400 Bad Request

Open JMKelley opened this issue 5 years ago • 3 comments

Getting 400 Bad Request when heading to the default docker URL.

Follow Docker instructions on https://apiumbrella.io/install/

When loading http://localhost:443/ you get: 400 Bad Request The plain HTTP request was sent to HTTPS port

JMKelley avatar Oct 14 '20 16:10 JMKelley

You need to send HTTPS request to 443 port, but even that is not working. I am following the exact steps as documented still getting 502 Bad Gateway

drpdishant avatar Oct 25 '21 13:10 drpdishant

i have added rules in api-umbrella.yml and run the docker cmd docker run -d --name=api-umbrella -p 80:80 -p 443:443 -v "$(pwd)/config":/etc/api-umbrella nrel/api-umbrella still it shows connection private and procedding forward it shows 502 bad gateway rules added:

override_public_http_port: 443

override_public_http_proto: https

laxmangiri93 avatar Jan 10 '22 08:01 laxmangiri93

Hi @laxmangiri93 @drpdishant @JMKelley, did you resolve this issue yet? How did you do that? Thanks in advance.

AbhiPawar5 avatar May 09 '23 04:05 AbhiPawar5