-
Notifications
You must be signed in to change notification settings - Fork 23
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
No pending funding transaction found! #1205
Comments
I think @luckysori suggestion to generally setup an async task that is regularly checking if fees have to be paid may be the less failure prune approach here. |
Maybe as well fixed, when running our own esplora instance. |
I assume the problem was that we checked too fast for the transaction. It was eventually confirmed. I wonder if we should bother with this or try to build out the proper LSP flow #843? |
Unasigning myself again. I believe this requires a different fix than just using our self-hosted esplora instance.
|
The broadcast should have happened over the same esplora endpoint and it was definitely broadcasted before we make the query. Why do you think that we checked too fast? Shouldn't we also be able to fetch unconfirmed transactions? |
Exactly, the broadcasting worked so it should have picked up the tx from the mempool. My assumption is thought that there was a race between broadcasting and querying for the transaction. For the log above, do you have the timestamp it was printed? I have the same error and it's dangerously close together: in the coordinator
in the app:
The difference in time is about 300ms. It can very much be that we tried to fetch before blockstream.info was done processing the other request and did not find the transaction yet. |
My guess is that we run into a 429 too many requests error. But we should probably log the response we are getting to be sure. |
I don't think so, we would have seen this in the log as shown here: #658 (comment) |
I don't think, so look at the error Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) } The response couldn't be parsed. We do not check if the http request was actually successful. My guess is that if we would check that we would have seen a 429 error. |
Well, I guess we won't be able to determine who is right or wrong because in both cases a response is returned which cannot be parsed into JSON. In case of 429 we get:
in case of 404 (tx not found), we get
So let's just hope this was fixed in #1236 or when using our own esplora instance :) p.s. I wrote a little client and bombarded them with requests... now I believe they blacklisted me forever 😅
|
I just opened a new JIT channel on mainnet and did not pay JIT channel opening fees, because the transaction could not be found upon the channel ready event.
The following error happened when trying to register the funding transaction to get payed.
This results in no funding transaction getting registered and thus when trying to pay for it, it fails because we do not know how much fees we have to pay.
The text was updated successfully, but these errors were encountered: