Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-30-2024, 12:52 AM   #1
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
Problems with content server

My content server was automatically on port 8081. if I try to connect via Calibre sync it tells me server refused request error code 400. I tried changing the port to 8080 and it says calibre, version 6.14.1
ERROR: Failed to start Content server: Could not start the Content server. Error:

No socket could be created -- (('192.168.1.5', 8080): [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions)

I have my anti virus and firewall both turned off. I am not sure how to fix this
thegameksk is offline   Reply With Quote
Old 12-30-2024, 10:55 AM   #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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
2 Connection issues in the same day

You have 8080 in use by something else (or you have a stand alone version of the server running)
From a command prompt: netstat -a (scroll thru the list and see if 8080 is there)
theducks is offline   Reply With Quote
Advert
Old 12-30-2024, 11:58 PM   #3
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
No 8080 or 8081 is popping up. Also if I try to view content server in browser in givesd me error 400

Last edited by thegameksk; 12-31-2024 at 01:24 AM.
thegameksk is offline   Reply With Quote
Old 12-31-2024, 10:54 AM   #4
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,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
https://kinsta.com/knowledgebase/400-bad-request/

Quote:


A 400 Bad Request error is a generic client error that occurs when the server determines that the error doesn’t fall in any of the other status code categories. This error is related to the submitted request from the client before it is even processed by the server.
Support
What Causes the HTTP 400 Bad Request Error?
https://forums.tomshardware.com/thre...ports.1917206/
There are various root causes that can trigger the 400 Bad Request error, and even if this error isn’t specific to any particular browser or OS (operating system), the fixes do vary slightly.

URL String Syntax Error
Corrupted Browser Cache & Cookies
DNS Lookup Cache
File Size Too Large
Generic Server Error
Error Code
Start with clear Browser Cache & Cookies. On your Calibre sync app go to setting and clear all data.

bernie

P.S.

I use port 9095. Some ISP's block port 8080.

Quote:
Originally Posted by thegameksk View Post
No 8080 or 8081 is popping up. Also if I try to view content server in browser in givesd me error 400
gbm is offline   Reply With Quote
Old 12-31-2024, 12:13 PM   #5
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
Quote:
Originally Posted by gbm View Post
https://kinsta.com/knowledgebase/400-bad-request/


Error Code
Start with clear Browser Cache & Cookies. On your Calibre sync app go to setting and clear all data.

bernie

P.S.


I use port 9095. Some ISP's block port 8080.
No change
thegameksk is offline   Reply With Quote
Advert
Old 12-31-2024, 02:21 PM   #6
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,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Then some more info. Con you assess the server from the WAN? i.e. Turn off wifi on your phone and use "data connection".


bernie

P.S.

Please start calibre in debug mode and post the log.
Quote:
Originally Posted by thegameksk View Post
No change

Last edited by gbm; 12-31-2024 at 02:24 PM.
gbm is offline   Reply With Quote
Old 01-19-2025, 12:50 AM   #7
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
Quote:
Originally Posted by gbm View Post
Then some more info. Con you assess the server from the WAN? i.e. Turn off wifi on your phone and use "data connection".


bernie

P.S.

Please start calibre in debug mode and post the log.
I was able to get it working via smart device. I had it search and it find my ip but it doesnt match the IP shown on content server in calibre on my PC. If IOtry to connect via regular calibre server on calibre sysnc using the ip and port smart device gave me I get an no host specified in url error. I have it as http://xxx.xxx.x.x.:xxxx
thegameksk is offline   Reply With Quote
Old 01-19-2025, 06:21 PM   #8
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
Heres the log
Attached Files
File Type: txt tmphe_vqctl.txt (1.1 KB, 130 views)
thegameksk is offline   Reply With Quote
Old 01-20-2025, 12:53 AM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That log file is rather useless since it doesn't seem to show anything related to the content server. I'm not sure even a debug log would include the content server information.

Is there a reason that you are using an old version of calibre? 7.24.100 is the latest version.

Can you connect to the content server on the computer it is running on using either the IP address shown in the content server listening at: line or 127.0.0.1:<port number>? Note that quite a few modern browsers will require you to use the http:// prefix since they assume all connections are https://

When you open a command prompt and enter ipconfig /all on the command line and then hit enter, does it show more than 1 active IP address?
DNSB is offline   Reply With Quote
Old 01-20-2025, 04:48 PM   #10
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jul 2020
Device: Moon+
Quote:
Originally Posted by DNSB View Post
That log file is rather useless since it doesn't seem to show anything related to the content server. I'm not sure even a debug log would include the content server information.

Is there a reason that you are using an old version of calibre? 7.24.100 is the latest version.

Can you connect to the content server on the computer it is running on using either the IP address shown in the content server listening at: line or 127.0.0.1:<port number>? Note that quite a few modern browsers will require you to use the http:// prefix since they assume all connections are https://

When you open a command prompt and enter ipconfig /all on the command line and then hit enter, does it show more than 1 active IP address?
I cant connect to the content server on the computer thats runing it. Tried both ways and they both give me http erro 400. Command line only shows one active ip
thegameksk is offline   Reply With Quote
Old 01-20-2025, 08:46 PM   #11
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If you can't connect to the content server using 127.0.0.1:<port number> as reported by the content server, your issue goes beyond calibre.

Does the content server report the same address as the one you tried?

One experiment is to go into the firewall configuration (Windows Defender Firewall with Advanced Security) and in the properties for whatever profile is reported as active, under Inbound connections, click on enable.

If you are not on a Domain (not many people use that at home) or Private network, then you will want to set your network to private. This link may be helpful: Make a Wi-Fi network public or private in Windows
DNSB is offline   Reply With Quote
Reply

Tags
content server


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Server Problems quoddle Devices 18 04-05-2013 11:04 AM
Content server problems Mythlandia Library Management 0 06-14-2012 04:18 PM
Content Server problems jesscat Calibre 26 05-24-2011 05:47 PM
Problems with server of content marcostt Calibre 2 08-25-2009 09:38 AM
Content Server problems in 102 RoninTech Calibre 7 11-06-2008 05:21 PM


All times are GMT -4. The time now is 04:44 AM.


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