Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Gitea with Github OAuth throws error 500

    Gitea
    gitea
    2
    4
    14259
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yusf
      yusf last edited by girish

      When trying to sign in to Gitea by means of the Github OAuth authorization scheme, Gitea throws error 500. This is what logs in the back:

      Feb 06 13:59:53 2019/02/06 13:59:53 [...routers/user/auth.go:548 handleOAuth2SignIn()] [E] UserSignIn: Post https://github.com/login/oauth/access_token: dial tcp: lookup github.com on 127.0.0.11:53: read udp 127.0.0.1:47621->127.0.0.11:53: i/o timeout
      

      Up until the last or last few updates, this has worked flawlessly. Is the error Gitea's or Github's?

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @yusf Can you check if unbound is running ? It's in system -> services.

        1 Reply Last reply Reply Quote 0
        • yusf
          yusf last edited by yusf

          It was not! After clicking its restart button the service came to life and Github OAuth works. Thanks! The box was freshly rebooted however, so how can I make sure unbound doesn't go down?

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @yusf This should be automatic but unbound goes down if the disk space is full. There is no workaround for this since this is a bug in the upstream project and will get fixed at some point.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB