-
Notifications
You must be signed in to change notification settings - Fork 10
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
Save launch context and questionnaire response between page refreshes #86
Comments
I might have an idea how to fix this. Let me take a look. \assign |
Subject: Troubleshooting SDC IDE Installation - Errors with Docker & Missing 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:
Additional Observations:
Errors:
Please Advise:
Additional Information:
Thank you for your assistance! Update: New Error Encountered Error Message:
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:
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 I navigated back to the root and used {
"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 |
I performed a When I run time="2024-10-27T13:58:44-04:00" level=warning msg="C:\\Users\\esecr\\Documents\\sdc-ide\\examples\\docker-compose.dev.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Running 40/7
✔ backend Pulled 42.7s
✔ devbox-healthcheck Pulled 2.8s
✔ devbox Pulled 34.4s
✔ devbox-db Pulled 39.9s
[+] Running 5/5
✔ Network examples_default Created 0.0s
✔ Container examples-devbox-db-1 Started 1.7s
✔ Container examples-devbox-1 Started 1.1s
✘ Container examples-devbox-healthcheck-1 Error 257.8s
✔ Container examples-backend-1 Created 0.1s
dependency failed to start: container examples-devbox-healthcheck-1 is unhealthy Here is what I get when I inspect it because for some reason when I request the logs nothing is produced [
{
"Id": "475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944",
"Created": "2024-10-27T17:59:28.803079574Z",
"Path": "/bin/sleep",
"Args": [
"10000"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 834,
"ExitCode": 0,
"Error": "",
"StartedAt": "2024-10-27T17:59:29.838601545Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 257,
"Log": [
{
"Start": "2024-10-27T18:15:52.933723487Z",
"End": "2024-10-27T18:15:56.694829339Z",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0curl: (6) Could not resolve host: devbox\n"
},
{
"Start": "2024-10-27T18:15:57.696270693Z",
"End": "2024-10-27T18:16:01.433424019Z",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0curl: (6) Could not resolve host: devbox\n"
},
{
"Start": "2024-10-27T18:16:02.434825302Z",
"End": "2024-10-27T18:16:06.212858788Z",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0curl: (6) Could not resolve host: devbox\n"
},
{
"Start": "2024-10-27T18:16:07.214664553Z",
"End": "2024-10-27T18:16:11.011523328Z",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0curl: (6) Could not resolve host: devbox\n"
},
{
"Start": "2024-10-27T18:16:12.012980092Z",
"End": "2024-10-27T18:16:15.770283126Z",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0curl: (6) Could not resolve host: devbox\n"
}
]
}
},
"Image": "sha256:d9b4541e214bcd85196d6e92e2753ac6d0ea699f0af5741f8c6cccbfcf00ef4b",
"ResolvConfPath": "/var/lib/docker/containers/475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944/hostname",
"HostsPath": "/var/lib/docker/containers/475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944/hosts",
"LogPath": "/var/lib/docker/containers/475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944/475534869b90aa2b92d2f32d6e865750edb2dd9a077a3827ea434bd2a7a5e944-json.log",
"Name": "/examples-devbox-healthcheck-1",
"RestartCount": 0,
"Driver": "overlayfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": [
"a94708705ac1af36e46d21bf2afae0dddb1664034c2a05e9fde87257bbe0d6ae"
],
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "examples_default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": null,
"Name": "overlayfs"
},
"Mounts": [],
"Config": {
"Hostname": "475534869b90",
"Domainname": "",
"User": "curl_user",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CURL_CA_BUNDLE=/cacert.pem"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"curl --fail http://devbox:8080/__healthcheck || exit 1"
],
"Interval": 1000000000,
"Timeout": 20000000000,
"Retries": 100
},
"Image": "curlimages/curl",
"Volumes": null,
"WorkingDir": "/home/curl_user",
"Entrypoint": [
"/bin/sleep",
"10000"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "df35c10edfd7d251528010db0f5a49122756f14ee58d91dc5ceb9ce53d7c9224",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "devbox:service_started:false",
"com.docker.compose.image": "sha256:d9b4541e214bcd85196d6e92e2753ac6d0ea699f0af5741f8c6cccbfcf00ef4b",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "examples",
"com.docker.compose.project.config_files": "C:\\Users\\esecr\\Documents\\sdc-ide\\examples\\docker-compose.dev.yaml",
"com.docker.compose.project.working_dir": "C:\\Users\\esecr\\Documents\\sdc-ide\\examples",
"com.docker.compose.service": "devbox-healthcheck",
"com.docker.compose.version": "2.29.2",
"docker.cmd": "podman run -it quay.io/curl/:8.10.1",
"io.buildah.version": "1.23.1",
"maintainer": "James Fuller \u003cjim.fuller@webcomposite.com\u003e",
"name": "curl-linux-amd64:8.10.1",
"org.opencontainers.image.description": "minimal image for curl",
"org.opencontainers.image.licenses": "MIT",
"org.opencontainers.image.source": "https://github.com/curl/curl-container",
"version": "8.10.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "2194be38634ea96504ca0116766af6188bf298dccef90587db73276ed40e6881",
"SandboxKey": "/var/run/docker/netns/2194be38634e",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"examples_default": {
"IPAMConfig": null,
"Links": [
"examples-devbox-1:devbox",
"examples-devbox-1:devbox-1",
"examples-devbox-1:examples-devbox-1"
],
"Aliases": [
"examples-devbox-healthcheck-1",
"devbox-healthcheck"
],
"MacAddress": "02:42:ac:12:00:04",
"DriverOpts": null,
"NetworkID": "e290c3cde08d0d9e3b2294d46d1a9d4a05c6fe1ead7483342f001abe5bae5711",
"EndpointID": "76ae597304a2c61167138736dbfa22b46045103d23dd4ea1883dd63ff30d9e03",
"Gateway": "172.18.0.1",
"IPAddress": "172.18.0.4",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": [
"examples-devbox-healthcheck-1",
"devbox-healthcheck",
"475534869b90"
]
}
}
}
} |
@EmmaSecrest Please share logs of devbox, not devbox-healthcheck |
Here are the logs: WARNING: definline already refers to: #'clojure.core/definline in namespace: clj-fast.core, being replaced by: #'clj-fast.core/definline
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Attribute]]
WARNING: abs already refers to: #'clojure.core/abs in namespace: garden.color, being replaced by: #'garden.color/abs
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clojure.core.incubator, being replaced by: #'clojure.core.incubator/seqable?
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clostache.parser, being replaced by: #'clojure.core.incubator/seqable?
Devbox can not start with the specified license.
Please contact us for extended license (https://aidbox.app/?intercom-focus=true)
WARNING: definline already refers to: #'clojure.core/definline in namespace: clj-fast.core, being replaced by: #'clj-fast.core/definline
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Attribute]]
WARNING: abs already refers to: #'clojure.core/abs in namespace: garden.color, being replaced by: #'garden.color/abs
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clojure.core.incubator, being replaced by: #'clojure.core.incubator/seqable?
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clostache.parser, being replaced by: #'clojure.core.incubator/seqable?
Devbox can not start with the specified license.
Please contact us for extended license (https://aidbox.app/?intercom-focus=true)
WARNING: definline already refers to: #'clojure.core/definline in namespace: clj-fast.core, being replaced by: #'clj-fast.core/definline
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Attribute]]
WARNING: abs already refers to: #'clojure.core/abs in namespace: garden.color, being replaced by: #'garden.color/abs
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clojure.core.incubator, being replaced by: #'clojure.core.incubator/seqable?
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clostache.parser, being replaced by: #'clojure.core.incubator/seqable?
Devbox can not start with the specified license.
Please contact us for extended license (https://aidbox.app/?intercom-focus=true)
WARNING: definline already refers to: #'clojure.core/definline in namespace: clj-fast.core, being replaced by: #'clj-fast.core/definline
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Entity]]
WARN: no cache :cache/state enabled![path: [:resources-from-db :Attribute]]
WARNING: abs already refers to: #'clojure.core/abs in namespace: garden.color, being replaced by: #'garden.color/abs
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clojure.core.incubator, being replaced by: #'clojure.core.incubator/seqable?
WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clostache.parser, being replaced by: #'clojure.core.incubator/seqable? and here is .env with censored information AIDBOX_LICENSE = <key here> |
@EmmaSecrest please double check that you are on the latest master commit (share git status). From the logs I see that you’re running the obsolete aidbox version called devbox that I’ve replaced to aidboxone in the latest commit along with other changes. I suggest you to start from the scratch, clone the repository and setup the environment based on the steps I described above and it should work. |
It was the branch. Now I can start working on the actual issue! I deleted the branch I was working on and used a new one. |
It's absolutely inconvient to use IDE when refresh the page - the questionnaire response is lost.
In that case, questionnaire response always will match the Questionnaire.
The text was updated successfully, but these errors were encountered: