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

[BUG] studio is ready before the core when deploying Botpress Docker Image #55

Closed
poojapatil12 opened this issue Aug 11, 2021 · 3 comments

Comments

@poojapatil12
Copy link

Issue:

Deployment of Botpress 12.24 docker image is failing.
Version 12.24.0
OS linux ubuntu_18_04

When starting bp process it gives error:

Error: connect ECONNREFUSED 127.0.0.1:3000 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {

Full logs attached: botpresslog_12.24-redacted.log

@charlescatta
Copy link
Contributor

@allardy I believe that studio is calling /api/internal/setStudioReady on Botpress before it's started, I could fix this with a simple retry, what do you think?

@allardy
Copy link
Member

allardy commented Aug 25, 2021

@allardy I believe that studio is calling /api/internal/setStudioReady on Botpress before it's started, I could fix this with a simple retry, what do you think?

Yeah, that would be great ! Ideally without producing any log, since we are "expecting" it to be ready in a reasonable timeframe

@laurentlp
Copy link
Contributor

Fixed with this PR #105 and available in studio v0.0.37

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

4 participants