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

QuestDB returns 404 on static http GET requests #4239

Closed
1 task done
ideoma opened this issue Feb 26, 2024 · 1 comment · Fixed by #4242
Closed
1 task done

QuestDB returns 404 on static http GET requests #4239

ideoma opened this issue Feb 26, 2024 · 1 comment · Fixed by #4242
Assignees
Labels
Bug Incorrect or unexpected behavior

Comments

@ideoma
Copy link
Collaborator

ideoma commented Feb 26, 2024

To reproduce

When GET request sent as

    GET /qdb.c8e3e.js HTTP/1.1\r\n
    X-Forwarded-Proto: http\r\n
    X-Forwarded-Port: 9000\r\n
    Host: demo.questdb.io:9000\r\n
    Content-Length: 0\r\n
    \r\n

QuestDB responds with 404 record in logs method (POST) not supported

QuestDB version:

7.3.10

OS, in case of Docker specify Docker and the Host OS:

nr

File System, in case of Docker specify Host File System:

nr

Full Name:

Alex Pelagenko

Affiliation:

QuestDB

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?

  • Yes, I have

Additional context

No response

@ideoma
Copy link
Collaborator Author

ideoma commented Feb 26, 2024

QuestDB incorrectly interprets GET request as a POST because of

Content-Length: 0

header

@ideoma ideoma added the Bug Incorrect or unexpected behavior label Feb 26, 2024
@ideoma ideoma self-assigned this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect or unexpected behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant