Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql Storage Upstream Issue workaround #1608

Closed
ghost opened this issue Dec 27, 2019 · 1 comment
Closed

Mysql Storage Upstream Issue workaround #1608

ghost opened this issue Dec 27, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 27, 2019

Hi all,

I have set up a copy of dex on my Kubernetes cluster on GKE.
My setup does not use any connectors at this time (Setting up bit by bit).
I am still using the original template until the backend part works.
For storage, I opted for an in cluster deployment of Percona XtraDB Cluster deployed with Helm. (I know its only starting to be supported)

There appears to be an issue with the chosen package for MySql compatibility as visible in the following logs:

time="2019-12-27T11:02:48Z" level=info msg="config issuer: https://oauth.peoplerange.com" time="2019-12-27T11:02:48Z" level=info msg="reconnecting with MySQL pre-5.7.20 compatibility mode" time="2019-12-27T11:02:48Z" level=info msg="config storage: mysql" time="2019-12-27T11:02:48Z" level=info msg="config connector: local passwords enabled" time="2019-12-27T11:02:48Z" level=info msg="listening (http) on 0.0.0.0:5556" [mysql] 2019/12/27 12:48:53 packets.go:36: unexpected EOF time="2019-12-27T12:48:53Z" level=error msg="Storage health check failed: create auth request: insert auth request: invalid connection"

I didn't see anything on the current issue list so I looked it up and came across the following issue in the upstream package go-sql-driver/mysql#674

@ghost ghost mentioned this issue Dec 27, 2019
@bonifaido
Copy link
Member

Fixed by #1609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant