Open ruscoder opened 3 days ago
I might have an idea how to fix this. Let me take a look.
\assign
Subject: Troubleshooting SDC IDE Installation - Errors with Docker & Missing frontend
Folder
I'm encountering issues while setting up the SDC IDE project. I've followed the instructions on https://aidbox.app/ but am still running into errors.
Tried the following:
examples
folder instructions.docker-compose up -f docker-compose.dev.yaml
: Encountered a "Bad response from license server" error.yarn start docker
: Received a "connection refused" error.Additional Observations:
frontend/package.json
file, which might be relevant.nohoist
configuration is already present in the root package.json
file.Errors:
yarn start docker
.Please Advise:
frontend/package.json
and its potential impact?Additional Information:
Thank you for your assistance!
Update: New Error Encountered
Error Message:
Devbox cannot start with the specified license. Please contact us for extended license (https://aidbox.app/?intercom-focus=true)
Clarification Needed: I'm unsure which license I need to resolve this issue.
Selection Details: I selected "Dev," gave it a name, chose "Development," and clicked "Self Hosted" using this link: License Selection.
Hi @EmmaSecrest, I didn't expect that someone could find this issue in this not popular repository. But since you've already started to solve it, I'll be happy to help you with your issues.
We use Aidbox as the FHIR server and this is a web IDE that uses the FHIR server.
@EmmaSecrest looks like example for dev env is very obsolete. I'll update it (#87 ) and let you know once it's ready
@EmmaSecrest the examples folder README is updated, please start from scratch and follow the instructions and it should work.
I've tested it by the following actions:
git clone git@github.com:beda-software/sdc-ide.git
cd sdc-ide
cd examples
cp .env.tpl .env
.env.
as AIDBOX_LICENSE=...
docker compose -f docker-compose.dev.yaml up -d
cd ..
yarn
yarn start
http://localhost:3001
Good luck!
I think something went wrong as I followed all the instructions to create the license but ended up with an error.
Devbox cannot start with the specified license. Please contact us for extended license (https://aidbox.app/?intercom-focus=true)
Also, this is my first time contributing to open source. 😳
I will look at it again to make sure.
Alright! I have a different error!
It is timing out at this container - Container examples-devbox-healthcheck-1
I am getting an unhealthy status. It is taking longer than a minute to process and get that result.
I navigated back to the root and used yarn start
got the startup page that says "Welcome to SDC IDE! ...."
clicked the link
got localhost refused to connect.
{
"Log": [
{
"Start": "2024-10-27T01:35:33.305716898Z",
"End": "2024-10-27T01:35:37.081953942Z",
"ExitCode": 1,
"Output": "curl: (6) Could not resolve host: devbox"
},
{
"Start": "2024-10-27T01:35:38.082478202Z",
"End": "2024-10-27T01:35:41.837511038Z",
"ExitCode": 1,
"Output": "curl: (6) Could not resolve host: devbox"
}
],
"Config": {
"Healthcheck": {
"Test": [
"CMD-SHELL",
"curl --fail http://devbox:8080/__healthcheck || exit 1"
],
"Interval": 1000000000,
"Timeout": 20000000000,
"Retries": 100
},
"Image": "curlimages/curl"
},
"Name": "/examples-devbox-healthcheck-1",
"NetworkMode": "examples_default",
"Platform": "linux"
}
{
"Log": [
{
"Start": "2024-10-27T01:35:33.305716898Z",
"End": "2024-10-27T01:35:37.081953942Z",
"ExitCode": 1,
"Output": "curl: (6) Could not resolve host: devbox"
},
{
"Start": "2024-10-27T01:35:38.082478202Z",
"End": "2024-10-27T01:35:41.837511038Z",
"ExitCode": 1,
"Output": "curl: (6) Could not resolve host: devbox"
}
],
"Config": {
"Healthcheck": {
"Test": [
"CMD-SHELL",
"curl --fail http://devbox:8080/__healthcheck || exit 1"
],
"Interval": 1000000000,
"Timeout": 20000000000,
"Retries": 100
},
"Image": "curlimages/curl"
},
"Name": "/examples-devbox-healthcheck-1",
"NetworkMode": "examples_default",
"Platform": "linux"
}
@EmmaSecrest please show the logs of devbox. Please also make sure that you pulled the latest changes from the repository
It's absolutely inconvient to use IDE when refresh the page - the questionnaire response is lost.