hcengineering / hcengineering/huly-selfhost

Dokploy template and HTTPS issue

Open
#185 7 comments 0 reactions 1 assignee Claimed by @aonnikov View on GitHub
Dominant language
Shell
Stars
3.5k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Hello

I deployed Huly using dokploy. First it creates traefik.me link without https which is working fine and when I assign my custom domain without https, it's working fine also. The problem comes when I enable HTTPS and I start getting "Unknown Error: Load Failed". When I checked the console, This is what is get when I access using http:

`
Navigated to http://huly-huly-000000.traefik.me/login/login
location.ts:145 desktopPlatform undefined
platform.ts:349 loading configuration {ACCOUNTS_URL: 'http://huly-huly-000000.traefik.me/_accounts', UPLOAD_URL: '/files', FILES_URL: '/files/:workspace/:filename?file=:blobId&workspace=:workspace', MODEL_VERSION: '0.6.436', VERSION: '0.6.468', …}ACCOUNTS_URL: "http://huly-huly-00000.traefik.me/_accounts"CALENDAR_URL: "http://huly-huly-00000.traefik.me/_calendar"COLLABORATOR_URL: "ws://huly-huly-0000.traefik.me/_collaborator"DESKTOP_UPDATES_CHANNEL: "selfhost"FILES_URL: "/files/:workspace/:filename?file=:blobId&workspace=:workspace"GITHUB_APP: ""GITHUB_CLIENTID: ""GITHUB_URL: ""GMAIL_URL: "http://huly-huly-00000000.traefik.me/_gmail"INTERCOM_API_URL: ""INTERCOM_APP_ID: ""LIVEKIT_WS: ""LOVE_ENDPOINT: "http://huly-huly-000000.traefik.me/_love"MODEL_VERSION: "0.6.436"PRESENCE_URL: ""PREVIEW_CONFIG: "/files/:workspace?file=:blobId&size=:size"PRINT_URL: ""PUSH_PUBLIC_KEY: ""REKONI_URL: "http://huly-huly-00000.traefik.me/_rekoni"SENTRY_DSN: ""SIGN_URL: ""STATS_URL: "http://huly-huly-00000.traefik.me/_stats"TELEGRAM_URL: "http://huly-huly-000000.traefik.me/_telegram"UPLOAD_CONFIG: ""UPLOAD_URL: "/files"VERSION: "0.6.468"[[Prototype]]: Object
platform.ts:350 loaded branding {}
platform.ts:400 Minimal Model version requirement 0.6.436
platform.ts:404 Minimal version requirement 0.6.468
`

but when I access it using https this happens:

`
Navigated to https://huly.mydomain.com/
location.ts:145 desktopPlatform undefined
platform.ts:349 loading configuration {ACCOUNTS_URL: 'http://huly-huly-0000.traefik.me/_accounts', UPLOAD_URL: '/files', FILES_URL: '/files/:workspace/:filename?file=:blobId&workspace=:workspace', MODEL_VERSION: '0.6.436', VERSION: '0.6.468', …}ACCOUNTS_URL: "http://huly-huly-00000.traefik.me/_accounts"CALENDAR_URL: "http://huly-huly-00000.traefik.me/_calendar"COLLABORATOR_URL: "ws://huly-huly-00000.traefik.me/_collaborator"DESKTOP_UPDATES_CHANNEL: "selfhost"FILES_URL: "/files/:workspace/:filename?file=:blobId&workspace=:workspace"GITHUB_APP: ""GITHUB_CLIENTID: ""GITHUB_URL: ""GMAIL_URL: "http://huly-huly-00000.traefik.me/_gmail"INTERCOM_API_URL: ""INTERCOM_APP_ID: ""LIVEKIT_WS: ""LOVE_ENDPOINT: "http://huly-huly-00000.traefik.me/_love"MODEL_VERSION: "0.6.436"PRESENCE_URL: ""PREVIEW_CONFIG: "/files/:workspace?file=:blobId&size=:size"PRINT_URL: ""PUSH_PUBLIC_KEY: ""REKONI_URL: "http://huly-huly-000000.traefik.me/_rekoni"SENTRY_DSN: ""SIGN_URL: ""STATS_URL: "http://huly-huly-0000000.traefik.me/_stats"TELEGRAM_URL: "http://huly-huly-0000000.traefik.me/_telegram"UPLOAD_CONFIG: ""UPLOAD_URL: "/files"VERSION: "0.6.468"[[Prototype]]: Object
platform.ts:350 loaded branding {}
platform.ts:400 Minimal Model version requirement 0.6.436
platform.ts:404 Minimal version requirement 0.6.468
5Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS.
`

It seems that the templates is getting loaded over http from traefik.me and thats what is blocking the request.

I don't know whether this is a dokploy issue or huly. but I posted it here to see if you have any idea about it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.