Unable to get plugins behind proxy

Hi,

in the new 5.x Version i have the problem

`
grafana-cli plugins list-remote
Failed to send requesterrorGet https://grafana.com/api/plugins/repo: proxyconnect tcp: tls: oversized record received with length 20527
Error: ✗ Failed to send request. error: Get https://grafana.com/api/plugins/repo: proxyconnect tcp: tls: oversized record received with length 20527

NAME:
Grafana cli plugins list-remote - list remote available plugins

USAGE:
Grafana cli plugins list-remote [arguments…]
`

A Test with https://heise.de from the same machine
`
wget https://heise.de
–2018-06-28 13:29:30-- https://heise.de/
Resolving itproxy.1and1.org (itproxy.1and1.org)… 172.19.255.48
Connecting to itproxy.1and1.org (itproxy.1and1.org)|172.19.255.48|:3128… connected.
Proxy request sent, awaiting response… 301 Moved Permanently
Location: https://www.heise.de/ [following]
–2018-06-28 13:29:30-- https://www.heise.de/
Connecting to itproxy.1and1.org (itproxy.1and1.org)|172.19.255.48|:3128… connected.
Proxy request sent, awaiting response… 200 OK
Length: 364837 (356K) [text/html]
Saving to: ‘index.html’

index.html 100%[================================================>] 356.29K --.-KB/s in 0.02s

2018-06-28 13:29:30 (19.2 MB/s) - ‘index.html’ saved [364837/364837]
`

Any idea

regards
Stefan

Fixed, had https instead http in my proxy settings

1 Like

Can you provide more info about your proxy settings?

is there any proxy settings in grafana-cli or does it work with export http_proxy in /etc/profile ?

I have the same issue and no solution yet.

Thanks!

it works for me now via /etc/profile/ but dont use export https_proxy!! Just export http_proxy is enough.

can you please tell me how you setup proxy for grafana?
I have grafana runing on Windows Server.

Thanks you.

I dont know how to set it up on windows.
You can install them manually from another
machine and copy the plugin to your server.