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

Local calibre OPDS response code 400 #5703

Closed
sat3ll opened this issue Dec 22, 2019 · 3 comments
Closed

Local calibre OPDS response code 400 #5703

sat3ll opened this issue Dec 22, 2019 · 3 comments

Comments

@sat3ll
Copy link

sat3ll commented Dec 22, 2019

  • KOReader version: 2019.11
  • Device: Android | Kindle Fire HD (2nd Generation) (2012)

Issue

Attempting to use a Local calibre catalog results in "Cannot get catalog. Server response code 400"

Steps to reproduce

  • Have calibre start a OPDS server (with user/pass config)
    • Tested on localhost and another device in the same LAN via web-browser
  • Set host/port/user/pass in KOReader.
  • Attempt to connect

I've also tried to "Add new OPDS catalog" with almost the same settings but appended '/opds/' in the
catalog URL.

Calibre server logs indicate that there are attempts to retrieve/access it but with error 400.

192.168.0.143 port-51127 - 22/Dec/2019:23:14:09 +0000 "HEAD /opds HTTP/1.1" 400 126
192.168.0.143 port-51128 - 22/Dec/2019:23:14:09 +0000 "GET /opds HTTP/1.1" 400 159
@NiLuJe
Copy link
Member

NiLuJe commented Dec 23, 2019

Quite possibly a duplicate of #3953

@sat3ll
Copy link
Author

sat3ll commented Dec 23, 2019

#3953 mentions no error message but I decided to try some settings based on that ticket:

  • Disabling user/password auth = Works
  • Enabling user/pass auth with auth=auto = Error 400 (even with no user/pass specified)
  • Enabling user/pass auth with auth=digest = Error 400 (even with no user/pass specified)
  • Enabling user/pass auth with auth=basic = Works

It's likely that this issue is actually a "progress" of the issue #3953 that you mentioned.

@pazos
Copy link
Member

pazos commented Dec 23, 2019

#3953 mentions no error message but I decided to try some settings based on that ticket:

  • Disabling user/password auth = Works
  • Enabling user/pass auth with auth=auto = Error 400 (even with no user/pass specified)
  • Enabling user/pass auth with auth=digest = Error 400 (even with no user/pass specified)
  • Enabling user/pass auth with auth=basic = Works

It's likely that this issue is actually a "progress" of the issue #3953 that you mentioned.

@sat3ll: that info is quite relevant. Lets move converstation to #3953.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants