profile
viewpoint

Ask questionsPrebuild logs are no longer being shown

Bug description

When starting a manual prebuild, we used to get headless logs displayed.

However, since recently this is no longer the case.

Steps to reproduce

  1. Start a manual prebuild for some repository, using the URL prefix gitpod.io/#prebuild/
  2. No logs are displayed

Instead, the browser console shows errors like these in a loop:

/start: started workspace instance: da5c76e1-105d-4f0f-9efa-5731bb536500
Request getHeadlessLog unsuccessful: 404/"Headless logs for da5c76e1-105d-4f0f-9efa-5731bb536500 not found" 
Object { method: "getHeadlessLog", args: (2) […] }
re-trying headless-logs because: error while listening to stream Error: Headless logs for da5c76e1-105d-4f0f-9efa-5731bb536500 not found
fetching from streamUrl: https://storage.googleapis.com/gitpod-prod-user-643ac637-74a…hUTRdshxeIxbsKsuwEJGgY3f197CBOFP0nj6rjijJIzmH818iYgsWw%3D%3D
re-trying headless-logs because: error while listening to stream TypeError: NetworkError when attempting to fetch resource.
fetching from streamUrl: https://storage.googleapis.com/gitpod-prod-user-643ac637-74a…fLTLo31ktPP1JGSQ80STS6xwNskP%2FQ7O5fKzxCSiEE83Tgza1J7A%3D%3D
re-trying headless-logs because: error while listening to stream TypeError: NetworkError when attempting to fetch resource.
...

Screenshot 2021-07-22 at 11 43 55

Expected behavior

  • The headless logs should get displayed
  • No errors should be logged in the console

Example repository

No response

Anything else?

I suspect (without proof) that this might be a recent regression caused by the deployment of this related PR: https://github.com/gitpod-io/gitpod/pull/4875

gitpod-io/gitpod

Answer questions ghuntley

Dupe of https://github.com/gitpod-io/gitpod/issues/4856#issuecomment-882209321

useful!
source:https://uonfu.com/
answerer
Geoffrey Huntley ghuntley @gitpod-io Kangaroo Island, Australia https://www.ghuntley.com/now I live a minimalist lifestyle in a van that is slowly working its' way around Australia. Follow for the intersection of remote work at @gitpod-io and camping.
Github User Rank List