You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM node:23.2.0-alpine3.19
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
CMD ["npm", "run", "start:env"]
Next, I built the image and ran the container. docker-compose up --build
Then, I built the cli (code-push-standalone) as follows.
cd code-push-server/cli
npm i
npm run build
npm install -g
On the same machine as the code-push-server, I can log in through OAuth authentication using cli code-push-standalone register http://MY_SERVER_IP:3000
I can also issue a headless key code-push-standalone access-key add "My Key" --ttl 10y
After logging out, I can log in using the headless accessKey. code-push-standalone login --accessKey {}
However, when I went to another PC, built the cli, installed it globally, and repeated the above process, GitHub OAuth authentication and login worked, and the headless key was issued, but the login with the issued accessKey did not work.
The error is as follows. It is an IPv6-related error. [Error] connect ECONNREFUSED ::1:3000
Therefore, I tried to log in with the accessKey along with the option to use ipv4 first, as follows. (another pc is windows) set NODE_OPTIONS=--dns-result-order=ipv4first && code-push-standalone login --accessKey {}
However, the error message changed, but it still does not work. IPv4-related error [Error] connect ECONNREFUSED 127.0.0.1:3000
Where exactly should I fix the source code?
Thanks
The text was updated successfully, but these errors were encountered:
hello
I created a docker-compose.yml file as follows:
I wrote api/Dockerfile as follows:
Next, I built the image and ran the container.
docker-compose up --build
Then, I built the cli (code-push-standalone) as follows.
On the same machine as the code-push-server, I can log in through OAuth authentication using cli
code-push-standalone register http://MY_SERVER_IP:3000
I can also issue a headless key
code-push-standalone access-key add "My Key" --ttl 10y
After logging out, I can log in using the headless accessKey.
code-push-standalone login --accessKey {}
However, when I went to another PC, built the cli, installed it globally, and repeated the above process, GitHub OAuth authentication and login worked, and the headless key was issued, but the login with the issued accessKey did not work.
The error is as follows. It is an IPv6-related error.
[Error] connect ECONNREFUSED ::1:3000
Therefore, I tried to log in with the accessKey along with the option to use ipv4 first, as follows. (another pc is windows)
set NODE_OPTIONS=--dns-result-order=ipv4first && code-push-standalone login --accessKey {}
However, the error message changed, but it still does not work. IPv4-related error
[Error] connect ECONNREFUSED 127.0.0.1:3000
Where exactly should I fix the source code?
Thanks
The text was updated successfully, but these errors were encountered: