Run failed on Docker setup #80

Closed
opened 2025-05-13 18:09:20 +08:00 by bezibaerchen · 5 comments
bezibaerchen commented 2025-05-13 18:09:20 +08:00 (Migrated from github.com)

Hello,

I am trying to host this myself via Docker.

Following setup:

Docker host with following compose-file:

services: rdgen: # use bryangerlach/rdgen:latest for the latest build image: bryangerlach/rdgen:latest restart: unless-stopped environment: SECRET_KEY: "<secret_key>" # generated with python3 -c 'import secrets; print(secrets.token_hex(100))' GHUSER: "<github_username>" GHBEARER: "<github_access_token>" GENURL: "<public_FQDN>" PROTOCOL: "https" REPONAME: "creator" # forked into repo with this name ports: - "8001:8000" dns: - 8.8.8.8

GENURL is published via NPMPlus on port 443 which forwards to 8001 on Docker Host.

Jobs "generate-bridge" and "build-RustDeskTempTopMostWindow" are running fine with a green checkmark.

The job failing is "Build Windows (x86_64-pc-windows-msvc, windows-2022, x86_64, x64-windows-static)" is the failing one.

It is failing after "Report Status".

Complete output is:

Run fjogeleit/http-request-action@v1 with: url: /updategh method: POST customHeaders: {"Content-Type": "application/json"} data: {"uuid": "77f135bf-5ba2-41d7-82d3-b05f0d760bf8", "status": "Generation failed, try again"} files: {} timeout: 5000 maskResponse: false ignoreSsl: false env: SCITER_RUST_VERSION: 1.75 RUST_VERSION: 1.75 CARGO_NDK_VERSION: 3.1.2 SCITER_ARMV7_CMAKE_VERSION: 3.29.7 SCITER_NASM_DEBVERSION: 2.14-1 LLVM_VERSION: 15.0.6 FLUTTER_VERSION: 3.24.5 ANDROID_FLUTTER_VERSION: 3.24.5 FLUTTER_ELINUX_VERSION: 3.16.9 TAG_NAME: VCPKG_BINARY_SOURCES: clear;x-gha,readwrite VCPKG_COMMIT_ID: 460551b0ec06be1ba6b918448bf3b0f44add813d VERSION: 1.4.0 NDK_VERSION: r27c ANDROID_SIGNING_KEY: MACOS_P12_BASE64: UPLOAD_ARTIFACT: true SIGN_BASE_URL: STATUS_URL: /updategh ACTIONS_CACHE_URL: https://acghubeus2.actions.githubusercontent.com/ESlbNdsv8toeh5u4gh8VscjSpukVnuqE2ZSE52dUJy0jMSRpKl/ ACTIONS_RUNTIME_TOKEN: *** Error: {"message":"Invalid URL","data":"{\"uuid\": \"77f135bf-5ba2-41d7-82d3-b05f0d760bf8\", \"status\": \"Generation failed, try again\"}"}

Hello, I am trying to host this myself via Docker. Following setup: Docker host with following compose-file: `services: rdgen: # use bryangerlach/rdgen:latest for the latest build image: bryangerlach/rdgen:latest restart: unless-stopped environment: SECRET_KEY: "<secret_key>" # generated with python3 -c 'import secrets; print(secrets.token_hex(100))' GHUSER: "<github_username>" GHBEARER: "<github_access_token>" GENURL: "<public_FQDN>" PROTOCOL: "https" REPONAME: "creator" # forked into repo with this name ports: - "8001:8000" dns: - 8.8.8.8 ` GENURL is published via NPMPlus on port 443 which forwards to 8001 on Docker Host. Jobs "generate-bridge" and "build-RustDeskTempTopMostWindow" are running fine with a green checkmark. The job failing is "Build Windows (x86_64-pc-windows-msvc, windows-2022, x86_64, x64-windows-static)" is the failing one. It is failing after "Report Status". Complete output is: `Run fjogeleit/http-request-action@v1 with: url: /updategh method: POST customHeaders: {"Content-Type": "application/json"} data: {"uuid": "77f135bf-5ba2-41d7-82d3-b05f0d760bf8", "status": "Generation failed, try again"} files: {} timeout: 5000 maskResponse: false ignoreSsl: false env: SCITER_RUST_VERSION: 1.75 RUST_VERSION: 1.75 CARGO_NDK_VERSION: 3.1.2 SCITER_ARMV7_CMAKE_VERSION: 3.29.7 SCITER_NASM_DEBVERSION: 2.14-1 LLVM_VERSION: 15.0.6 FLUTTER_VERSION: 3.24.5 ANDROID_FLUTTER_VERSION: 3.24.5 FLUTTER_ELINUX_VERSION: 3.16.9 TAG_NAME: VCPKG_BINARY_SOURCES: clear;x-gha,readwrite VCPKG_COMMIT_ID: 460551b0ec06be1ba6b918448bf3b0f44add813d VERSION: 1.4.0 NDK_VERSION: r27c ANDROID_SIGNING_KEY: MACOS_P12_BASE64: UPLOAD_ARTIFACT: true SIGN_BASE_URL: STATUS_URL: /updategh ACTIONS_CACHE_URL: https://acghubeus2.actions.githubusercontent.com/ESlbNdsv8toeh5u4gh8VscjSpukVnuqE2ZSE52dUJy0jMSRpKl/ ACTIONS_RUNTIME_TOKEN: *** Error: {"message":"Invalid URL","data":"{\"uuid\": \"77f135bf-5ba2-41d7-82d3-b05f0d760bf8\", \"status\": \"Generation failed, try again\"}"}`
bezibaerchen commented 2025-05-13 18:36:25 +08:00 (Migrated from github.com)

GEN_URL is set in GitHub action. tried both with only FQDN and https:// in front

GEN_URL is set in GitHub action. tried both with only FQDN and https:// in front
bryangerlach commented 2025-05-13 20:54:02 +08:00 (Migrated from github.com)

The github secret should be called GENURL, not GEN_URL. The output you posted is showing the url as "/updategh" and it should show as "<public_FQDN>/updategh". Also, why are you running my docker image, but using the VenimK/creator github fork? I cannot guarantee that they are/will be compatible.

The github secret should be called GENURL, not GEN_URL. The output you posted is showing the url as "/updategh" and it should show as "<public_FQDN>/updategh". Also, why are you running my docker image, but using the VenimK/creator github fork? I cannot guarantee that they are/will be compatible.
bezibaerchen commented 2025-05-13 20:56:35 +08:00 (Migrated from github.com)

I maybe mixed things up while forking. I will redo and also correct the GENURL. I will report back. Thanks for the swift reply.

I maybe mixed things up while forking. I will redo and also correct the GENURL. I will report back. Thanks for the swift reply.
bezibaerchen commented 2025-05-13 21:16:56 +08:00 (Migrated from github.com)

Looking waaaaaay better now. Currently building the bridge. Tks a on @bryangerlach for shaking me :-)

Looking waaaaaay better now. Currently building the bridge. Tks a on @bryangerlach for shaking me :-)
bezibaerchen commented 2025-05-13 21:52:57 +08:00 (Migrated from github.com)

I will close this issue now. Thanks again.

I will close this issue now. Thanks again.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/rdgen#80