Giter VIP home page Giter VIP logo

Comments (10)

conradwt avatar conradwt commented on June 11, 2024 2

@gitperr I was able to download via the browser and simply click the button within Privacy & Security. Thus, it's working as expected now and please feel free to close this issue.

from node_exporter.

conradwt avatar conradwt commented on June 11, 2024 1

@gitperr I downloaded it from the releases page on GitHub using Chrome. In any case, I'm seeing the following after I use wget and tar:

./node_exporter --version
[1]    6596 killed     ./node_exporter --version

I believe the codesigning and notarization should be a part of the CI workflow.

from node_exporter.

gitperr avatar gitperr commented on June 11, 2024 1

@conradwt Now the code signed binary is released, please retry downloading and opening node exporter following these steps:

1- get with curl instead of downloading using a browser, make sure it is the correct arch. Here I put arm

curl -L https://github.com/prometheus/node_exporter/releases/download/v1.8.1/node_exporter-1.8.1.darwin-arm64.tar.gz --output node_exporter.tar.gz

2- untar it

tar xvfz node_exporter.tar.gz

3- cd into the untarred directory and run it

cd node_exporter-1.8.1.darwin-arm64 && ./node_exporter

Downloading via a web browser does not work because we are signing with rcodesign instead of Apple's own codesign, until we get Mac build machine, this solution should work.

from node_exporter.

conradwt avatar conradwt commented on June 11, 2024

It's a codesigning issue because I was able to use the following to get things working:

codesign -vvv \
  --force \
  --strict \
  --timestamp \
  --options=runtime \
  --sign "Developer ID Application: <NAME> (<TEAMEID>)" ./node_exporter

After you run the executable, one will see the following message:

Screenshot 2024-05-11 at 4 55 44 PM

Then navigate to Settings -> Privacy & Security and click the 'Open Anyway' button towards the bottom of the page.

from node_exporter.

SuperQ avatar SuperQ commented on June 11, 2024

👓 @gitperr

from node_exporter.

SuperQ avatar SuperQ commented on June 11, 2024

You should consider upgrading from v0.16.0. This version is out of date by 6 years.

We also introduced code signing in the latest v1.8.0 release,

from node_exporter.

conradwt avatar conradwt commented on June 11, 2024

@SuperQ Yes, the errors that I'm getting are coming from node_exporter v1.8.0. The example output is simply an example of what I expect to see when starting the executable.

from node_exporter.

gitperr avatar gitperr commented on June 11, 2024

@SuperQ I think #3008 did not make it into that release you mentioned, we might have forgotten to cut a new release after it was merged.

And just out of curiosity, what was the download method? Even if you download a rcodesign signed binary using Safari directly, it errors out. I try with wget or curl usually, then untar. I was able to make it work like that at least.

from node_exporter.

gitperr avatar gitperr commented on June 11, 2024

Code signing was added as SuperQ mentioned, but did not make it to the release you downloaded. Let's try again when a new release is cut including #3008

from node_exporter.

TechieGenie avatar TechieGenie commented on June 11, 2024

Following the steps in this thread worked - #3008 (comment)

Yes, this codesigned binary needs to be released to make this a seamless process 👍

from node_exporter.

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.