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

[BUG] HTTP Status 400 – Bad Request #21

Closed
1 task done
BlueCoffee34 opened this issue Oct 29, 2023 · 12 comments
Closed
1 task done

[BUG] HTTP Status 400 – Bad Request #21

BlueCoffee34 opened this issue Oct 29, 2023 · 12 comments

Comments

@BlueCoffee34
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Changing admin password or making a new user

Expected Behavior

It should change the password or make the new user

But I get this

`HTTP Status 400 – Bad Request

Type Exception Report

Message Request header is too large

Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Exception

java.lang.IllegalArgumentException: Request header is too large
org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:790)
org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:899)
org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:604)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.base/java.lang.Thread.run(Thread.java:829)

Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/9.0.60`

Steps To Reproduce

Make a new user and hit save

Environment

- OS: OMV
- How docker service was installed: OMV

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  airsonic-advanced:
    image: lscr.io/linuxserver/airsonic-advanced:latest
    container_name: airsonic-advanced
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - CONTEXT_PATH= #optional
      - JAVA_OPTS= #optional
    volumes:
      - /srv/dev-disk-by-uuid-735cc309-fa91-4d6e-b8af-cd73f972ec7f/Data/DockerData/AirSonic:/config
      - /srv/dev-disk-by-uuid-0386aa39-24c1-4f38-bd21-ff3d49b4d959/Audio/Music:/music
      - /srv/dev-disk-by-uuid-0386aa39-24c1-4f38-bd21-ff3d49b4d959/Audio/Playlists:/playlists
      - /srv/dev-disk-by-uuid-0386aa39-24c1-4f38-bd21-ff3d49b4d959/Audio/Podcasts:/podcasts
    ports:
      - 4040:4040
    devices:
      - /dev/snd:/dev/snd #optional
    restart: unless-stopped

Container logs

No error shown in logs
@BlueCoffee34 BlueCoffee34 changed the title [BUG] <title> [BUG] HTTP Status 400 – Bad Request Oct 29, 2023
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca aptalca added the invalid This doesn't seem right label Oct 29, 2023
@github-actions
Copy link

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Insufficient Info in Issue & PR Tracker Oct 29, 2023
@BlueCoffee34
Copy link
Author

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

I have no idea what this even means. Why is it Invalid?

@BlueCoffee34
Copy link
Author

From Dozzle logs

10/29/2023 04:09:26 PM 2023-10-29 16:09:26.358 WARN --- o.a.p.u.LegacyHsqlMigrationUtil : Failed to determine HSQLDB database version 10/29/2023 04:09:26 PM 10/29/2023 04:09:26 PM java.io.FileNotFoundException: /config/db/airsonic.properties 10/29/2023 04:09:26 PM at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:189) ~[spring-core-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:144) ~[spring-core-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:133) ~[spring-core-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.airsonic.player.util.LegacyHsqlMigrationUtil.getHsqlDbVersion(LegacyHsqlMigrationUtil.java:31) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.airsonic.player.util.LegacyHsqlMigrationUtil.isHsqlDbBackupNeeded(LegacyHsqlMigrationUtil.java:64) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.airsonic.player.util.LegacyHsqlMigrationUtil.upgradeFileHsqlDbIfNeeded(LegacyHsqlMigrationUtil.java:159) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.airsonic.player.spring.StartupEventListener.onApplicationEvent(StartupEventListener.java:17) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.airsonic.player.spring.StartupEventListener.onApplicationEvent(StartupEventListener.java:1) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.18.jar!/:5.3.18] 10/29/2023 04:09:26 PM at org.springframework.boot.context.event.EventPublishingRunListener.contextPrepared(EventPublishingRunListener.java:89) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplicationRunListeners.lambda$contextPrepared$3(SpringApplicationRunListeners.java:67) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) ~[na:na] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplicationRunListeners.contextPrepared(SpringApplicationRunListeners.java:67) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:418) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) ~[spring-boot-2.5.12.jar!/:2.5.12] 10/29/2023 04:09:26 PM at org.airsonic.player.Application.main(Application.java:70) ~[classes!/:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] 10/29/2023 04:09:26 PM at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] 10/29/2023 04:09:26 PM at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] 10/29/2023 04:09:26 PM at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] 10/29/2023 04:09:26 PM at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[airsonic.war:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[airsonic.war:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[airsonic.war:11.0.0-SNAPSHOT] 10/29/2023 04:09:26 PM at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) ~[airsonic.war:11.0.0-SNAPSHOT]

@j0nnymoe
Copy link
Member

Could you provide the container start up logs? that's what's missing.

@BlueCoffee34
Copy link
Author

Could you provide the container start up logs? that's what's missing.

Sorry new to all this is this the start up logs?
startup.txt

@drizuid drizuid removed the invalid This doesn't seem right label Nov 19, 2023
@LinuxServer-CI LinuxServer-CI moved this from Insufficient Info to Issues in Issue & PR Tracker Nov 19, 2023
@drizuid
Copy link
Member

drizuid commented Nov 19, 2023

it looks like a database issue, but i dont use this container, so am only going off the logs.

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@krp312
Copy link

krp312 commented Jan 19, 2024

seeing the same error, but not the same cause: java.io.FileNotFoundException: /config/db/airsonic.properties

i'm using dockstarter. i simply spin up the airsonic-advanced container, and i'm getting a 404:
Screenshot 2024-01-19 at 5 24 32 AM

container log: iTerm2 Session Jan 19, 2024 at 5:21:08 AM.txt

any help is much appreciated

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@homerr
Copy link
Member

homerr commented Mar 17, 2024

I cannot reproduce this error, I note that the original was created with OMV and with two different disks in use - possibly causing the issues.

Second commenter notes about the airsonic.properties - I also had this before it then created and the container starts. Might be worth checking uid/gid settings for the creation of the container.

Other than that, it works alright so closing this down

@homerr homerr closed this as completed Mar 17, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Mar 17, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

7 participants