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

Takes many tries to start up #12

Open
dday4thedeceiver opened this issue Dec 16, 2019 · 0 comments
Open

Takes many tries to start up #12

dday4thedeceiver opened this issue Dec 16, 2019 · 0 comments

Comments

@dday4thedeceiver
Copy link

Version 1.21, Windows:

After ensuring there is only a single instance running (there are five processes started), it may take many tries to start up the service through cast-web-api-desktop and there are two kinds of errors that are possible at this stage. After hitting start and a few seconds of "Loading", the dialog will show "online" but without an IP address, meaning it didn't actually work. A few seconds later one of the following errors appears. The number of attempts to start before it will be running properly varies from 2 to several, it's not consistent:

First error is: "API doesn't respond. Check the log file to see the error message."
There are no error messages in the log, just:
"cast-web-api v1.2.1
cast-web-api running at http://192.168.1.2:3000"

This error may repeat after another try and eventually you get the second error:
"Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\mark\AppData\Roaming\cast-web-api-desktop\logs\1576506403936.log'"

The log file is actually there, accessible, and has the exact same message in it.
Next attempt may result in the API doesn't respond message again, and after a few more attempts it will start properly.

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

1 participant