Skip to content
Snippets Groups Projects
Closed Can't run latest insiders server
  • View options
  • Can't run latest insiders server

  • View options
  • Closed Issue created by Warren Gifford

    Created by: nicksnyder

    When spinning up a fresh insiders image (I was testing on dogfood), I saw this error when loading the site:

    "Access to Sourcegraph is forbidden because no authentication provider is set in site configuration."

    This is unexpected because built-in auth should be on by default.

    There is a suspicious error:

    23:49:49           frontend | t=2019-01-14T23:49:49+0000 lvl=eror msg="migrate transaction failed" err="blank input is invalid jsonc"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg="⚠️ Warnings related to the Sourcegraph site configuration:"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg="no auth providers set (all access will be forbidden)"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Full Log

    23:49:44  zoekt-indexserver | 2019/01/14 23:49:44 serving HTTP on 127.0.0.1:6072
    23:49:44  zoekt-indexserver | 2019/01/14 23:49:44 Post http://127.0.0.1:3090/.internal/repos/list: dial tcp 127.0.0.1:3090: connect: connection refused
    23:49:44              nginx | nginx: [alert] could not open error log file: open() "./logs/error.log" failed (2: No such file or directory)
    23:49:44           postgres | 2019-01-14 23:49:44.020 UTC [140] LOG:  listening on IPv4 address "127.0.0.1", port 5432
    23:49:45 management-console | t=2019-01-14T23:49:45+0000 lvl=info msg="management-console: listening" addr=:2633
    23:49:45           frontend | t=2019-01-14T23:49:45+0000 lvl=info msg="Distributed tracing enabled" tracer=Lightstep
    23:49:47              nginx | 2019/01/14 23:49:47 [error] 166#166: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.20.0.9, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "sourcegraph.sgdev.org"
    23:49:47              nginx | 2019/01/14 23:49:47 [error] 166#166: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.20.0.9, server: , request: "GET / HTTP/1.1", upstream: "http://[::1]:8080/", host: "sourcegraph.sgdev.org"
    23:49:48              nginx | 2019/01/14 23:49:48 [error] 166#166: *4 no live upstreams while connecting to upstream, client: 10.20.0.9, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://backend/favicon.ico", host: "sourcegraph.sgdev.org", referrer: "https://sourcegraph.sgdev.org/"
    23:49:49       repo-updater | t=2019-01-14T23:49:49+0000 lvl=eror msg="unable to fetch AWS CodeCommit configs" err="Post http://127.0.0.1:3090/.internal/external-services/configs: dial tcp 127.0.0.1:3090: connect: connection refused"
    23:49:49       repo-updater | t=2019-01-14T23:49:49+0000 lvl=eror msg="unable to fetch Bitbucket Server configs" err="Post http://127.0.0.1:3090/.internal/external-services/configs: dial tcp 127.0.0.1:3090: connect: connection refused"
    23:49:49       repo-updater | t=2019-01-14T23:49:49+0000 lvl=eror msg="unable to fetch GitHub configs" err="Post http://127.0.0.1:3090/.internal/external-services/configs: dial tcp 127.0.0.1:3090: connect: connection refused"
    23:49:49       repo-updater | t=2019-01-14T23:49:49+0000 lvl=eror msg="unable to fetch Gitlab configs" err="Post http://127.0.0.1:3090/.internal/external-services/configs: dial tcp 127.0.0.1:3090: connect: connection refused"
    23:49:49           frontend | t=2019-01-14T23:49:49+0000 lvl=eror msg="migrate transaction failed" err="blank input is invalid jsonc"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg="⚠️ Warnings related to the Sourcegraph site configuration:"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg="no auth providers set (all access will be forbidden)"
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=warn msg=!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=dbug msg="HTTP running" on=:8080
    23:49:50           frontend | t=2019-01-14T23:49:50+0000 lvl=dbug msg="HTTP (internal) running" on=:3090
    23:49:50           frontend |
    23:49:50           frontend |                    ╓╦╬╬╬╦╖
    23:49:50           frontend |                   ╬╬╬╬╬╬╬╬╬
    23:49:50           frontend |                  ╞╬╬╬╬╬╬╬╬╬╬           ╓╦╦╦╦┐
    23:49:50           frontend |                   ╬╬╬╬╬╬╬╬╬╬╕        ╔╪╪╪╪╪╪╪╪╕
    23:49:50           frontend |                   ╘╬╬╬╬╬╬╬╬╬╬      ╔╪╪╪╪╪╪╪╪╪╪╪
    23:49:50           frontend |                    ╬╬╬╬╬╬╬╬╬╬╗   ╔╪╪╪╪╪╪╪╪╪╪╪╪┘
    23:49:50           frontend |       ╓╦╦╖┐         ╬╬╬╬╬╬╬╬╬╬ ╔╝╪╪╪╪╪╪╪╪╪╪╪╜
    23:49:50           frontend |     ╬╪╪╪╪╪╪╪╪╬╗╦╖   ╠╬╬╬╬╬╬╬╬╝╪╪╪╪╪╪╪╪╪╪╪╪╜
    23:49:50           frontend |    ╠╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╝╝╬╬╬╬╝╪╪╪╪╪╪╪╪╪╪╪╪╜
    23:49:50           frontend |    └╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╩
    23:49:50           frontend |      ╙╩╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╖
    23:49:50           frontend |           └╙╩╬╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╬╦╗┐
    23:49:50           frontend |                  ╙╜╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╗╦╖
    23:49:50           frontend |                  ┌╬╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╬
    23:49:50           frontend |                ┌╗╪╪╪╪╪╪╪╪╪╪╪╪╬╬╬╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪╪
    23:49:50           frontend |              ┌╗╪╪╪╪╪╪╪╪╪╪╪╪╬╬╬╬╬╬╬╬╬ ╙╜╩╪╪╪╪╪╪╪╪╪╪╪╪╜
    23:49:50           frontend |            ┌╦╪╪╪╪╪╪╪╪╪╪╪╝╙╬╬╬╬╬╬╬╬╬╬       └╙╩╬╪╪╝╜
    23:49:50           frontend |           ╦╪╪╪╪╪╪╪╪╪╪╪╪┘  ╠╬╬╬╬╬╬╬╬╬╬
    23:49:50           frontend |          ╬╪╪╪╪╪╪╪╪╪╪╪┘     ╬╬╬╬╬╬╬╬╬╬┐
    23:49:50           frontend |          ╙╪╪╪╪╪╪╪╪╪╜       ╘╬╬╬╬╬╬╬╬╬╬
    23:49:50           frontend |           └╩╪╪╪╪╝╙          ╬╬╬╬╬╬╬╬╬╬╕
    23:49:50           frontend |                             └╬╬╬╬╬╬╬╬╬╛
    23:49:50           frontend |                               ╩╬╬╬╬╬╬┘
    23:49:50           frontend |
    23:49:50           frontend | ✱ Sourcegraph is ready at: http://127.0.0.1:7080
    23:49:50       query-runner | t=2019-01-14T23:49:50+0000 lvl=info msg="Distributed tracing enabled" tracer=Lightstep
    23:49:50       query-runner | t=2019-01-14T23:49:50+0000 lvl=info msg="query-runner: listening" addr=:3183
    23:49:50              nginx | 2019/01/14 23:49:50 [error] 166#166: *1 no live upstreams while connecting to upstream, client: 10.20.0.9, server: , request: "GET / HTTP/1.1", upstream: "http://backend/", host: "sourcegraph.sgdev.org"

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first