Upstream request timeout / public fork access error

Description

When trying to browse reports for pull requests for a public repo, we frequently get the following timeout error:

Upstream request timeout

or

upstream connect error or disconnect/reset before headers. reset reason: connection termination

On the occasions that we don’t see the timeout, we get a 500 Error and a message asking if the public fork for the PR is a private repo and requesting that we add private scope.

This appears to be nearly identical to this Support issue. I am opening a new issue as that one was reported as “fixed” without any user changes that we could try.

Commit SHAs

Example PRs:

  • PR 1703 (614cef40892ed2a5ed351814db43b424359b3b42)
  • PR 1693 (547916b8a698e91dd94d2a676285eeb16b0851db)
  • PR 1690 (b8629f8b887e6a04a8aa621046e4dff59eec9706)

Repository

CI/CD or Build URL

Coverage is uploaded from GitHub Actions (e.g., for PR 1703), Travis (e.g., for PR 1703), and Jenkins.

Uploader

Bash uploader

Codecov Output

 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201106-81372f2


==> GitHub Actions detected.
    project root: .
    Yaml found at: .codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + TAG
    + GHA_OS_NAME
==> Reading reports
    + coverage.xml bytes=3332792
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
/home/runner/work/pyomo/pyomo/codecov.sh: line 1582: echo: write error: Broken pipe
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=block-initialization&commit=9c6081d59a056fee81f8584f82a07ff249d1553e&build=362044297&build_url=http%3A%2F%2Fgithub.com%2FPyomo%2Fpyomo%2Factions%2Fruns%2F362044297&name=linux&tag=&slug=Pyomo%2Fpyomo&service=github-actions&flags=&pr=1703&job=&cmd_args=Z,e,X,X,f
==> Uploading to Codecov
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  233k    0     0  100  233k      0  1142k --:--:-- --:--:-- --:--:-- 1136k
100  233k  100    95  100  233k     85   209k  0:00:01  0:00:01 --:--:--  209k
    View reports at https://codecov.io/github/Pyomo/pyomo/commit/614cef40892ed2a5ed351814db43b424359b3b42

Build group: linux/other

Expected Results

Ability to browse PR reports

Actual Results

Timeout / access error browsing PR reports

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Hi @jsiirola, we’ll take a look into why this is happening. Thanks for the request.

Hi @jsiirola, we’ve rolled out some performance enhancements here. Are you still able to reproduce on your end?

@tom, I can no longer reproduce the error (and I have been poking around for a couple days using a couple different PRs) - I think this can be marked resolved. Anecdotally, the UI seems to be significantly more responsive as well.

1 Like

@jsiirola, awesome! That’s also great to hear. If you have any specific notes on the UI (either good or bad), feel free to let me know.