-
Notifications
You must be signed in to change notification settings - Fork 7
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
Search Error in KOReader #119
Comments
COPS itself does not reply with 400 Bad Request, so something else must have changed either on the server/container/NAS it's running on, or with KOReader. Can you provide any more details, like any version or configuration changes and/or server logs? |
I use the linuxserver.io Docker Image and start it with a docker comopose file. services: In the Docker Log i didn't find anything. |
Hi @cebo29 thanks for that. In your local ./config directory you should have access to both nginx/access.log and nginx/error.log, and php/error.log. It may be that the error.log files don't contain anything - I believe you need to change the error_log to "info" for nginx to report why it sent back 400 Bad Request. But could you find out in the nginx/access.log which URL KOReader was trying to reach when it got the 400 error, and how it compares to previous/next URLs?
The last line will probably have |
Hi @mikespub, thank you for answer. My error log from 18.11.:
I think this is another error! I have a access log with 400 entries: Where can i change error log to info? I recognized that a search without a space give me a result without errors. If i have a space in the search like "maddrax 56" i get the Bad Request Error. |
Thanks, that really helps pin down the issue - it seems I still missed a rawurlencode() to deal with spaces in the query param when switching to route URLs. I'll try to fix that for the next release... Note: that first /feed.php error is from before you switched the URL to /index.php/feed and it (correctly) states that there is no more |
Since a Short Time I get a 400 Bad Requests, if i search for a book in ODPS feed. If go thru the Categories i will find the book und can Download it.
If i search in Browser there ist no problem.
The text was updated successfully, but these errors were encountered: