dual-obsidian-client icon indicating copy to clipboard operation
dual-obsidian-client copied to clipboard

Not responses generated by Dual other than "typing". No error in server, even in debug mode.

Open JamesHWade opened this issue 3 years ago • 5 comments

Dual looks fantastic! I'd love to try it out. So far, I have been unable to get it to work. I followed the instruction on the readme and made it all the way to starting the server. However, I'm unable to get any response from my prompts. I don't see any error messages, so I'm not sure what to do.

It looks like there is an error related to a missing header for CORS. I'm not sure what that means exactly, but I hope it's at least somewhat helpful.

May this page is helpful?

Any advice?

JamesHWade avatar Apr 05 '22 01:04 JamesHWade

Opening the developer view of the Electron app (Ctrl + I, I think?) might reveal some useful errors in the console.

paulbricman avatar Apr 05 '22 05:04 paulbricman

Thank you for the suggestion. That's where I saw errors related to CORS error. My best guess is that the more recent versions of electron and/or chromium are enforcing stricter controls that worked in your original code.

It's a bit beyond my JS/TS abilities to fix it myself, but that's where I'd start if I were more TS literate.

JamesHWade avatar Apr 05 '22 11:04 JamesHWade

Thank you for the suggestion. That's where I saw errors related to CORS error. My best guess is that the more recent versions of electron and/or chromium are enforcing stricter controls that worked in your original code.

It's a bit beyond my JS/TS abilities to fix it myself

JamesHWade avatar Apr 05 '22 14:04 JamesHWade

@bensleveritt do you haven to have any quick CORS spell to cast?

paulbricman avatar Apr 06 '22 09:04 paulbricman

Oof, without doing some poking about I'm not sure what this could be. I'll fire up the code and see where we're at.

bensleveritt avatar Apr 06 '22 09:04 bensleveritt