{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/91","labels_url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/91/comments","events_url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/91/events","html_url":"https://github.com/influxdb/influxdb-ruby/issues/91","id":93570666,"number":91,"title":"keep hitting \"influxdb/client.rb:384:in `block in post': 404 page not found (InfluxDB::Error)\"","user":{"login":"LeonLee88","id":5162337,"avatar_url":"https://avatars.githubusercontent.com/u/5162337?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonLee88","html_url":"https://github.com/LeonLee88","followers_url":"https://api.github.com/users/LeonLee88/followers","following_url":"https://api.github.com/users/LeonLee88/following{/other_user}","gists_url":"https://api.github.com/users/LeonLee88/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonLee88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonLee88/subscriptions","organizations_url":"https://api.github.com/users/LeonLee88/orgs","repos_url":"https://api.github.com/users/LeonLee88/repos","events_url":"https://api.github.com/users/LeonLee88/events{/privacy}","received_events_url":"https://api.github.com/users/LeonLee88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-07T16:19:52Z","updated_at":"2015-07-27T19:47:03Z","closed_at":null,"body":"A latest influxdb is running on my local machine and the web UI works well, as well as the console. I am attempting to use this client lib to do some write or database creation operation to my local influxdb. However that error keeps prompting when I run any operation. Here is the most simplified script I tried.\r\n```\r\nrequire 'influxdb'\r\n\r\nusername = 'root'\r\npassword = 'root'\r\ndatabase = 'test_db'\r\nname     = 'foobar'\r\n\r\ninfluxdb = InfluxDB::Client.new\r\n\r\ninfluxdb.create_database(database)\r\n```\r\nAnd the whole error.\r\n```\r\n/var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client.rb:384:in `block in post': 404 page not found (InfluxDB::Error)\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client.rb:431:in `call'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client.rb:431:in `connect_with_retry'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client.rb:375:in `post'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client.rb:94:in `create_database'\r\n\tfrom ./test1.rb:10:in `<main>'\r\n\r\n```\r\n\r\nUpdate:\r\n\r\nI found the lib installed via gem install is inconsistent with the latest update in this repository. Then I replaced the lib with the latest code. Now the error changed.\r\n```\r\n/var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client/http.rb:95:in `resolve_error': 404 page not found (InfluxDB::Error)\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client/http.rb:33:in `block in post'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client/http.rb:65:in `call'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client/http.rb:65:in `connect_with_retry'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/client/http.rb:26:in `post'\r\n\tfrom /var/lib/gems/2.1.0/gems/influxdb-0.1.9/lib/influxdb/query/database.rb:8:in `create_database'\r\n\tfrom ./test1.rb:11:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/comments/125323800","html_url":"https://github.com/influxdb/influxdb-ruby/issues/91#issuecomment-125323800","issue_url":"https://api.github.com/repos/influxdb/influxdb-ruby/issues/91","id":125323800,"user":{"login":"nurettin","id":988845,"avatar_url":"https://avatars.githubusercontent.com/u/988845?v=3","gravatar_id":"","url":"https://api.github.com/users/nurettin","html_url":"https://github.com/nurettin","followers_url":"https://api.github.com/users/nurettin/followers","following_url":"https://api.github.com/users/nurettin/following{/other_user}","gists_url":"https://api.github.com/users/nurettin/gists{/gist_id}","starred_url":"https://api.github.com/users/nurettin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurettin/subscriptions","organizations_url":"https://api.github.com/users/nurettin/orgs","repos_url":"https://api.github.com/users/nurettin/repos","events_url":"https://api.github.com/users/nurettin/events{/privacy}","received_events_url":"https://api.github.com/users/nurettin/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T19:47:03Z","updated_at":"2015-07-27T19:47:03Z","body":"@gunnaraasen I get 404 Connectivity Error with v0.2.1 and influxdb v0.9.0 on mac os x installed via home-brew."}}