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

Clients fail to join in time #37

Open
ghost opened this issue Feb 6, 2017 · 11 comments
Open

Clients fail to join in time #37

ghost opened this issue Feb 6, 2017 · 11 comments

Comments

@ghost
Copy link

ghost commented Feb 6, 2017

I ran 'npm run setup --debug' on my Dell and, like many others here, it would exit as "clients" would fail to join in time and then hang. Increasing the timeout in src/start-io.js to 150000 ms also didn't help, so I reduced the client count to a custom 2. It doesn't throw errors, but it still hangs. Any help?

@znat
Copy link

znat commented Feb 6, 2017

Do you have another error in the logs, like a module missing? Are you running it on Python 3?

@ghost
Copy link
Author

ghost commented Feb 7, 2017

@znat initially it showed 'autocorrect' missing in 'convo_classifiers.py' but I removed the import statement to make it run for a change

@znat
Copy link

znat commented Feb 7, 2017

That's the error I had too. Once fixed (install the package) it worked, all the clients were connected in time

@ghost
Copy link
Author

ghost commented Feb 7, 2017

@znat where can I download it from?

@znat
Copy link

znat commented Feb 7, 2017 via email

@ghost
Copy link
Author

ghost commented Feb 8, 2017

@znat that failed to work 👎

@kengz
Copy link
Owner

kengz commented Feb 17, 2017

Try to start the IO components individually:
in on terminal window run this:

npm run server

in another, run this:

python3 ./lib/client.py

See what the outputs are?

A known issue is from the websocket, if that's the case try a reinstall

pip3 uninstall websocket
pip3 install websocket

@ghost
Copy link
Author

ghost commented Feb 23, 2017

@kengz npm run still hung my machine but running client.py showed:

`An incompatible websocket library is conflicting with the one we need.
You can remove the incompatible library and install the correct one
by running the following commands:

yes | pip uninstall websocket websocket-client
pip install -U websocket-client`

but i had it already installed!

@kengz
Copy link
Owner

kengz commented Feb 23, 2017 via email

@ghost
Copy link
Author

ghost commented Feb 24, 2017

I successfully uninstalled it but when I install websocket it says: 'Requirement already up-to-date' :-/

@kengz
Copy link
Owner

kengz commented Feb 24, 2017

python3? just to be absolute do it in py3 (since aiva uses py3)

python3 -m pip uninstall websocket
python3 -m pip install websocket

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

2 participants