Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to open Calibre container #6

Open
baileymh opened this issue Jan 25, 2022 · 26 comments
Open

Error when trying to open Calibre container #6

baileymh opened this issue Jan 25, 2022 · 26 comments

Comments

@baileymh
Copy link

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
@nort4n
Copy link

nort4n commented Mar 19, 2022

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

@ghost
Copy link

ghost commented Apr 27, 2022

Also on macOS 12.3.1.
Test server in calibre preferences works.

@Lulullia
Copy link

Also windows 10, server works in browser, same error withing Obsidian

@pqnhan
Copy link

pqnhan commented Apr 29, 2022

I also encountered the same error on Linux OS.

Calibre version: 3.40; Obsidian: 0.14.6; Obsidian-calibre-plugin: 1.0.5

@caronchen
Copy link
Owner

Yes, I reported a bug to obsidian.
https://forum.obsidian.md/t/http-header-sec-ch-ua-without-value/36680

@ksdavidc
Copy link

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.

@neKmaI
Copy link

neKmaI commented Aug 3, 2022

same problem :((

@phillipjohnston
Copy link

Given the error, is there a way to actually use this plugin? Are only some people seeing it?

@phillipjohnston
Copy link

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.

@neKmaI
Copy link

neKmaI commented Aug 6, 2022

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

@caronchen
Copy link
Owner

What's your request headers?

Check if the sec-ch-ua header exists?

image

@Kaergo
Copy link

Kaergo commented Sep 6, 2022

Failed to communicate with "/interface-data/init?1662452066608", with status: [400 (error)] Bad Request

Failed to parse header line

@rodrigoavb
Copy link

rodrigoavb commented Sep 20, 2022

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.

2022-09-20_17-26-44

@nort4n
Copy link

nort4n commented Sep 21, 2022

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.

2022-09-20_17-26-44

Thanks, that worked for me. Reader issues seem to be the same, no pdf, epub seems to work for the most part.

@peacefulwebwarrior
Copy link

Same Problem... Windows 10, tried with ip adress and still dont work...

@giorgiet
Copy link

I have the same problem. Any advise or help?
Thank you

@rodrigoavb
Copy link

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"

2022-11-29_17-07-36

@giorgiet
Copy link

Thank you Rodrigoavb!!!!!, it worked. I appreciate your help.

Best!!!

@rodrigoavb
Copy link

Same Problem... Windows 10, tried with ip adress and still dont work...

Review my new reply, might be helpful.

@BumbrT
Copy link

BumbrT commented Jan 15, 2023

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

@obsidianbible
Copy link

Don't have a clue about how to find my IP address.

  1. 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. :)

@rodrigoavb
Copy link

rodrigoavb commented Mar 23, 2023

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

2023-03-23_11-04-46

2023-03-23_11-05-19

@obsidianbible
Copy link

obsidianbible commented Mar 23, 2023 via email

@obsidianbible
Copy link

@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
Calibre split screen
Obsidian/Calibre issue???

@caronchen
Copy link
Owner

@obsidianbible @rodrigoavb
I've released a new version that now automatically replaces 'localhost' with local IP address.

@obsidianbible
Copy link

obsidianbible commented Apr 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests