obsidian-calibre-plugin
obsidian-calibre-plugin copied to clipboard
Error when trying to open Calibre container
On Windows 10, currently getting the following error. Web address is correct.
Failed to communicate with "/interface-data/init?1643148174249", with status: [400 (error)] Bad Request
Failed to parse header line
Also Win10, calibre server is running, I'm getting a similar error when trying to access it in obsidian.
Failed to communicate with "/interface-data/init?1647731245984", with status: [400 (error)] Bad Request
Failed to parse header line
Also on macOS 12.3.1. Test server in calibre preferences works.
Also windows 10, server works in browser, same error withing Obsidian
I also encountered the same error on Linux OS.
Calibre version: 3.40; Obsidian: 0.14.6; Obsidian-calibre-plugin: 1.0.5
Yes, I reported a bug to obsidian. https://forum.obsidian.md/t/http-header-sec-ch-ua-without-value/36680
the link you sent says it was fixed in 0.14.8, but still not working for me in Obsidian Version 0.15.6 (installer 0.14.15), with latest version of plugin.
same problem :((
Given the error, is there a way to actually use this plugin? Are only some people seeing it?
Ok, I narrowed it down a bit: when I use the localhost/127.0.0.1 - I get the error. If I use my local network IP address, I can access the content sever. So it seems related specifically to using localhost.
Ok, I narrowed it down a bit: when I use the localhost/127.0.0.1 - I get the error. If I use my local network IP address, I can access the content sever. So it seems related specifically to using localhost.
I try your, but calibre plugin show nothing at all now :(( just a completely blank panel
What's your request headers?
Check if the sec-ch-ua header exists?

Failed to communicate with "/interface-data/init?1662452066608", with status: [400 (error)] Bad Request
Failed to parse header line
Need to use your computer IP address (calibre plugin in obsidian), do not use the Localhost nor 127.0.0.1
After that and also config the port number in Calibre, Obsidian will show your calibre library.
At least for me, can only read EPUB and TXT. No luck with PDF.
Need to use your computer IP address (calibre plugin in obsidian), do not use the Localhost nor 127.0.0.1
After that and also config the port number in Calibre, Obsidian will show your calibre library.
At least for me, can only read EPUB and TXT. No luck with PDF.
Thanks, that worked for me. Reader issues seem to be the same, no pdf, epub seems to work for the most part.
Same Problem... Windows 10, tried with ip adress and still dont work...
I have the same problem. Any advise or help? Thank you
this is my config... you need to change the IP address to your own, but copy the port. Also note that I use "http" not "https"
Thank you Rodrigoavb!!!!!, it worked. I appreciate your help.
Best!!!
Same Problem... Windows 10, tried with ip adress and still dont work...
Review my new reply, might be helpful.
Ok, I narrowed it down a bit: when I use the localhost/127.0.0.1 - I get the error. If I use my local network IP address, I can access the content sever. So it seems related specifically to using localhost.
Thank you! Saved my day
Don't have a clue about how to find my IP address.
- C: \Users.....\ipconfig List shows up but do not know what to choose. Is it IPv4 Address....?
Received a Gmail from plugin creators but had very limited info...just a picture. Help please. :)
Assuming you're on Windows... 1.- Windows logo key + R 2.- Type "cmd" without the quotes 3.- Type "ipconfig" 4.- you'll fin your IP at: IPv4 Address. . . . . . . . : xxx.xxx.xxx.xxx
I also attached some pics
Thank you very much for your extra effort!!! I really appreciate your explanation.
On Thu, Mar 23, 2023 at 8:22 AM rodrigoavb @.***> wrote:
Assuming you're on Windows... 1.- Windows logo key + R 2.- Type "cmd" without the quotes 3.- Type "ipconfig" 4.- you'll fin your IP at: IPv4 Address. . . . . . . . : xxx.xxx.xxx.xxx
I also attached some pics
[image: 2023-03-23_11-04-46] https://user-images.githubusercontent.com/103136601/227232144-d2bd879d-3bc5-468a-858c-4aa4dc89f703.png
[image: 2023-03-23_11-05-19] https://user-images.githubusercontent.com/103136601/227233398-7ae1a276-87ad-491e-93fa-f53ac82ca052.png
— Reply to this email directly, view it on GitHub https://github.com/caronchen/obsidian-calibre-plugin/issues/6#issuecomment-1481290534, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4YIZUWDW3NWAQJ4GJXKM7LW5RMEBANCNFSM5MZPAL2Q . You are receiving this because you commented.Message ID: @.***>
@rodrigoavb
Your solution worked great!! EXCEPT it does not open in the current file. It opens below, but as a blank screen. Instead, Calibre opens in a separate window on a second monitor.
Not sure if this is my monitor settings or an
Obsidian/Calibre issue???
@obsidianbible @rodrigoavb I've released a new version that now automatically replaces 'localhost' with local IP address.
Thank you. It now loads on the same screen.
On Sun, Apr 2, 2023 at 7:17 PM zhifeng @.***> wrote:
@obsidianbible https://github.com/obsidianbible @rodrigoavb https://github.com/rodrigoavb I've released a new version that now automatically replaces 'localhost' with local IP address.
— Reply to this email directly, view it on GitHub https://github.com/caronchen/obsidian-calibre-plugin/issues/6#issuecomment-1493503194, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4YIZUXAS4QIYSW43M6UK4DW7IQLZANCNFSM5MZPAL2Q . You are receiving this because you were mentioned.Message ID: @.***>