Coder Social home page Coder Social logo

Comments (8)

coussej avatar coussej commented on May 27, 2024

Hello, it should be in the form of http(s)://user:password@host:port/database

So, host should be the IP or FQDN of your cloud server, port is usually 8086, and the other details depend on how you confgres influxdb :-)

does that help?

from node-opcua-logger.

JanMaasland avatar JanMaasland commented on May 27, 2024

I now get a connection to influx, but get the below message every 5 seconds. I assume that for the database part of the url I need to put my bucket?

[2020-04-17T14:58:57.652] [ERROR] influx - A 405 Method Not Allowed error occurred:

<title>405 Not Allowed</title>

405 Not Allowed


nginx/1.16.1

[2020-04-17T14:58:57.654] [ERROR] buffer - Failed to write points from membuffer. { error:
'A 405 Method Not Allowed error occurred: \r\n<title>405 Not Allowed</title>\r\n\r\n

405 Not Allowed

\r\n
nginx/1.16.1\r\n\r\n\r\n' }
[2020-04-17T14:58:57.656] [ERROR] buffer - Will try again in 5s.

from node-opcua-logger.

coussej avatar coussej commented on May 27, 2024

Is it possible you are running a beta of influxDB 2.0?

from node-opcua-logger.

JanMaasland avatar JanMaasland commented on May 27, 2024

Yes. I'm using influxDB 2.0. Is it not tested with the OPC-UA logger?

from node-opcua-logger.

coussej avatar coussej commented on May 27, 2024

It has a different API than influx 1.x. We have not yet included support for influx 2.0, but will do soon :-)

from node-opcua-logger.

maziarz avatar maziarz commented on May 27, 2024

I have the same problem here. Authentication method does not seem to work with this logger, as it needs to use a token.

from node-opcua-logger.

coussej avatar coussej commented on May 27, 2024

@maziarz InfluxDB 2.0 is not yet supported. We'll implement it soon!

from node-opcua-logger.

coussej avatar coussej commented on May 27, 2024

Hello @maziarz, you can find initial support for 2.0 on the dev branch!

when you add a token, org and bucket to the config file, the logger will assume its influx 2.0 and connect as such.

from node-opcua-logger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.