Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level

Hi, I am installing sonarqube version 7.9.3. It is running on an AWS instance, and I am accessing it using ALB. When it started the page keeps loading for infinte. And I get the error in web.log as

2021.10.07 14:09:02 INFO  web[][o.s.s.p.Platform] WebServer is operational
2021.10.07 14:09:02 INFO  web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning will be disabled as there are no more projects in warning.
2021.10.07 14:26:10 INFO  web[][o.a.c.h.Http11Processor] Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
        at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:428)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:684)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

On UI, I tried to open debugger and found some errors there too-
Loading module from “https:<my_domain_name>/js/main.m.1e78ef08.js” was blocked because of a disallowed MIME type (“text/plain”).

Could you please help me into this?

Hi,

7.9.3 is past EOL and I don’t understand why you would be doing a new install with it. You should choose either the latest version or the current LTS.

Regarding your actual question, I suppose you’re using Docker? Once you get to a supported version, you’ll find that official Docker images are available & that should make this simpler.

 
Ann