Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

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

Open
JamesHWade opened this issue Apr 5, 2022 · 5 comments

Comments

@JamesHWade
Copy link

JamesHWade commented Apr 5, 2022

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?

@paulbricman
Copy link
Owner

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

@JamesHWade
Copy link
Author

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
Copy link
Author

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 JamesHWade reopened this Apr 5, 2022
@paulbricman
Copy link
Owner

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

@bensleveritt
Copy link
Contributor

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.

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

No branches or pull requests

3 participants