Sourcegraph: https://sourcegraph.com/github.com throws a 500

Created on 24 Mar 2020  路  3Comments  路  Source: sourcegraph/sourcegraph

  • Sourcegraph.com

Steps to reproduce:

  1. visit https://sourcegraph.com/github.com

Expected behavior:

  1. A 404?

Actual behavior:

  1. 500 server error
bug dot-com good first issue planne3.16 teacloud

All 3 comments

This only happens when "disablePublicRepoRedirects": false, which only affects sourcegraph.com (the only known instance has altered the value to false).

@asdine This is a good first issue for you to get some familiarity with the Sourcegraph codebase and investigating Sourcegraph.com issues.

@asdine FYI, #10112 fixes this specific kind of problem (i.e. only has hostname), but doesn't propose a systematic way to help us response 404 vs 500.

Was this page helpful?
0 / 5 - 0 ratings