Skip to content

Failed to query provider Client sent an HTTP request to an HTTPS server with SAML Enterprise App Auth using Dex implementation #14123

Closed Answered by wlawton
wlawton asked this question in Q&A
Discussion options

You must be logged in to vote

I think i've found the solution for this. A little dig into the argocd code turned up this line in argocd_dex.go:

command.Flags().BoolVar(&disableTLS, "disable-tls", env.ParseBoolFromEnv("ARGOCD_DEX_SERVER_DISABLE_TLS", false), "Disable TLS on the HTTP endpoint")

And sure enough, configuring that environment variable in the argocd values.yaml resolved the issue i was having i.e.

dex:
  env:
    - name: ARGOCD_DEX_SERVER_DISABLE_TLS
      value: "true"

And if i'd found this documentation earlier it would also have been a big help: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#configuring-inbound-tls-for-argocd-dex-server

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wlawton
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants