Skip to content

400 Bad Request #3818

@onur4tes

Description

@onur4tes

Hi eveyone,

I have an Ubuntu 20.04 virtual server running on Hyper-V, and I want to use MateCat on my localhost. I followed all the installation steps, but when I try to access localhost in a web browser, I get a '400 Bad Request' error.

Matecat Access Log details:

127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET / HTTP/1.1" 400 4420 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/errorPage.e547fe5d1df7d99491bf.js HTTP/1.1" 200 1566 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/runtime.e547fe5d1df7d99491bf.js HTTP/1.1" 200 8838 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/public_css_sass_components_pages_NewProjectPage_scss-public_css_sass_components_pages_NewProj-4d18a1.25b7da3c16998c24c0ec.css HTTP/1.1" 200 471639 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/images/logo_matecat_big_white.svg HTTP/1.1" 200 5897 "https://localhost/public/build/public_css_sass_components_pages_NewProjectPage_scss-public_css_sass_components_pages_NewProj-4d18a1.25b7da3c16998c24c0ec.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"

MateCat Error Log:

127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET / HTTP/1.1" 400 4420 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/errorPage.e547fe5d1df7d99491bf.js HTTP/1.1" 200 1566 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/runtime.e547fe5d1df7d99491bf.js HTTP/1.1" 200 8838 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/public_css_sass_components_pages_NewProjectPage_scss-public_css_sass_components_pages_NewProj-4d18a1.25b7da3c16998c24c0ec.css HTTP/1.1" 200 471639 "https://localhost/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
127.0.0.1 - - [10/Feb/2025:13:42:50 +0100] "GET /public/build/images/logo_matecat_big_white.svg HTTP/1.1" 200 5897 "https://localhost/public/build/public_css_sass_components_pages_NewProjectPage_scss-public_css_sass_components_pages_NewProj-4d18a1.25b7da3c16998c24c0ec.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"

[Sun Feb 09 22:04:21.920263 2025] [autoindex:error] [pid 20141] [client 127.0.0.1:48272] AH01276: Cannot serve directory /home/matecat/matecat/public/: No matching DirectoryIndex (index.php,index.php3,index.html,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive
[Sun Feb 09 22:04:22.405196 2025] [autoindex:error] [pid 20141] [client 127.0.0.1:48272] AH01276: Cannot serve directory /home/matecat/matecat/public/: No matching DirectoryIndex (index.php,index.php3,index.html,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive
[Sun Feb 09 22:04:27.609949 2025] [ssl:warn] [pid 20195] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Feb 09 22:04:27.624838 2025] [ssl:warn] [pid 20196] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

Can someone help me for the issue?

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions