Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid character '<' looking for beginning of value #1089

Open
lim4k opened this issue Nov 12, 2020 · 5 comments
Open

invalid character '<' looking for beginning of value #1089

lim4k opened this issue Nov 12, 2020 · 5 comments

Comments

@lim4k
Copy link

lim4k commented Nov 12, 2020

Hi,
our zabbix provider switch zabbix to HTTPS with cert, so i have updated grafana and zabbix plugin to latest versions

Grafana Zabbix Grafana-Zabbix Plugin
v7.3.2 4.0.5 4.0.1

after enable "Skip TLS Verify" i got only "invalid character '<' looking for beginning of value" on zabbix connection

obraz

logs

t=2020-11-12T10:58:45+0000 lvl=eror msg="Zabbix API request error" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="invalid character '<' looking for beginning of value"
t=2020-11-12T10:58:45+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/6/resources/zabbix-api status=500 remote_addr=x.x.x.x time_ms=42 size=103 referer=http://hostname/datasources/edit/6/
t=2020-11-12T10:58:45+0000 lvl=eror msg="Zabbix API request error" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="invalid character '<' looking for beginning of value"
t=2020-11-12T10:58:45+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/6/resources/zabbix-api status=500 remote_addr=x.x.x.x time_ms=31 size=103 referer=http://hostname/datasources/edit/6/
@mandrivaman
Copy link

@lim4k check the API url.
in my case it looks like https://zabbix.host/api_jsonrpc.php

@alexanderzobnin
Copy link
Collaborator

@lim4k could you try this again with 4.0.2?

@omyhub
Copy link

omyhub commented Mar 16, 2022

grafana want get a json to check , but your url return html , your url is not correct

@serviceticst
Copy link

image

same problem here, Zabbix 6.2 and grafana 9.2.2

@dachaijian
Copy link

image

same problem here, Zabbix 6.2 and grafana 9.2.2

have u ever slove this issue? the same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants