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

API call to unknown squeezebox ID closes socket with no response #1316

Open
chaseadam opened this issue Jan 31, 2025 · 0 comments
Open

API call to unknown squeezebox ID closes socket with no response #1316

chaseadam opened this issue Jan 31, 2025 · 0 comments

Comments

@chaseadam
Copy link

POST a jsonrpc call, but the squeezbox was unplugged. Zero data returned which is not HTTP compliant.

{"id":1,"method":"slim.request","params":["00:04:20:1e:XX:XX",["playlist","play","https://listen.tidal.com/album/353983XXX"]]}
]
[25-01-30 16:32:25.7213] Slim::Web::HTTP::processHTTP (469) Raw path is [/jsonrpc.js]
[25-01-30 16:32:25.7214] Slim::Web::HTTP::processHTTP (479) Handling [/jsonrpc.js] using raw function
[25-01-30 16:32:25.7215] Slim::Web::JSONRPC::handleURI (74) handleURI(Slim::Web::HTTP::ClientConn=GLOB(0x55dcded7db28))
[25-01-30 16:32:25.7216] Slim::Web::JSONRPC::handleURI (140) POST data: [{"id":1,"method":"slim.request","params":["00:04:20:1e:XX:XX",["playlist","play","https://listen.tidal.com/album/353983XXX"]]}]
[25-01-30 16:32:25.7219] Slim::Web::JSONRPC::handleURI (158) JSON parsed procedure: {
  id => 1,
  method => "slim.request",
  params => [
        "00:04:20:1e:XX:XX",
        ["playlist", "play", "https://listen.tidal.com/album/353983XXX"],
      ],
}
[25-01-30 16:32:25.7221] Slim::Web::JSONRPC::requestMethod (398) requestMethod([
  "00:04:20:1e:XX:XX",
  ["playlist", "play", "https://listen.tidal.com/album/353983XXX"],
])
[25-01-30 16:32:25.7223] Slim::Web::JSONRPC::requestMethod (510) 00:04:20:1e:XX:XX: request not dispatchable!
[25-01-30 16:32:25.7224] Slim::Web::HTTP::closeHTTPSocket (2465) Closing HTTP socket Slim::Web::HTTP::ClientConn=GLOB(0x55dcded7db28) with 192.168.5.172:64881 (closed normally)
[25-01-30 16:32:25.7225] Slim::Web::JSONRPC::handleClose (55) Closing any subscriptions for Slim::Web::HTTP::ClientConn=GLOB(0x55dcded7db28)

Image

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