Skip to content

How to set up a gateway for the arweave node to provide graphql service? #673

@xgocn

Description

@xgocn

I found the https://github.com/ArweaveTeam/gateway readonly, and get errors:

root@yousu:~/gateway# docker-compose up --build -d
WARN[0000] /root/gateway/docker-compose.yml: `version` is obsolete 
[+] Building 267.5s (11/21)                                                             docker:default
 => [server internal] load .dockerignore                                                          0.0s
 => => transferring context: 307B                                                                 0.0s
 => [server internal] load build definition from gateway.dockerfile                               0.0s
 => => transferring dockerfile: 656B                                                              0.0s
 => [server internal] load metadata for docker.io/library/node:12                                 0.4s
 => [server internal] load build context                                                          0.0s
 => => transferring context: 3.24kB                                                               0.0s
 => [server  1/17] FROM docker.io/library/node:12@sha256:01627afeb110b3054ba4a1405541ca095c8bfca  0.0s
 => CACHED [server  4/17] WORKDIR /app                                                            0.0s
 => CACHED [server  5/17] COPY package.json package.json                                          0.0s
 => CACHED [server  6/17] COPY yarn.lock yarn.lock                                                0.0s
 => ERROR [server  7/17] RUN yarn install                                                       267.0s
------                                                                                                 
 > [server  7/17] RUN yarn install:                                                                    
0.326 yarn install v1.22.18                                                                            
0.428 [1/4] Resolving packages...                                                                      
0.889 [2/4] Fetching packages...                                                                       
13.42 info There appears to be trouble with your network connection. Retrying...                       
32.24 info There appears to be trouble with your network connection. Retrying...
48.88 info There appears to be trouble with your network connection. Retrying...
60.10 error Command failed.
60.10 Exit code: 128
60.10 Command: git
60.10 Arguments: ls-remote --tags --heads https://github.com/koii-network/logs
60.10 Directory: /app
60.10 Output:
60.10 fatal: unable to access 'https://github.com/koii-network/logs/': Empty reply from server
60.10 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
65.25 info There appears to be trouble with your network connection. Retrying...
81.89 info There appears to be trouble with your network connection. Retrying...
98.26 info There appears to be trouble with your network connection. Retrying...
114.9 info There appears to be trouble with your network connection. Retrying...
131.3 info There appears to be trouble with your network connection. Retrying...
147.9 info There appears to be trouble with your network connection. Retrying...
------
failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions