Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 404 error while connecting influxdb #39

Open
SankarMittapally opened this issue Jan 24, 2017 · 5 comments
Open

Getting 404 error while connecting influxdb #39

SankarMittapally opened this issue Jan 24, 2017 · 5 comments

Comments

@SankarMittapally
Copy link

I am trying to connect influx db from statsd, it is always showing 404 error. I am using 1.1.1 influxdb version, statsd with the latest commit.

Logs

'getkong.test.request.status.200': 0,
 'getkong.test.727f9221_59ca_4d3d_926e_9dd575e2ac90.request.count': 0 },

sets: { 'getkong.test.user.uniques': [] },
pctThreshold: [ 90 ] }
24 Jan 10:53:48 - [influxdb] (DEBUG) Sending 4 different points via HTTP
24 Jan 10:53:48 - [influxdb] (DEBUG) Payload size 0.41 KB
24 Jan 10:53:48 - [influxdb] HTTP Error: 404

May I know how to fix this, influxdb is running properly and I can able to create the database.

{
influxdb: {
host: '127.0.0.1', // InfluxDB host (default 127.0.0.1)
port: 8086, // InfluxDB port (default 8086)
database: 'dbname', // InfluxDB db instance (required)
username: 'root', // InfluxDB db username (required)
password: 'root', // InfluxDB db password (required)
flush: {
enable: true // enable regular flush strategy (default true)
},
proxy: {
enable: false, // enable the proxy strategy (default false)
suffix: 'raw', // metric name suffix (default 'raw')
flushInterval: 1000
}
},
port: 8125, // statsD port
backends: ['./backends/console', 'statsd-influxdb-backend'],
debug: true,
legacyNamespace: false
}

@ravenstar
Copy link

Did you figure this out?
I'm having the same issue with v1.2.1 of InfluxDB.
I suspect the influxdb api has changed and this backend needs to be updated.

@echo1248
Copy link

404 as version of 0.8, so change version to 1.2 , but also 400 , influxdb api change

@airengin
Copy link

airengin commented Jul 6, 2017

same issue,suspect this to be updated.

@shlima
Copy link

shlima commented Nov 25, 2017

+1

1 similar comment
@larryliuqing
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants