Open avalynnrose opened 1 month ago
Never heard of Calibre Web Automated, but it looks very nice! Thanks for addressing it.
I also would expect it to work, so assume it's an issue with the configuration. Do you have any server logs?
Yes, it just shows as this each time: "[2025-04-02 17:42:57,316] WARN {cps.web:1475} Login failed for user "admin" IP-address: ::ffff:xxx.xx.x.x" The IP address listed is also not the one I'm using to log in nor the one that CWA is hosted on which I thought was a bit odd but I'm not familiar with these logs.
The IP address should be the one of KCWS, but it might be replaced by some internal proxy IP of Docker. In my Kubernetes setup, it also uses a strange IP if I try to login with wrong credentials on Calibre-web via the regular web interface. That's something you could also try to assure you get the same message.
I checked the code of CWA and it doesn't seem they changed anything to the login. So, I guess it's an issue passing the password (or you entered the wrong one). Maybe it's because of a special character in the password? Could you try:
I tried logging in through the website, and I did also get the same message with the strange IP. I'm not sure what that means though.
However, now no matter what I try to login from Koreader, I get the unknown server error AND there is nothing showing in the logs. I'm not sure if something changed or perhaps I just misattributed the login error in the logs from the beginning. I'm assuming I was mistaken and it has never actually connected to CWA.
Then it might have been another login attempt indeed. Don't worry about the strange IP, that is not the issue. I'd rather expect there is some issue accessing KCWS. Do you see anything in the logs of KCWS?
I don't think so, but where exactly would I find the logs for it just to be sure I'm looking in the right place?
There should be some logs in the Docker logs of the KCWS container. You can also try to reach the swagger page via http://server:5000/swagger/index.html. It should give a blank page with "Swagger UI" as the title of your browser tab. Then at least you know the app is running 😄
Hmm yeah I'm not seeing anything in there and that page won't load either... I am not too experienced with docker but it didn't seem that complicated so I'm not sure what went wrong.
When I click into the logs in Docker, it says the below so I thought it was working.
2025-04-09 11:43:40 Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://*:5000'. 2025-04-09 11:43:40 info: Microsoft.Hosting.Lifetime[14] 2025-04-09 11:43:40 Now listening on: http://[::]:5000 2025-04-09 11:43:40 info: Microsoft.Hosting.Lifetime[0] 2025-04-09 11:43:40 Application started. Press Ctrl+C to shut down. 2025-04-09 11:43:40 info: Microsoft.Hosting.Lifetime[0] 2025-04-09 11:43:40 Hosting environment: Production 2025-04-09 11:43:40 info: Microsoft.Hosting.Lifetime[0] 2025-04-09 11:43:40 Content root path: /app
Does this work with Calibre Web Automated (https://github.com/crocodilestick/Calibre-Web-Automated)? I thought it would, but when I log in to the Custom Sync Server it gives me "unknown server error" and fails to log in. I'm not sure if it's user error or if it's because it doesn't work with Automated.
Thank you!