Comments (5)
I also go around the issue by adding a value for the telemetry.identity.salt
entry in glimpse.conf.json
from home.
Thanks for the report. We are currently looking into it and seeing what we can do to fix. You mentioned that you ended up modifying the source. Any chance you can log out what error the callback in the getMacAddress
function is getting back?
from home.
getmac.getMac(function (err, macAddress) {
console.log('Github Debug Request: ' + JSON.stringify( err) )
cb(macAddress);
});
Github Debug Request: {"killed":false,"code":127,"signal":null,"cmd":"ifconfig -a || ip link"}
Github Debug Request: { Error: Command failed: ifconfig -a || ip link
/bin/sh: ifconfig: command not found
/bin/sh: ip: command not found
at ChildProcess.exithandler (child_process.js:204:12)
at ChildProcess.wrappedCallback (/home/node/project/source/node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js:346:33)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at Socket.wrappedCallback (/home/node/project/source/node_modules/@glimpse/glimpse-agent-node/release/async-track/async-track.js:346:33)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)
killed: false,
code: 127,
signal: null,
cmd: 'ifconfig -a || ip link' }
My user has access to both of those commands on the system.
[node@vm1 ~]$ ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
ip [ -force ] -batch filename
where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |
tunnel | tuntap | maddr | mroute | mrule | monitor | xfrm |
netns | l2tp | tcp_metrics | token }
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
-h[uman-readable] | -iec |
-f[amily] { inet | inet6 | ipx | dnet | bridge | link } |
-4 | -6 | -I | -D | -B | -0 |
-l[oops] { maximum-addr-flush-attempts } |
-o[neline] | -t[imestamp] | -b[atch] [filename] |
-rc[vbuf] [size] | -n[etns] name | -a[ll] }
[node@vm1 ~]$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.49.161.27 netmask 255.255.252.0 broadcast 10.49.163.255
inet6 fe80::5054:ff:fe5c:21e3 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:5c:21:e3 txqueuelen 1000 (Ethernet)
RX packets 37143188 bytes 5079402382 (4.7 GiB)
RX errors 0 dropped 2660641 overruns 0 frame 0
TX packets 1192505 bytes 442964341 (422.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 137181 bytes 171133166 (163.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 137181 bytes 171133166 (163.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
from home.
This is great. Thanks for that. Investigating now.
from home.
@fubz - the error indicates that the process running glimpse doesn't have access to ip
and ifconfig
commands on the path, or doesn't have perms to execute those commands. Two questions:
- In output above, did you run all those commands (
ifconfig
,ip
&node <your-getmac-script>
) from the same shell? - Can you run
ifconfig -a
andip link
from your shell?
from home.
Related Issues (20)
- [Hapi] Support roadmap HOT 7
- Support being initialized after imports HOT 4
- [Loopback] support HOT 6
- Glimpse breaks AWS-SDK S3 calls HOT 4
- Lost context reported using socket.io and/or sticky-session HOT 1
- TypeError: Cannot assign to read only property 'createGzip' of object '#<Object>' HOT 3
- Glimpse (Warning OlderUnsupportedPackageRequired): Glimpse does not support version 2.3.3 of debug. HOT 4
- Deep link to https://github.com/Glimpse/Home#package--version-support is broken HOT 1
- TypeError: Cannot assign to read only property 'createGzip' of object '#<Object>' HOT 3
- Use Glimpse with separate frontend and backend procceses? HOT 3
- Initializing Glimpse in projects break aws-sdk S3 HOT 4
- [Home repo]: update screenshot to reflect current UIs HOT 1
- Request entity too large - config setting doesn't help HOT 9
- TypeError: Converting circular structure to JSON at MessageConverter.js:38:43 HOT 1
- create-react-app and Glimpse cause can't resolve module glimpse-agent-node/release
- [restify] support?
- fatal error - ""could not find associated master data
- How can I get Glimpse to work with Vue.js/Nuxt.js ?
- support for mongodb version 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home.