Open elohffa opened 4 years ago
Is your Raspberry Pi able to access the internet?
Yes.
I am seeing the same issue with building riot-web:
TASK [matrix-riot-web : Ensure Riot Web Docker image is built] ***** fatal: [matrix.server.com]: FAILED! => {"changed": false, "msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: ['Step 1/18 : FROM node:10 as builder', '\n', ' ---> 121b7d6c8a81\n', 'Step 2/18 : ARG USE_CUSTOM_SDKS=false', '\n', ' ---> Using cache\n', ' ---> 971f928397c6\n', 'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', '\n', ' ---> Using cache\n', ' ---> 4126263f8d15\n', 'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', '\n', ' ---> Using cache\n', ' ---> b7b82a016e28\n', 'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', '\n', ' ---> Using cache\n', ' ---> 1240a9221294\n', 'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', '\n', ' ---> Using cache\n', ' ---> a6181ace9b6b\n', 'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', '\n', ' ---> Using cache\n', ' ---> ecdb6dc78f9a\n', 'Step 8/18 : WORKDIR /src', '\n', ' ---> Using cache\n', ' ---> 2739d70d11c1\n', 'Step 9/18 : COPY . /src', '\n', ' ---> 42090e69658b\n', 'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', '\n', ' ---> Running in c0b8661b9e42\n', '\x1b[91mdos2unix: converting file /src/scripts/docker-link-repos.sh to Unix format...\n\x1b[0m', '\x1b[91m++ git rev-parse --abbrev-ref HEAD\n\x1b[0m', 'skipping react-sdk and js-sdk installs: USE_CUSTOM_SDKS is false\n', \"\x1b[91m+ BRANCH=HEAD\n+ '[' false == false ']'\n+ '[' HEAD == develop ']'\n+ '[' false == false ']'\n+ echo 'skipping react-sdk and js-sdk installs: USE_CUSTOM_SDKS is false'\n+ exit 0\n\x1b[0m\", 'Removing intermediate container c0b8661b9e42\n', ' ---> b9f1445ee6e8\n', 'Step 11/18 : RUN yarn --network-timeout=100000 install', '\n', ' ---> Running in 5236920ff455\n', 'yarn install v1.22.4\n', '[1/4] Resolving packages...\n', '[2/4] Fetching packages...\n', 'info There appears to be trouble with your network connection. Retrying...\n', '\x1b[91merror An unexpected error occurred: \"https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz: connect EHOSTUNREACH 104.16.17.35:443\".\n\x1b[0m', 'info If you think this is a bug, please open a bug report with the information provided in \"/src/yarn-error.log\".\n', 'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', 'info There appears to be trouble with your network connection. Retrying...\n', 'info There appears to be trouble with your network connection. Retrying...\n', 'info There appears to be trouble with your network connection. Retrying...\n', 'info There appears to be trouble with your network connection. Retrying...\n', 'Removing intermediate container 5236920ff455\n']"}
PLAY RECAP ***** matrix.server.com : ok=84 changed=1 unreachable=0 failed=1 skipped=398 rescued=0 ignored=0
I am however able to reach the specified port from my raspberry pi:
pi@raspberrypi:~ $ nmap -p 443 104.16.17.35
Starting Nmap 7.70 ( https://nmap.org ) at 2020-07-10 16:59 EDT
Nmap scan report for 104.16.17.35
Host is up (0.034s latency).
PORT STATE SERVICE
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.26 seconds
I'm going to take a look on the riot-web page to see if they have any information.
This issue seems to be the one related to the crash.
Hi , when the Riot Web Docker image is built i got a error message
"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\n', u' ---> 5097189edcdc\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\n', u' ---> Using cache\n', u' ---> 9cdb40f34b1c\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\n', u' ---> Using cache\n', u' ---> 73d3e2540ab7\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\n', u' ---> Using cache\n', u' ---> 3ddf36359312\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\n', u' ---> Using cache\n', u' ---> 97f7c5a1fffc\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\n', u' ---> Using cache\n', u' ---> f2ddbe314cb4\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\n', u' ---> Using cache\n', u' ---> c6a48e358b42\n', u'Step 8/18 : WORKDIR /src', u'\n', u' ---> Using cache\n', u' ---> faa148df18f0\n', u'Step 9/18 : COPY . /src', u'\n', u' ---> Using cache\n', u' ---> d64bcb7e0948\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\n', u' ---> Using cache\n', u' ---> c44a41151fe8\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\n', u' ---> Running in 548c3efeb7b3\n', u'yarn install v1.22.4\n', u'[1/4] Resolving packages...\n', u'[2/4] Fetching packages...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'\x1b[91merror An unexpected error occurred: \"https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz: ESOCKETTIMEDOUT\".\n\x1b[0m', u'info If you think this is a bug, please open a bug report with the information provided in \"/src/yarn-error.log\".\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'Removing intermediate container 548c3efeb7b3\n']"
OS : RaspberryPI vars.yml config. matrix _container_image_self_build: true matrix_architecture : "arm32"
this package report download error : https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz: {"code":"ResourceNotFound","message":"/core-js/-/core-js-2.6.11.tgz: does not exist"} pls do a help. looking forward your update.
thanks