question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

transaction streaming has breaking change in 10.1.0

See original GitHub issue

Describe the bug Streaming transactions no longer works using sdk 10.1.0

What version are you on?

10.1.0

To Reproduce

  horizon
    .transactions()
    .forAccount(pubkeyA)
    .stream({
      onmessage: recv,
      onerror: (e) => {
        db.consoleLog('SYSTEM-XLM', `STREAM ERROR: ${e}`);
      },
    });

In 10.1.0, I get about 7 transactions for address GBIYTJUA6W25EFRVQJE3LNQ6VONUQ4E4TMCK7W5OBDFUQVJUHCZMOBTV, and then the process exits.

Expected behavior

In 10.0.1 I correctly get about 120, and the process continues to listen for new transactions.

Additional context

If this is a breaking change for 10.1.0, some instructions on how to port it would be very much appreciated.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ddombrowskycommented, May 18, 2022

I can confirm that #780 fixes the issue I reported. Thank you.

1reaction
Shapticcommented, May 16, 2022

This is almost certainly related to #772… I will look into this asap. Thank you for the report!

Read more comments on GitHub >

github_iconTop Results From Across the Web

realm-core/CHANGELOG.md at master - GitHub
Breaking changes. Websocket errors caused by the client sending a websocket message that is too large (i.e. greater than 16MB) now get reported...
Read more >
Changelog - EdiFabric Docs
This is a major update and includes breaking changes. It decommissions the four packages EdiFabric.Framework, EdiFabric.Core, EdiFabric.Plugins.
Read more >
Release Notes | Firebase - Google
This page provides a changelog that lists new SDK releases and describes updates to the Firebase console and Firebase services.
Read more >
Problem - Rocket Software Documentation
Model refers to input field FieldName, which is not found in the entity descriptor in the export file. Mapping rule "MappingRule" for entity...
Read more >
Update History: IBM Spectrum Protect Plus 10.1.x
APAR Fixed Level Abstract IT27112 10.1.3 VM SPRAWL REPORTS SHOW RED ERRORS IT28055 10.1.3 DOCUMENTATION NEEDS UPDATED INFORMATION ABOUT SMB
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found