Bio-OS / bioos

Apache License 2.0
58 stars 16 forks source link

Build apiserver failed at step 6 #64

Closed yuanminhui closed 11 months ago

yuanminhui commented 11 months ago

Describe the bug Use docker compose to build bioos service always fail at [builder] 6/6, though seems caused by external network problem. (objects.githubusercontent.com is observed much of this issue..?)

To Reproduce Run docker compose up at the root of the project.

Expected behavior A guide to move on.

Screenshots

docker-compose-apiserver-build-failed
KaiJiaBrother commented 11 months ago

Connecting to objects.githubusercontent.com 401 Unauthorized.

Try to build apiserver again.

yuanminhui commented 11 months ago

Connecting to objects.githubusercontent.com 401 Unauthorized.

Try to build apiserver again.

Every time. I said "always".

ealyn commented 11 months ago

Error output of the screenshot is clear: the make target tools.install.womtool failure at download womtool.jar from github, while your username/password incorrect.

yuanminhui commented 10 months ago

It's obviously some type of error occured during downloading womtool.jar, and that's the point - neither wget from cli nor open in browser can I get https://objects.githubusercontent.com/github-production-release-asset-2e65be/34136406/44be6215-404e-430b-a30c-2cd0b0f10fe9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231203T073517Z&X-Amz-Expires=300&X-Amz-Signature=8c181c10b31e00c269f8825f0b908aebecd753b6894d5d3efdd1766e57ca9675&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=34136406&response-content-disposition=attachment%3B%20filename%3Dwomtool-85.jar&response-content-type=application%2Foctet-stream without 401. Since wget won't prompt for credential and send the Authorization header, I have tried flagging --auth-no-challenge, didn't help. So do we need username&password during the installation and even no chance to inject them? And😂 what's the username/password for sure (Git account)?