You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The golem-cli plugin list command fails with an error message Unexpected client error: error decoding response body (Likely a Serde JSON Error). This happens despite the /v1/plugins endpoint returning valid JSON when accessed directly.
Steps to Reproduce:
Ensure a Golem backend server is running (e.g., on localhost:9881).
Register a plugin
Run the command golem-cli plugin list
Environment:
golem-cli version: 1.1.16
Additional Information:
I looked at golem-cli code, but couldn't find the place where plugins data is parsed (I did find where worker, component and api data is parsed). "Unexpected client error: error decoding response body" suggests an issue with how the golem-cli is deserializing the JSON response from the /v1/plugins endpoint. Serde JSON error would contain the specific serde_json error message (e.g., "invalid type: string, expected a sequence", etc.).
This error only happens if there is a plugin. The command golem-cli plugin list works fine when there are no plugins
+-------------+----------------+-------------+----------+------+-------+
| Plugin name | Plugin version | Description | Homepage | Type | Scope |
+-------------+----------------+-------------+----------+------+-------+
The text was updated successfully, but these errors were encountered:
Description:
The
golem-cli plugin list
command fails with an error messageUnexpected client error: error decoding response body
(Likely a Serde JSON Error). This happens despite the/v1/plugins
endpoint returning valid JSON when accessed directly.Steps to Reproduce:
golem-cli plugin list
Environment:
golem-cli
version: 1.1.16Additional Information:
I looked at golem-cli code, but couldn't find the place where plugins data is parsed (I did find where worker, component and api data is parsed). "Unexpected client error: error decoding response body" suggests an issue with how the
golem-cli
is deserializing the JSON response from the/v1/plugins
endpoint. Serde JSON error would contain the specific serde_json error message (e.g., "invalid type: string, expected a sequence", etc.).This error only happens if there is a plugin. The command
golem-cli plugin list
works fine when there are no pluginsThe text was updated successfully, but these errors were encountered: