OzzieIsaacs / cps-shelf-adder

Mass adding of books to a shelf in calibre-web
GNU General Public License v3.0
41 stars 6 forks source link

Login error #4

Open bonnebulle opened 3 months ago

bonnebulle commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 2 months ago

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