Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HedgeDoc v2 : backendErrorMessage: 'Cannot GET //private/config' #5431

Open
KaKi87 opened this issue Jan 28, 2024 · 0 comments · May be fixed by #5447
Open

HedgeDoc v2 : backendErrorMessage: 'Cannot GET //private/config' #5431

KaKi87 opened this issue Jan 28, 2024 · 0 comments · May be fixed by #5447
Labels
type: bug Something isn't working

Comments

@KaKi87
Copy link

KaKi87 commented Jan 28, 2024

Description

Trying to run HedgeDoc v2 behind Apache throws this error.

Steps to reproduce

  1. Follow the instructions at https://docs.hedgedoc.dev/tutorials/setup/
  2. Follow the instructions at https://docs.hedgedoc.dev/how-to/reverse-proxy/

Expected behaviour

The app runs successfully

Logs

mdexamplecom-md_example_com-frontend-1  | ApiError
mdexamplecom-md_example_com-frontend-1  |     at GetApiRequestBuilder.sendRequestAndVerifyResponse �[90m(/usr/src/app/frontend/�[39m.next/server/chunks/29907.js:11544:19�[90m)�[39m
mdexamplecom-md_example_com-frontend-1  | �[90m    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)�[39m
mdexamplecom-md_example_com-frontend-1  |     at async getConfig �[90m(/usr/src/app/frontend/�[39m.next/server/chunks/29907.js:11654:22�[90m)�[39m
mdexamplecom-md_example_com-frontend-1  |     at async RootLayout �[90m(/usr/src/app/frontend/�[39m.next/server/chunks/12134.js:5185:28�[90m)�[39m {
mdexamplecom-md_example_com-frontend-1  |   statusCode: �[33m404�[39m,
mdexamplecom-md_example_com-frontend-1  |   backendErrorName: �[90mundefined�[39m,
mdexamplecom-md_example_com-frontend-1  |   backendErrorMessage: �[32m'Cannot GET //private/config'�[39m
mdexamplecom-md_example_com-frontend-1  | }

Config

HD_BASE_URL="https://md.example.com"

Your Setup

  • Host OS: Debian 12
  • NodeJS version: 20.11.0
  • HedgeDoc version: 2.0.0-alpha.2

Additional context

I'm sorry for asking here but I asked on both Matrix and the forum days ago without luck while I'm on a clock.

Thanks

@KaKi87 KaKi87 added the type: bug Something isn't working label Jan 28, 2024
@KaKi87 KaKi87 linked a pull request Jan 30, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant