OpenID HTTPS error 403 when running in docker - outdated curl version (OD-1863)
molnarti opened 2 years ago

I have a similar issue reported here: https://code.onedev.io/onedev/server/~issues/607 I have set up Authentik with OpenID provider, to my knowledge i did everything correctly, however when trying to log in, i get a Server returned HTTP response code: 403 for URL: error. So going into the container by docker exec -it /bin/bash and trying to perform a curl on the Oauth discovery endpoint I get the following error:

curl: (35) error:0A000126:SSL routines::unexpected eof while reading

doing the same on any other machine gives me the correct json manifest. checking the curl version, it seems that the onedev docker container ships with an older version 7.81, while 7.88 is what i have on my current debian machines. googling a bit came up with this: https://stackoverflow.com/questions/72627218/openssl-error-messages-error0a000126ssl-routinesunexpected-eof-while-readin

building curl version 7.88.1 inside the container according to the stackoverflow instructions solved the problem and OneDev is able to successfully authenticate via Authentik

  • OneDev changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 2 years ago

    State changed as code fixing the issue is committed (3d4ca952)

  • OneDev changed state to 'Released' 2 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 2 years ago

    State changed as build #4986 is successful

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
10.5.0
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1863
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover