|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jun 2022
Device: Kobo Libra 2
|
Errno 98 Address already in use when trying to use --enable-auth option in the CLI
Not really sure what I'm doing wrong here, but I set up my content server a few months ago and it was local-only while I figured out my reverse-proxy and self-signed certificate. I actually had a bit of a snag with that and left it for a time, only going back to it now to try again and research the error some more. But it unexpectedly worked, and put my entire library on the internet available to anyone (for now, I've shut down the container on my hypervisor so the library isn't currently accessible online...or on my network).
Before that though, I tried to enable-auth, but it didn't work and gave me the following Code:
Failed to bind to :: with error: No socket could be created -- (('::', 8080, 0, 0): [Errno 98] Address already in use). Trying to bind to the default interface: 192.168.1.3 instead Traceback (most recent call last): File "/usr/lib/calibre/calibre/srv/loop.py", line 493, in initialize_socket self.do_bind() File "/usr/lib/calibre/calibre/srv/loop.py", line 487, in do_bind raise OSError(msg) OSError: No socket could be created -- (('::', 8080, 0, 0): [Errno 98] Address already in use) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/calibre-server", line 21, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/calibre/calibre/srv/standalone.py", line 245, in main server.serve_forever() File "/usr/lib/calibre/calibre/srv/loop.py", line 551, in serve_forever self.initialize_socket() File "/usr/lib/calibre/calibre/srv/loop.py", line 503, in initialize_socket self.do_bind() File "/usr/lib/calibre/calibre/srv/loop.py", line 487, in do_bind raise OSError(msg) OSError: No socket could be created -- (('192.168.1.3', 8080): [Errno 98] Address already in use) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,260
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This has nothing to do with enable-auth it means something else is already listening on port 8080 on your computer. You can try using a different port.
|
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jun 2022
Device: Kobo Libra 2
|
Quote:
So my library seems secure now, but even though I had added a user beforehand, I can't actually log in with it. I thought maybe the user information didn't save, but that wasn't the problem. Tried deleting and adding a new user and restarting the service, but that didn't work either. Following the documentation here for managing users, I have the same problem in the original post because the service is already running, so not really sure how to proceed. https://manual.calibre-ebook.com/ser...mand-line-only |
|
![]() |
![]() |
![]() |
Tags |
content-server, linux debian |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FONT] How to enable Advanced Option for sideload fonts (without root) ? | meo_map13 | Kobo Reader | 7 | 12-08-2020 09:37 PM |
Is there any way to enable 'report content error' and 'share' option on ebook? | VósMicêSama | ePub | 13 | 11-08-2016 05:34 PM |
360 Plus How to enter address into browser address field? | Hope | PocketBook | 15 | 04-06-2012 12:07 PM |