When i look at freeswitch logs the following errors are seen - centos

mod_kazoo unimplemented feature error in freeswitch logs
This is for a centos7 server with RabbitMQ 3.3, bigcouch 3.3.6, kazoo 4.3. I tried building and linking these but got the following errors while adding freeswitch , kamalio and ecallmgr.
[ERR] kazoo_node.c:996 Recieved mod_kazoo message for unimplemented
feature (ensure you are using Kazoo v2.14+): json_api
[warning] |00000000000|ecallmgr_fs_nodes:681(<0.5448.0>) unable to
start node freeswitch#server.local handlers:
{{shutdown,{failed_to_start_child,'freeswitch#server.local_node',{'EXIT',{function_clause,[{kz_json,decode,[badarg],[{file,"src/kz_json.erl"},{line,169}]},
[error] |0000000000|Undefined:Undefined(<0.5453.0>) Supervisor
'freeswitch#server.local'had child'freeswitch#server.local_node'
started with ecallmgr_fs_node:start_link('freeswitch#server.local',
[{client_version,<<"mod_kazoo v1.4.0-1">>},

Looks as you use latest FreeSwitch 1.8 or 1.10 branch.
With kazoo 4.3 compatible FreeSwitch 1.8.5.
Next FreeSwitch releases requires kazoo 5.0 (master branch).

Related

Grafana OPCUA Plugin failed to start

I'm new to both portainer and grafana and I'm attempting to get an OPC UA connection up and running.
Grafana is running on a container on portainer. I have access to the front end/console etc.
When running "grafana-server restart" there are a few errors, some about port 3000 "address already in use". But what's important here, the opcua plugin fails to start with error:
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.
I've installed using the basic "grafana-cli plugins install grafana-opcua-datasource" command. the OPCUA plugin is an option on the front end, however, testing it simply gives me a "plugin unavailable" popup. I have upgraded Grafana and updated the plugin. The Grafana version is high enough to work with the plugin (according to https://grafana.com/grafana/plugins/grafana-opcua-datasource/?tab=installation)
Anyone have any ideas of where I can at least look for problems?
Full error log from server restart:
EROR[02-08|13:24:31] Failed to start plugin logger=plugins.backend pluginId=grafana-opcua-datasource error="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."
WARN[02-08|13:24:31] plugin failed to exit gracefully logger=plugins.backend pluginId=grafana-opcua-datasource
EROR[02-08|13:24:32] A service failed logger=server err="failed to open listener on address 0.0.0.0:3000: listen tcp 0.0.0.0:3000: bind: address already in use"
EROR[02-08|13:24:32] Server shutdown logger=server reason="failed to open listener on address 0.0.0.0:3000: listen tcp 0.0.0.0:3000: bind: address already in use"
I've run into the same or similar problem:
NFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=alexanderzobnin-zabbix-app
INFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=grafana-clock-panel
INFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=grafana-opcua-datasource
EROR[04-21|07:01:05] Could not start plugin logger=plugin.manager 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."
INFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=grafana-piechart-panel
INFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=grafana-simple-json-datasource
INFO[04-21|07:01:05] Plugin registered logger=plugin.manager pluginId=alexanderzobnin-zabbix-datasource
INFO[04-21|07:01:05] Profiler logger=plugin.alexanderzobnin-zabbix-datasource enabled=false
WARN[04-21|07:01:05] Plugin process is running with elevated privileges. This is not recommended logger=plugin.alexanderzobnin-zabbix-datasource
INFO[04-21|07:01:05] Query Service initialization logger=query_data
It's a .net aplication right?
i tried it in a dockerized enviroment on a debian host.
logger=settings version=8.4.7 commit=23bf3ef043 branch=HEAD compiled=2022-04-19T16:05:49+0000
i also tried to add the .net enviroment:
FROM grafana/grafana:latest
USER root
RUN apk add bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib wget
RUN apk add libgdiplus --repository https://dl-3.alpinelinux.org/alpine/edge/testing/
RUN mkdir -p /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
RUN wget https://dot.net/v1/dotnet-install.sh
RUN chmod +x dotnet-install.sh
RUN ./dotnet-install.sh -c 3.1 --install-dir /usr/share/dotnet
RUN ./dotnet-install.sh -c 5.0 --install-dir /usr/share/dotnet
RUN ./dotnet-install.sh -c 6.0 --install-dir /usr/share/dotnet
RUN grafana-cli plugins install grafana-opcua-datasource
but with the same result.

Error NuGet package google translation API

I'm trying to install the Google.Cloud.Translation.V2 package from NuGet and I keep getting this error
Failed to retrieve information about 'Google.Cloud.Translation.V2' from remote source 'https://api.nuget.org/v3-flatcontainer/google.cloud.translation.v2/index.json'.
An error occurred while sending the request.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 72.21.81.200:443
Thanks
If you're using the library's version in your command like this:
Install-Package Google.Cloud.Translation.V2 -Version 1.1.0
or:
dotnet add package Google.Cloud.Translation.V2 --version 1.1.0
or:
paket add Google.Cloud.Translation.V2 --version 1.1.0
Then, a firewall may be blocking you. If you're using any of those commands and the error persists, then this is not a coding issue, this issue could be checked on ServerFault for a possible firewall blocking you or any other network issue.

Getting Error while upgrading Sonar to 5.5 Version and failing to Start

I recently upgraded my Sonar Version to 5.5 and all the compatible plugins with it.
Here are the versions of the plugins installed:-
sonar-ldap-plugin-1.5.1.jar
sonar-javascript-plugin-2.13.jar
sonar-java-plugin-3.14.jar
sonar-build-breaker-plugin-2.1.jar
sonar-php-plugin-2.8.jar
sonar-findbugs-plugin-3.3.jar
If I use sonar-findbugs-plugin-3.3.jar, the Sonar is not getting Up and throwing below error :-
java.lang.IllegalArgumentException: The rule 'EC_INCOMPATIBLE_ARRAY_COMPARE' of repository 'findbugs' is declared several times
If I downgrade the Jar to sonar-findbugs-plugin-3.2.jar it works but fails to analyse the Project and throws below error :-
An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar
I have tried the versions - 3.3,3.3.1 and 3.3.2
Any Help ?

Plugins failed to Load during Jira startup after upgrade to 7. 1.6

I am trying to upgrade to Jira 7 from version 6. I used the rapid upgrade method. It installs fine but I get an error on the browser “There is a problem with your Jira Access”. I went through the logs and I see that 6 plugins are failed to load during the Jira startup. Somehow they are disabled. I replaced couple of these .jar files with latest .jar and re-started the service, but I get the same error.
I also ran this query update pluginstate set pluginenabled='true' in the db but no luck.
Here is the log:
net.customware.plugins.connector.salesforce.salesforce-connector-plugin' - 'ServiceRocket Salesforce.com Connector Plugin - Plugin' failed to load.
Cannot start plugin: net.customware.plugins.connector.salesforce.salesforce-connector-plugin
Unresolved constraint in bundle net.customware.plugins.connector.salesforce.salesforce-connector-plugin [206]: Unable to resolve 206.0: missing requirement [206.0] osgi.wiring.bundle; (osgi.wiring.bundle=net.customware.plugins.connector.atlassian.jira-connector-plugin) [caused by: Unable to resolve 204.0: missing requirement [204.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.rpc)]
It was loaded from C:\JIRA_data\plugins\installed-plugins\salesforce-connector-plugin-6.0.8.jar.
We had the same problem last week, upgrading from 6.4.13 to 7.1.6. There are some incompatible plugins that crash Jira 7 when started, despite an apparently successful upgrade. Please refer to this page for details on the target plugins, as well as a way to solve the problem:
https://confluence.atlassian.com/jirakb/upgrading-to-jira-7-throws-a-nosuchmethoderror-on-com-atlassian-crowd-embedded-api-user-781396615.html

new Capistrano version 2.6.0 deploy error: `sync' is not implemented by Capistrano::Deploy::SCM::None (rsync with remote cache)

I'm using Capistrano along with the capistrano_rsync_with_remote_cache gem when deploying applications.
The problem occourred after upgrading the deploy server with new software:
capistrano 2.5.10 -> 2.6.0
capistrano_rsync_with_remote_cache 2.3.6 -> 2.4.0
ruby 1.8.6 -> 1.8.7
ruby-gems 1.3.5 -> 1.3.7
the error message:
http://pastebin.com/bD3azxFZ
The top most error:
/var/lib/gems/1.8/gems/capistrano-2.6.0/lib/capistrano/recipes/deploy/scm/base.rb:94:in sync': sync' is not implemented by Capistrano::Deploy::SCM::None (NotImplementedError) from
/var/lib/gems/1.8/gems/capistrano_rsync_with_remote_cache-2.4.0/lib/capistrano/recipes/deploy/strategy/rsync_with_remote_cache.rb:110:in
The line from the file rsync_with_remote_cache.rb:110:
source.sync(revision, local_cache_path)
However this is the same line used in the previous version (2.3.6) of capistrano_rsync_with_remote_cache where the NotImplementedError isn't pressent.
The deploy.rb file used with both versions
http://pastebin.com/EbPkCxyN
what should I change in order to make it deploy again with the newer version?
Sync only works when an SCM is set. You have set :scm, :none in your deploy.rb. Change it accordingly to your SCM. set :scm, :git or the like…
Just had the same error here and got it fixed and thought more people might run into this - and apparently do.