Skip to content

fix(playground): use github-proxy.exelearning.dev for installApp#49

Merged
erseco merged 1 commit into
mainfrom
fix/playground-proxy-host
Jun 10, 2026
Merged

fix(playground): use github-proxy.exelearning.dev for installApp#49
erseco merged 1 commit into
mainfrom
fix/playground-proxy-host

Conversation

@erseco

@erseco erseco commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Problem

The eXeLearning app does not load in the Nextcloud Playground. During bootstrap:

Downloading app: exelearning
[warning] Step "installApp" failed: Failed to fetch
...
[warning] A critical blueprint step failed; not caching the install so it is retried on the next reload.

Cause

The installApp step (and the per-PR preview link in the workflow) downloaded the app ZIP through and outdated url, which is no longer reachable: that host fails the TLS handshake (it answers with an nginx serving a self-signed core1.netops.test cert), so the playground's cross-origin fetch dies with Failed to fetch and the critical step aborts before the app is installed/enabled. The editor still loaded because the unzip step already uses github-proxy.exelearning.dev.

Change

Point both references at github-proxy.exelearning.dev (the project's own CORS proxy, same ?repo=&release=&asset= interface):

  • blueprint.jsoninstallApp step (fixes the live preview, which reads the blueprint from main).
  • .github/workflows/playground-preview.yml — per-PR preview link.

Verified: GET github-proxy.exelearning.dev/?repo=exelearning/nextcloud-exelearning&release=playground&asset=exelearning.zip → HTTP 200, content-length: 652354 (= the release asset), access-control-allow-origin: *.

Verification after merge

Reload the playground preview: the log should show Downloading app: exelearning without Step "installApp" failed, the app ends up enabled, and the sample .elpx files open in the editor.

The installApp step and the per-PR preview link still pointed at
zip-proxy.erseco.workers.dev, which is no longer reachable (the host
fails the TLS handshake), so the playground's cross-origin fetch of the
app ZIP died with "Failed to fetch" and the critical blueprint step
aborted before the app was installed/enabled.

Point both at github-proxy.exelearning.dev, the project's own CORS proxy
already used by the editor unzip step. Same GitHub-mode query interface
(?repo=&release=&asset=), verified to serve exelearning.zip with
Access-Control-Allow-Origin: *.
@github-actions

Copy link
Copy Markdown
Contributor

Preview this PR in the Nextcloud Playground

Open this PR in the Nextcloud Playground

A fresh Nextcloud boots in your browser with this branch's exelearning app installed and enabled (log in as admin / admin). Two sample .elpx are seeded under exelearning-samples/ in Files — click one to open the viewer.

eXeLearning editor: v4.0.1 (overlaid at boot from the upstream release).

@erseco erseco merged commit a319860 into main Jun 10, 2026
16 checks passed
@erseco erseco deleted the fix/playground-proxy-host branch June 10, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant