# Occasional OAuth errors

**URL:** <https://meta.discourse.org/t/occasional-oauth-errors/284811>\
**Category:** Bug\
**Tags:** oauth2\
**Created:** [November 8, 2023, 12:06pm UTC](https://meta.discourse.org/t/occasional-oauth-errors/284811 "2023-11-08T12:06:39Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [January 22, 2024, 6:58pm UTC](https://meta.discourse.org/t/occasional-oauth-errors/284811/7 "2024-01-22T18:58:57Z")

</div>

> [@kayleeeeeeeee](#):
>
> I just added my OIDC server to the `hosts` file in the docker container and it seems to work now. This is a fragile and suboptimal solution though;

You can add stuff to your app.yml to update `/etc/hosts` on a rebuild. You can look at some other templates for examples.

> [@kayleeeeeeeee](#):
>
> I think the developers need to fix the timeout so that it’s something sane.

Could be, but not many folks are having trouble. Could your self-hosted DNS server be overloaded sometimes?

I don’t know where to go about changing the timeout. I don’t remember ever doing it.

---

_[View the full topic](https://meta.discourse.org/t/occasional-oauth-errors/284811)._
