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

Login error #4

Open
bonnebulle opened this issue Aug 18, 2024 · 3 comments
Open

Login error #4

bonnebulle opened this issue Aug 18, 2024 · 3 comments

Comments

@bonnebulle
Copy link

Hello, thanks for all your work
Am trying to keep my data safe and this tool (this repo) can help !

$ python mass_add_books.py
Error: Could not log in to calibre-web

My password is ok
Do I need to add authorizations like API stuff from calibre-web ?
And, yes, it's running : )

Have a nice day

@OzzieIsaacs
Copy link
Owner

OzzieIsaacs commented Aug 18, 2024

Are the config elements filled out correct in mass_add_books.py file (specially username and password)?:
The server address is NOT allowed to end with a slash
Do you see failed login attempts in calibre-web logfile (switch to debug log level)?

username = 'admin'
password = 'admin123'
shelf_id = '1'
booklist = 'Meine Bücher.csv'
server_address = 'http://127.0.0.1:8083'

@OzzieIsaacs
Copy link
Owner

OzzieIsaacs commented Aug 18, 2024

Do I need to add authorizations like API stuff from calibre-web ?

No, but you should not have enabled something like reverse proxy authentication or oauth login

@bonnebulle
Copy link
Author

bonnebulle commented Sep 3, 2024

EDIT...
It looks like a Docker/container misunderstood
am digging to test the script mass_add_books.py inside the container...
...
same issue, cant login


Ok, hum
I give some other tries...
I am using Nginx as a reverse-proxy
But not using an auth/password stuff

My credentials are OK

username = 'monnom'
password = 'monpasword'
shelf_id = '1'
booklist = 'Print.csv'
server_address = 'http://127.0.0.1:8083'

The Port is OK, I check
Maybe SSL/https requirement ?
( I try https://... with an error )

Thanks for advices + work

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

2 participants