Skip to content

[self-hosted] Download of workspace failed with self-hosted / minio (at least with gitpod-k3s) #2593

Closed
@corneliusludmann

Description

@corneliusludmann

Downloading of workspace content from the workspace history list does not work. You simply get a /sorry page with “Error”. That's what the proxy logs:

2020/12/17 08:31:24 [error] 125#125: *1512 lua entry thread aborted: runtime error: access_by_lua(lib.locations.conf:107):3: http2 requests not supported yet
stack traceback:
coroutine 0:
	[C]: in function 'capture'
	access_by_lua(lib.locations.conf:107):3: in function <access_by_lua(lib.locations.conf:107):1>, client: 10.42.0.1, server: gitpod.dev.ludmann.org, request: "GET /workspace-download/get/a45cdd20-931d-4604-86bb-ac7e56071596 HTTP/2.0", host: "gitpod.dev.ludmann.org", referrer: "https://gitpod.dev.ludmann.org/workspaces/"

After removing http2 from vhost.server.conf this error disappears. However, workspace downloads still not work. Instead, you get a /sorry page that says 404. The var ngx.var.targetUrl in lib.locations.conf looks good and points to the minio pod. At least form the proxy pod, the targetUrl is reachable via curl (but gives 403 - unauthorized).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions