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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Gitea
  3. Gitea with Github OAuth throws error 500

Gitea with Github OAuth throws error 500

Scheduled Pinned Locked Moved Solved Gitea
gitea
4 Posts 2 Posters 15.6k Views 2 Watching
  • 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.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by girish
    #1

    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
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by yusf
        #3

        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
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @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
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search