Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2023, 11:31 PM   #1
Parsons
Junior Member
Parsons began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
Server returned HTTP status 401?

I've used Calibre's mobile interface (http:// xxx.x.xxx.xxx:8081/mobile) on my Kindle Oasis for accessing my Calibre library for a long time but recently it returns a 401 error.

Calibre 7.1 is running in Docker on a Nas and works perfectly when I access it via a PC on port 8080.

Has a Calibre update broken the mobile interface? The Kindle web browser also puts up a box saying it is intended for simple websites which never used to happen.
Parsons is offline   Reply With Quote
Old 11-26-2023, 11:39 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,455
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Code:
401 Unauthorized

    Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
Has the kindle updated to require https or some other 'more secure' connection
theducks is offline   Reply With Quote
Old 11-27-2023, 03:47 AM   #3
Parsons
Junior Member
Parsons began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
I think it must have. I can access the Calibre mobile interface on my pc but not on the kindle. My Kindle is on the latest firmware for the model and I've reset it as well. Downgrading the firmware looks like too much trouble so I guess that's the end of the road.

What puzzles me is that I can't find any google reference to Kindle upgrading their security requirements or any others complaining that they have lost access to Calibre mobile. Surely I'm not the only person who used it?
Parsons is offline   Reply With Quote
Old 11-27-2023, 05:57 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you have setup auth on the server (username/password) then you can try using https + basic auth instead of the default which is digest authorization which the kindle might have trouble with. There is an option in the server preferences to choose basi or digest authentication. Try it with basic and see.
kovidgoyal is online now   Reply With Quote
Old 11-27-2023, 06:10 PM   #5
Parsons
Junior Member
Parsons began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
Thanks Kovid. I tried that but the issue persists. I also rolled Calibre back to older versions which didn't help either. I would appear the issue has been caused by a Kindle firmware update.

Parsons is offline   Reply With Quote
Old 11-27-2023, 06:11 PM   #6
Parsons
Junior Member
Parsons began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
https://imgbox.com/2CfnGUDn
Parsons is offline   Reply With Quote
Old 11-27-2023, 06:57 PM   #7
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Amazon has change something in there web browser for kindle with the latest firmware. My kindle was on an older firmware when I tested for the first time and it worked. During the time I was testing kindle updated and now it does not work.

If you go into the calibre web preferences and turn off user accounts it will work, but I do not recommend this, if you do this make sure port forwarding is turned off in your router.


bernie
Quote:
Originally Posted by Parsons View Post
I've used Calibre's mobile interface (http:// xxx.x.xxx.xxx:8081/mobile) on my Kindle Oasis for accessing my Calibre library for a long time but recently it returns a 401 error.

Calibre 7.1 is running in Docker on a Nas and works perfectly when I access it via a PC on port 8080.

Has a Calibre update broken the mobile interface? The Kindle web browser also puts up a box saying it is intended for simple websites which never used to happen.
gbm is offline   Reply With Quote
Old 11-27-2023, 11:12 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This being amazon, they probably broke it deliberately. They have been gradually making it harder and harder to get third party content onto kindles. The direction of travel is pretty clear.
kovidgoyal is online now   Reply With Quote
Old 12-19-2023, 02:30 PM   #9
richarji
Junior Member
richarji began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2023
Device: Kindle Oasis (10th gen)
Angry Same Error 401 Issue

I have a Kindle Oasis 10th gen running firmware 5.16.13 and Calibre 7.1. I've tried the suggestion above with no success.

I checked and my webserver is working fine from Firefox.

I am concerned that Kovid my be correct and that the problem is intentional. I am surprised that there isn't much noise about this on the web. I would have thought that a lot of people would be complaining.
richarji is offline   Reply With Quote
Old 01-02-2024, 01:59 AM   #10
Bookwise
Junior Member
Bookwise began at the beginning.
 
Bookwise's Avatar
 
Posts: 3
Karma: 10
Join Date: Jan 2023
Device: Kindle Keyboard
Lightbulb Possible Change that could Fix This.

Quote:
Originally Posted by kovidgoyal View Post
This being amazon, they probably broke it deliberately. They have been gradually making it harder and harder to get third party content onto kindles. The direction of travel is pretty clear.

I wonder if a good way to fix this would be to change the login method. Right now it uses that pop up login menu, but if there was an actual built page then it could let us put in the user and pass there.
Like I think the core of the issue is that the updated kindle browser will not let that pop up login happen anymore.

So if there was a "http........:8080/login" page that we could use to authentic to the server and then it could redirect to the /Mobile page after logging in, or something. Then it might work. It is just that pop up login that is not happen anymore. But a actual web page that could do the login might work.

Thought?

Sidenote: This would also fix the issue I have were sometimes on my phone that login popup fails and then closes and I have to clear my cache and cookies to get it back. But if there was a specific site I could go to that would let me click a login then it wouldn't have that pop-up giving me issues.
Bookwise is offline   Reply With Quote
Old 01-02-2024, 02:05 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Using an html based login method makes it much harder for non-browser based clients such as opds feed readers to authenticate. And given that amazon broke this deliberately there's nothing stopping them from breaking that in the future.
kovidgoyal is online now   Reply With Quote
Old 01-02-2024, 04:04 PM   #12
booki
Junior Member
booki began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: Kindle
.mobi and .azw3 are blocked in Kindle webbrowser. Same file with .txt will be loaded.
booki is offline   Reply With Quote
Old 01-14-2024, 10:18 PM   #13
bajranbali
Junior Member
bajranbali began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: Kindle
I had same issue when kindle browser got updated. I found following from Reddit thread. it worked on my kindle.

Just prepend your credentials to the content server URL:

<user>:<password>@<server address>

examples:

http://jane:verysecure@192.168.0.2:8080

https://bob:secretcode@calibre.bobland.net
bajranbali is offline   Reply With Quote
Old 01-20-2024, 03:40 PM   #14
tstevens3
Junior Member
tstevens3 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: Kindle Oasis, 10th generation (I think)
Quote:
Originally Posted by bajranbali View Post
I had same issue when kindle browser got updated. I found following from Reddit thread. it worked on my kindle.

Just prepend your credentials to the content server URL:

<user>:<password>@<server address>

examples:

http://jane:verysecure@192.168.0.2:8080

https://bob:secretcode@calibre.bobland.net
This worked for my Oasis and Paperwhite. Thank you!
tstevens3 is offline   Reply With Quote
Old 02-18-2024, 12:08 PM   #15
Newwood
Junior Member
Newwood began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2024
Device: kindle
Similar HTTP error

I'm getting a similar HTTP error when trying to download using a new kindle (while old kindle works fine). Sadly, adding the usernameassword option didn't solve nor did changing the user authorization to basic. What did work was changing the book to txt format instead of mobi as mentioned in a prior post. So a bit more evidence that Amazon is tightening the screws.
Newwood is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Content Server [127.0.0.1, port 8080, HTTP] Polgs Server 11 07-27-2023 11:26 AM
Calibre server fails to start: systemd status=203/EXEC noequus Server 2 01-14-2023 09:03 PM
Accessing Calibre running SSL via HTTP breaks the server Naenyn Calibre 12 03-19-2018 12:47 AM
Free Book (Kindle) - The Truth About Protecting Your IRAs and 401(k)s koland Deals and Resources (No Self-Promotion or Affiliate Links) 0 02-14-2011 04:32 AM
Calibre Content Server HTTP Authentication - Basic or Digest? Jim Chapman Calibre 6 10-04-2010 01:09 PM


All times are GMT -4. The time now is 09:28 AM.


MobileRead.com is a privately owned, operated and funded community.