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

Docker container ERR_INVALID_CHAR #129

Open
peteh opened this issue Jul 12, 2024 · 0 comments
Open

Docker container ERR_INVALID_CHAR #129

peteh opened this issue Jul 12, 2024 · 0 comments

Comments

@peteh
Copy link

peteh commented Jul 12, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Follow instructions to get cookie
  2. Write cookie into .env file based on example
  3. Run docker compose build
  4. Run docker compose up
  5. Call http://localhost:3000/api/get_limit
  6. Get error:
suno-api-1  | Error fetching limit: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"]
suno-api-1  |     at ClientRequest.setHeader (node:_http_outgoing:662:3)
suno-api-1  |     at new ClientRequest (node:_http_client:289:14)
suno-api-1  |     at Object.request (node:https:379:10)
suno-api-1  |     at M._performRequest (/app/.next/server/chunks/943.js:78:5910)
suno-api-1  |     at new M (/app/.next/server/chunks/943.js:78:1369)
suno-api-1  |     at Object.value [as request] (/app/.next/server/chunks/943.js:78:1909)
suno-api-1  |     at /app/.next/server/chunks/943.js:306:6909
suno-api-1  |     at /app/.next/server/chunks/943.js:306:1944
suno-api-1  |     at new Promise (<anonymous>)
suno-api-1  |     at e9 (/app/.next/server/chunks/943.js:306:1860)
suno-api-1  |     at i_.request (/app/.next/server/chunks/943.js:306:20567)
suno-api-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
suno-api-1  |     at async m.getAuthToken (/app/.next/server/app/api/get_limit/route.js:1:3006)
suno-api-1  |     at async m.init (/app/.next/server/app/api/get_limit/route.js:1:2866)
suno-api-1  |     at async _ (/app/.next/server/app/api/get_limit/route.js:1:6976) {
suno-api-1  |   code: 'ERR_INVALID_CHAR'
suno-api-1  | }

Expected behavior
Get correct response for limits

Desktop (please complete the following information):

  • OS: Docker on Kubuntu 24.04
  • Version: latest master
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

No branches or pull requests

1 participant