Skip to content

config show - Unable to connect to database #61

@123BLiN

Description

@123BLiN

Hello,

I'm very sorry to disturb, it should be something very simple, but I spent an hour with no success.
My config:

<?xml version="1.0" encoding="utf-8"?>
<Influx-Capacitor>
  <Database Type="InfluxDB" Enabled="true">
    <Url>http://influxdb_domain_name:8086</Url>
    <Username>capacitor</Username>
    <Password>capacitor</Password>
    <Name>my_db</Name>
    <RequestTimeoutMs>15000</RequestTimeoutMs>
  </Database>
</Influx-Capacitor>

when I try to test it in console with config show I always get:
Unable to connect to database
however I'm able to query influxdb with curl:

>Invoke-WebRequest http://influxdb_domain_name:8086/query?q='SHOW DATABASES'
StatusCode        : 200
StatusDescription : OK
Content           : {"results":[{"series":[{"name":"databases","columns":["name"],"values":[["general"],["my_db"]]}]}]}
RawContent        : HTTP/1.1 200 OK

I have:
Influx-capacitor 1.0.17, influxdb 0.9.6.1, windows 2012R2

Any advice would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions