Stuck downloading a tgz file

Zoom Apps Configuration
Share the Zoom Apps configuration (e.x. React, Vanilla JS, Node.js) you’re working with to give relevant context.

React

Description
Details on your question, workflow or the problem you’re trying to solve.

Trying to follow the advanced sample app on react but the app get stuck on npm install on backend

Error?
npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT

Troubleshooting Routes
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on https://github.com/zoom).

On the docker compose command the error output is never printed. I found this by running npm install on backend folder on my machine

Upon closer inspection, it appears to be downloading this url https://artifacts.corp.zoom.us/artifactory/api/npm/zoom-npm-virtual/ws/-/ws-8.12.0.tgz and failing

How To Reproduce
Steps to reproduce the behavior.

running docker compose up as described in the repo

Complete Error log

npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://artifacts.corp.zoom.us/artifactory/api/npm/zoom-npm-virtual/ws/-/ws-8.12.0.tgz failed, reason: connect ETIMEDOUT 10.20.12.20:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

Found the solution.

I had to delete package-lock.json that came with the repository. It points to the internal zoom artifacts rather than artifacts available on the internet.

Please fix it.

Thanks
Ravi

1 Like