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

Terminal not alloted, yet #32

Open
gka opened this issue Mar 7, 2019 · 2 comments
Open

Terminal not alloted, yet #32

gka opened this issue Mar 7, 2019 · 2 comments

Comments

@gka
Copy link

gka commented Mar 7, 2019

After creating a worker via POST /workers and then trying to create a screenshot I sometimes get

{"message":"Not Found","errors":[{"field":"id","code":"Terminal not alloted yet, cannot process screenshot at the moment"}]}

Didn't find anything about this error mentioned in the documentation.

@francisf
Copy link
Collaborator

francisf commented Mar 7, 2019

Hi @gka , can you check the worker status? It might be before it transitioned from being in 'queue' to in 'running' state. You can find the status by checking the details here.

@gka
Copy link
Author

gka commented Mar 9, 2019

so essentially, after creating a worker I need to poll the worker status until it changes to running?

just a side question: How long does this typically take? I tried to solve this with a 30 second delay between worker creation and the screenshot but it didn't help.

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