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

support old version of core lightnin #144

Open
vincenzopalazzo opened this issue May 22, 2023 · 0 comments
Open

support old version of core lightnin #144

vincenzopalazzo opened this issue May 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vincenzopalazzo
Copy link
Member

Now that the msat are integers from string, we need to support also the old input payload

For instance with v23.02.1 I'm hitting the error

time="2023-05-22T21:52:22Z" level=info msg="Calling update and upload metric"
time="2023-05-22T21:52:22Z" level=debug msg="Calling Update on metrics"
time="2023-05-22T21:52:22Z" level=error msg="invalid character 'd' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=error msg="Error during the listForwards call: decoding JSON fails, this is unexpected invalid character 'd' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=error msg="Error during get the information about the channel: decoding JSON fails, this is unexpected invalid character 'd' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=error msg="Error: decoding JSON fails, this is unexpected invalid character 'd' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=error msg="invalid character '6' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=error msg="Error decoding JSON fails, this is unexpected invalid character '6' looking for beginning of value"
time="2023-05-22T21:52:22Z" level=info msg="Metrics shipped!"
time="2023-05-22T22:22:22Z" level=info msg="Update and Uploading metrics"
time="2023-05-22T22:22:22Z" level=info msg="Calling update and upload metric"
time="2023-05-22T22:22:22Z" level=debug msg="Calling Update on metrics"
time="2023-05-22T22:22:22Z" level=error msg="invalid character '3' looking for beginning of value"
time="2023-05-22T22:22:22Z" level=error msg="Error decoding JSON fails, this is unexpected invalid character '3' looking for beginning of value"
time="2023-05-22T22:22:22Z" level=info msg="Metrics shipped!"
time="2023-05-22T22:52:22Z" level=info msg="Update and Uploading metrics"
time="2023-05-22T22:52:22Z" level=info msg="Calling update and upload metric"
time="2023-05-22T22:52:22Z" level=debug msg="Calling Update on metrics"
time="2023-05-22T22:52:22Z" level=info msg="Call updateMetricOne"
time="2023-05-22T22:52:22Z" level=info msg="Request to URL https://api.lnmetrics.info/query"
time="2023-05-22T22:52:22Z" level=debug msg="Result from server {\"errors\":[{\"message\":\"The server can not verify the payload\",\"path\":[\"updateMetricOne\"]}],\"data\":null}"
time="2023-05-22T22:52:22Z" level=info msg="Request to URL https://api.hedwing.dev/query"
time="2023-05-22T22:52:22Z" level=debug msg="Result from server {\"errors\":[{\"message\":\"The server can not verify the payload\",\"path\":[\"updateMetricOne\"]}],\"data\":null}"
time="2023-05-22T22:52:22Z" level=info msg="Request to URL https://lnmetrics.lndart.dev/query"
time="2023-05-22T22:52:22Z" level=debug msg="Result from server {\"errors\":[{\"message\":\"The server can not verify the payload\",\"path\":[\"updateMetricOne\"]}],\"data\":null}"
time="2023-05-22T22:52:22Z" level=info msg="Metric One Upload at Monday, 22-May-23 22:52:22 UTC"
time="2023-05-22T22:52:22Z" level=info msg="Metrics shipped!"
time="2023-05-22T23:22:22Z" level=info msg="Update and Uploading metrics"
time="2023-05-22T23:22:22Z" level=info msg="Calling update and upload metric"
time="2023-05-22T23:22:22Z" level=debug msg="Calling Update on metrics"
time="2023-05-22T23:22:22Z" level=error msg="expected colon after object key"
time="2023-05-22T23:22:22Z" level=error msg="Error: decoding JSON fails, this is unexpected expected colon after object key"
time="2023-05-22T23:22:22Z" level=error msg="invalid character '3' looking for beginning of value"
time="2023-05-22T23:22:22Z" level=error msg="Error decoding JSON fails, this is unexpected invalid character '3' looking for beginning of value"
time="2023-05-22T23:22:22Z" level=info msg="Metrics shipped!"

@vincenzopalazzo vincenzopalazzo added the bug Something isn't working label May 22, 2023
@vincenzopalazzo vincenzopalazzo self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant