Replies: 3 comments
-
I have found an error message using the developer extentions in my browser, but I have no idea what this means: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:8086/query?q=select%20time,%20mean(value)%20as%20value%20from%20pressure%20where%20time%3Enow()-3h%20and%20environment=%27outside%27%20and%20id=%27205691510%27%20group%20by%20time(1m)&db=barograf. (Reason: CORS request did not succeed). Status code: (null). 30 |
Beta Was this translation helpful? Give feedback.
-
I've been investigating this further: As you can see in my previous post, using the developper tools in the browser, I find this query that is sent to influxdb on the signalk server: in clear text it is: But it returns an error as shown also in my previous post: One of the reasons of this failing can be that the query is incorrect, so I tried to execute this query directlyn in the influxdb cli on the raspberry itself. And there it fails also ! a working version of this query is: The errors in the original query are: so there is clearly a mismatch between the query executed by the barograf plugin and the database design used by the influxdb-writer |
Beta Was this translation helpful? Give feedback.
-
I see you are already debugging this with the plugin author at tkrofta/signalk-barograph-plugin#3 - I think it would be a good idea to concentrate all communications there. The plugin is independent of the sk to influxdb plugin and not using the same way to store data in Influx, so they don't work. They could, but now they don't. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am out of idea's where the problem might be. Any idea where to look ?


pressure records in database:
1736017198342000000 101303.00000000001
1736017203370000000 101296.00000000001
1736017208402000000 101302
1736017213431000000 101302
1736017218465000000 101298
1736017223493000000 101296.99999999999
1736017228517000000 101296.99999999999
1736017233546000000 101296.99999999999
Beta Was this translation helpful? Give feedback.
All reactions