HubSpot / BuckyServer

Node server that receives metric data over HTTP & forwards to your service of choice
http://github.hubspot.com/bucky
MIT License
194 stars 33 forks source link

Communication error between Bucky and statsd #27

Open sschultetus opened 8 years ago

sschultetus commented 8 years ago

I had previously set up Bucky Server and had everything configured correctly with Graphite and statsd, but had to rebuild the server (Ubuntu 15.10). Since the rebuild, I'm having trouble connecting Bucky and statsd. When refreshing a basic test page with the Bucky client, the server receives the call and tries to send info to statsd, but statsd reports that the messages are bad. The following are logged by Bucky and statsd for a single refresh of the test page. Carbon and statsd are both registering with Graphite and I can register with statsd from bash, so it appears to just be the communication between Bucky and statsd. Any ideas as to what might be happening?

----- logged by Bucky Server: Server listening on port 5000 in production mode Collecting index.navigationStart, index.unloadEventStart, index.unloadEventEnd, index.redirectStart, index.redirectEnd, index.fetchStart, index.domainLookupStart, index.domainLookupEnd, index.connectStart, index.connectEnd, index.secureConnectionStart, index.requestStart, index.responseStart, index.responseEnd, index.domLoading, index.domInteractive, index.domContentLoadedEventStart, index.domContentLoadedEventEnd, index.domComplete, index.loadEventStart, index.loadEventEnd for 67.233.128.8 { [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' } 'on socket'

----- logged by statsd: 20 Apr 17:21:55 - [54308] reading config file: /opt/statsd/localConfig.js 20 Apr 17:21:55 - server is up 20 Apr 17:22:45 - DEBUG: Bad line: -1461172959833,ms in msg "index.redirectStart:-1461172959833|ms" 20 Apr 17:22:45 - DEBUG: Bad line: -1461172959833,ms in msg "index.redirectEnd:-1461172959833|ms" 20 Apr 17:22:45 - DEBUG: Bad line: -1461172959833,ms in msg "index.secureConnectionStart:-1461172959833|ms"