-
Notifications
You must be signed in to change notification settings - Fork 76
Plugin unavailable #1109
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
Comments
Hey thanks for submitting an issue. I see you have Grafana installed on linux, but is it running inside a docker container at all? What version of ClickHouse are you using and where is that hosted? What does it say when you test the connection on the datasource configuration page? Do you have any logs to share from Grafana or ClickHouse? Or even a network/console log on the browser? This info should help narrow things down. I've seen this error message before but it's a bit vague so it could be many different things. Thanks! |
Thank you for the answer! Yes, it works inside the container. The CH logs show: Since last week, sources using the plugin have been failing. We tried changing the connection settings (e.g., Query Timeout (seconds): 0.1), which sometimes helps and allows a couple of queries to go through. However, the "Plugin is unavailable" error still occurs. |
Do you have any of the surrounding logs? Perhaps you could enable debug logging in Grafana. The other info would be helpful too such as ClickHouse environment + version |
ClickHouse: 24.3.5.46 container_image container_name container_name_extracted forwarder message level=error msg="Internal server error" error="[plugin.unavailable] plugin unavailable" node_labels_kubernetes_io_os |
Very odd. I wonder if the plugin process is crashing. @bossinc do you have any idea on how we can narrow this down? It's a vague error, wondering if you've seen it in other datasources |
@SpencerTorres @TimShar2021 The "Plugin unavailable" message generally stems from the plugin process not starting or being unavailable (e.g due to a panic). In order to help us debug, a minimal reproducible test case would be helpful, or more context in the form of logs from Grafana or searching for the |
Query inspector to troubleshoot issues:
Object
status:500
statusText:""
data:Object
message:"Plugin unavailable"
messageId:"plugin.unavailable"
statusCode:500
traceID:""
config:Object
url:"api/ds/query?ds_type=grafana-clickhouse-datasource&requestId=explore_7ki"
method:"POST"
data:Object
requestId:"explore_7ki"
hideFromInspector:false
headers:Object
retry:0
traceId:undefined
message:"Plugin unavailable"
What happened:
The error "Plugin is unavailable" occurs.
What you expected to happen:
Run query
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: