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

failed to fetch query data: : Unknown Operation status code: 404, request id: #161

Closed
misiek303 opened this issue Feb 6, 2023 · 4 comments
Labels
type/bug Something isn't working

Comments

@misiek303
Copy link

I am unable to query data anymore. I get the below error:

failed to fetch query data: : Unknown Operation status code: 404, request id:

Grafana Logs:

logger=context userId=1 orgId=1 uname=admin t=2023-02-06T10:38:36.314059731-06:00 level=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=192.168.50.132 time_ms=18 duration=18.094402ms size=137 referer="http://192.168.50.248:3000/d/YUUwUxA4k/txrx-simulator?orgId=1&refresh=5s" handler=/api/ds/query

Environment:

  • Grafana version: 9.3.6
  • Plugin version: 1.6.1
  • OS Grafana is installed on: Ubuntu Server 20.10 LTE
  • Data Processing Pack: 2.1.29

Screenshot 2023-02-06 at 10 37 33 AM

Connection to the Datasource works just fine

Screenshot 2023-02-06 at 10 38 48 AM

I am also able to use AWS OpsHub and see all models, assets, and the latest data

Screenshot 2023-02-06 at 10 40 06 AM

Screenshot 2023-02-06 at 10 40 22 AM

Can you help ?

@misiek303 misiek303 added the type/bug Something isn't working label Feb 6, 2023
@misiek303
Copy link
Author

I have downgraded to 1.5.1 and it works

@Vijay-Karthick
Copy link

I can confirm the same. With latest version, 'Get property value history' or any similar APIs were not displaying asset selection. In fact, the drop-down menu for asset selection and property selection were missing. I had to downgrade to 1.5.1 and everything started working as expected.

However, in latest version, list assets and list asset models were working fine.

@tracy-french
Copy link
Collaborator

This is a critical issue. The data source does not work at the edge. The BatchGet* APIs are not available at the edge and it's apparent that the plugin does not use the non-batch variants of the APIs to request time-series data from SiteWise. The plugin has effectively been broken for edge since version 1.6, which was released 1 year ago (https://github.com/grafana/iot-sitewise-datasource/pull/153/files).

@katebrenner
Copy link
Contributor

close as completed in #281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants