Getting Curl error while token supplied as invalid in mapped port

0

My .yml file code

Quert-authentication:

image: datadog/squid

networks:
  - prod-tese-network
container_name: Quert-authentication

volumes:
  - ./conf/squid/authenticated:/etc/squid

ports:
  - 12000:3128

I am making this container using command :

"docker-compose -f filename.yml up  --build -d"

Now as per my understanding port 12000 in my local host is mapped to 3128 port of docker.

But when i run curl command from my local host :

"curl -k ftps://localhost:12000"

I get the following error :

curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid

Can anyone explain what is the reason of getting such error? I have mapped many ports previously but never got such an error. Thanks in Advance

docker
curl
asked on Stack Overflow Jul 6, 2020 by max_240758 • edited Jul 6, 2020 by abestrad

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0