grafana / opcua-datasource

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly
GNU Affero General Public License v3.0
54 stars 10 forks source link

Plugin Unavailable Error #70

Closed gaurav031295 closed 6 months ago

gaurav031295 commented 1 year ago

Installed the OPCUA Plug in for Grafana and added a new datasource. But I get a plugin unavailable error.

Server address is correct for sure and there is no authentication enabled on it.

laoleesch commented 1 year ago

Hello! I have same problem

logger=plugin.loader t=2022-10-20T10:28:14.8705378Z level=info msg="Plugin registered" pluginID=grafana-opcua-datasource
logger=plugin.loader t=2022-10-20T10:28:14.8721067Z level=error msg="Could not start plugin" pluginId=grafana-opcua-datasource err="Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol."
JustinTweedie commented 1 year ago

Same issue with latest Grafana OSS The Enterprise version on Ubuntu worked.

fleaxin commented 1 year ago

install dotnet

FROM grafana/grafana:latest-ubuntu

ENV DEBIAN_FRONTEND noninteractive

USER root RUN apt-get update && apt-get install -y wget RUN wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ && dpkg -i packages-microsoft-prod.deb \ && rm packages-microsoft-prod.deb RUN apt update \ && apt install -y aspnetcore-runtime-6.0

USER grafana ENV PATH="/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ENV GF_PATHS_CONFIG="/etc/grafana/grafana.ini" ENV GF_PATHS_DATA="/var/lib/grafana" ENV GF_PATHS_HOME="/usr/share/grafana" ENV GF_PATHS_LOGS="/var/log/grafana" ENV GF_PATHS_PLUGINS="/var/lib/grafana/plugins" ENV GF_PATHS_PROVISIONING="/etc/grafana/provisioning"

EXPOSE 3000 WORKDIR /usr/share/grafana ENTRYPOINT ["/run.sh"]

deeprobin commented 11 months ago

Can confirm this behavior on Grafana OSS

werwuifi commented 11 months ago

Got the same issue with Grafana 9.0.0. Is there any solution yet? We install Grafana and the plugin using docker-compose:

...
environment:
      - GF_INSTALL_PLUGINS=grafana-opcua-datasource
...

And here's our datasource configuration:

- name: ds_opc
    type: grafana-opcua-datasource
    access: proxy
    orgId: 1
    url:  opc.tcp://<opc-server-ip>:<port>
    basicAuth: false
    apiVersion: 1
    version: 1
    isDefault: false
    editable: false

Any help appreciated! The plugin would help us greatly!

deeprobin commented 11 months ago

Got the same issue with Grafana 9.0.0. Is there any solution yet? We install Grafana and the plugin using docker-compose:

...
environment:
      - GF_INSTALL_PLUGINS=grafana-opcua-datasource
...

And here's our datasource configuration:

- name: ds_opc
    type: grafana-opcua-datasource
    access: proxy
    orgId: 1
    url:  opc.tcp://<opc-server-ip>:<port>
    basicAuth: false
    apiVersion: 1
    version: 1
    isDefault: false
    editable: false

Any help appreciated! The plugin would help us greatly!

I asked in Slack. @srclosson is working on a revision of the plugin.

It's a critical issue for all of us, but I think we'll have to wait.

gwdawson commented 6 months ago

The OPCUA Datasource is now deprecated, and as a result, we are closing all open issues in this repository. Our development focus has shifted, and we are no longer actively maintaining this plugin.

This deprecation means that this plugin won’t receive any feature updates or bug fixes except critical security fixes. After 6 months of the deprecation date (End of June 2024), no updates will be provided at all.

Thank you for your understanding.

deeprobin commented 6 months ago

@gwdawson I continue to see OPC UA as an important and mission-critical protocol.

Is there a follow-up project that covers and at least approximately supports current functionality or an open-source equivalent?