Code Monkey home page Code Monkey logo

Comments (4)

Nayana-ibm avatar Nayana-ibm commented on August 11, 2024

@jajohnsonpro
We followed exact same steps however we didn't face mentioned issue and build completed successfully.
Can you please give us more info like - Openssl version that is installed at your end, it is OpenSSL 1.0.2g with TLSv1.2?
If you could check whether nodejs download link is blocked on the system (while using proxy)?

from docs.

Bubsavvage avatar Bubsavvage commented on August 11, 2024

Sorry it took so long to get back with you. I tried this with openssl versions 1.0.2t, 1.0.2g, and 1.1.0l. Still no luck. I tried to run node with a https get command with the corporate proxy for nodejs.org, but got the same error ECONNREST. Is there possibly some sort of NodeJS environment variable that may have been missed in the documentation?

from docs.

lcada avatar lcada commented on August 11, 2024

Hi,
where youre probably going is hardcoded in https:// in https://github.com/elastic/kibana/blob/ec78348db74ec3eb618d01c171563f63229cbeb7/src/dev/ci_setup/setup_env.sh
https://github.com/elastic/kibana/blob/b54c1a1d2be4ab4b91477b13b313cbbbb2ec5796/src/dev/build/tasks/nodejs/node_download_info.js
https://github.com/elastic/kibana/blob/b54c1a1d2be4ab4b91477b13b313cbbbb2ec5796/src/dev/build/tasks/nodejs/node_shasums.ts
https://github.com/elastic/kibana/blob/b54c1a1d2be4ab4b91477b13b313cbbbb2ec5796/src/dev/build/tasks/nodejs/node_shasums.test.ts
which is us-central1-elastic-kibana-184716.cloudfunctions.net you can try to openssl test what tls level they tolerate. You can also put --verbose on the yarn build although probably wont give you much. Try some or all of these as well:
ENV http_proxy=http://
ENV https_proxy=http://
ENV HTTP_PROXY=http://
ENV HTTPS_PROXY=http://
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
npm config --global set strict-ssl false
npm config --global set cafile
npm config --global set proxy http://
npm config --global set https-proxy http://
npm config --global set registry http://registry.npmjs.org/
yarn config set registry http://registry.yarnpkg.com --global
yarn config set --global strict-ssl false
yarn config set --global proxy http://
yarn config set --global https-proxy http://
yarn config --global set cafile
Let me know if that helps

from docs.

rposts avatar rposts commented on August 11, 2024

@jajohnsonpro I am unable to reproduce it either:

 info [  global  ] Downloading node.js builds for all platforms
   debg Attempting download of https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/dist/v10.15.2/node-v10.15.2-darwin-x64.tar.gz 8bbb6c15a0572f493d33ef044d06ccd0ff7ead8daa67f9a32df3e863277568e8
....
Downloaded https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/dist/v10.15.2/node-v10.15.2-darwin-x64.tar.gz and verified checksum
....
 info [  global  ] Extracting node.js builds for all platforms

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.