question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InfluxDB 0.9 : 404 not found.

See original GitHub issue

Hi,

I can’t have a statsd communicating with Influxdb v0.9. All the settings I tried gives me 404 Not found without giving me the endpoint for debug purposes. Statsd and inxflux lives on the same server

My config:

    influxdb: {
        host: 'localhost',   // Tried influx-api.myhost.com behind SSL, and 127.0.0.1. 
        port: 8086, 
        version: 0.9,   
        ssl: false,         
        database: 'mydb', 
        username: 'myuser',  
        password: 'mypassword',  
        flush: {
          enable: true 
        },
        proxy: {
          enable: true,    
          suffix: 'raw',     
          flushInterval: 1000 
        },
        includeStatsdMetrics: false, 
        includeInfluxdbMetrics: false
    },
    graphitePort: 2003,
    graphiteHost: "localhost",
    port: 8125,
    legacyNamespace: false,
    debug: true,
    backends: [
        "./backends/graphite",
        "statsd-influxdb-backend"
    ]
}

My influx api is listening on port 8086. It’s a fresh install of v0.9. I have managed to send metrics via CURL to influx with the same credentials i use on this config

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gcyrecommented, Sep 21, 2016

my config and error:

{ influxdb: { host: ‘127.0.0.1’, port: 8086, database: ‘demo’, username: ‘demo’, password: ‘demo123’, version: 1.0, flush: { enable: true }, proxy: { enable: false, suffix: ‘raw’, flushInterval: 1000 } }, port: 8125, backends: [‘./backends/console’, ‘statsd-influxdb-backend’], percentThreshold: [ 50, 90, 99, 99.9, 99.99 ], debug: true, legacyNamespace: false }

21 Sep 19:33:10 - influxdb Sending 1 different points via HTTP 21 Sep 19:33:10 - influxdb Payload size 0.09 KB 21 Sep 19:33:10 - [influxdb] HTTP Error: 400

0reactions
gcyrecommented, Sep 21, 2016

I’m having the same issue with influxdb version 1.0, I’ve tried setting “version: 1.0,” but still receive the 404 error.

any help would be appriciated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localhost:8086 Error 404 not found - InfluxDB 1
Hi, I just installed influxdb v1.7 on linux and I'm trying to understand it so basicly I'm a noob in the influx`s world....
Read more >
404 error on http://localhost:8086 #436 - influxdata/influxdb
This error can occur when the database you are trying to connect to is not created yet. $ influx > CREATE DATABSE databaseName....
Read more >
influxdb python: 404 page not found - Stack Overflow
I am trying to use the influxdb-python lib which I found here. But I cant even get the tutorial programm to work. It...
Read more >
InfluxDB 2.0 - error Post failed 404 - SOLVED
I've been through the various posts and see that it should be working now, I'm fairly sure I've got it set up correctly...
Read more >
InfluxDB2::API::ApiError — Documentation by YARD 0.9.28
... ApiError.new(:code => 404, :message => “Not Found”). #message ⇒ Object. #to_s ⇒ Object. Override to_s to display a friendly error message.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found