Skip to content

NewProvider() returns unexpected EOF from time to time #437

@ameliadong97

Description

@ameliadong97

Hey team,

We're using go-oidc lib to create new providers for authentication (via this method) and we noticed the GET request frequently returns "unexpected EOF" error. However, whenever we curl the same endpoint, it always succeeded.

Do you happen to know why this error would happen? Some browsing on the internet suggests adding req.Close = true but I'm not sure if that's the problem. Could you please help us out? Really appreciated!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions