describo / crate-builder-component

A VueJS UI component to build an RO-Crate
MIT License
6 stars 3 forks source link

Loading Austlang times out in the develop app #103

Open beepsoft opened 5 months ago

beepsoft commented 5 months ago

For some time now the develop app fails loading the datapacks:

> npm run develop

> @describo/crate-builder-component@0.76.2 develop
> npm install && npm run update-dependencies && npm run start:elastic && vite && npm run stop:elastic

up to date, audited 1255 packages in 2s

227 packages are looking for funding
  run `npm fund` for details

18 vulnerabilities (1 low, 8 moderate, 9 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> @describo/crate-builder-component@0.76.2 update-dependencies
> bash -x ./update-deps.sh

+ npx esbuild ./node_modules/validate-iri/lib/Validate.js --bundle --format=esm --outfile=./src/crate-builder/lib/validate-iri.js

  src/crate-builder/lib/validate-iri.js  4.1kb

⚡ Done in 68ms

> @describo/crate-builder-component@0.76.2 start:elastic
> docker compose up -d && npm run load:datapacks

[+] Running 1/1
 ✔ Container crate-builder-component-search-1  Started                                                                                                                                                                                                                         2.7s 

> @describo/crate-builder-component@0.76.2 load:datapacks
> sleep 10 && node ./load-data-packs.cjs

Loading Austlang
Request timed out

To be able to proceed I disable datapack loading in load-data-packs.cjs for now, but then these datapack based properties won't work.

marcolarosa commented 5 months ago

I'm not seeing that. What branch are you on? Though it shouldn't matter.

Screenshot 2024-06-26 at 7 48 08 PM
beepsoft commented 5 months ago

I'm on the revise-routing-config branch, but it happens on the main as well.

What URL-s does it try to connect to?

marcolarosa commented 5 months ago

https://github.com/describo/data-packs/blob/master/src/index.js

They come from github. The path in each of the entries in the datapacks object are appended to the host.