-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Transactions get stuck in "In queue: Future" state #8265
Comments
@bittylicious thanks a lot for the report. As advised on the chat, could you please upgrade to a newer Parity version (at least 1.9.5) and tell us if this happen again ? |
I've upgraded to 1.9.5 and the transaction has not been broadcast yet. Note that I cannot confirm that Parity still "knows" this transaction as I'm having trouble accessing the WebUI via a SSH tunnel (a separate problem). Is there perhaps a command to run via (say) the IPC or JSON interface to check the status of a transaction or the queue? |
The few transactions that were stuck appeared to be stuck for around 12-16 hours. However, they appeared to be broadcast after this huge delay for some reason. I have restarted the node with |
I can confirm this is still an issue with Parity 1.9.5 as another transaction just got stuck in the "In queue: Future" state. In fact, lots of them have gotten stuck: The first transaction that had an entry of
I'm not sure if the reorg there is a red herring or not, but it's at least an interesting coincidence. All subsequent transactions from this account got stuck also in the "In queue: future" state as well. Let me know if you want any other info from the debug log, or generally for help in trying to push these through. |
I have the same version on Parity v1.9.5-20180321 stable.
It happened because nonce was incremented, but transaction did not send |
The queue future means a nonce problem you're right @ValeryDubrava. |
This should not be closed. This is an issue. It may be a nonce issue, but the best guess is that Parity's nonce incrementor isn't working as it should be in these instances. When I'm using Parity, I never specify a nonce and I'm not aware of any transactions getting rejected, yet this happens. As shown in my log, possibly this has something to do with a reorg happening. |
@bittylicious New transaction pool implementation has been merged recently (see #8074) and it also contains re-worked nonce management. Please re-open if the issue happens again on |
That is good news! I can't test until this is stable but I look forward to that day. Thank you for the update. |
I confirm that I also have the same issue. I think what happened was that I was trying to transfer a token and ran out of gas. then I tried to do another transaction (eth or token transfer) and they all got stuck. --no-persistent-txqueue fixed it for me I'm running: Which Parity version?: 0.0.0 Which operating system?: Windows / MacOS / Linux How installed?: via installer / homebrew / binaries / from source Are you fully synchronized?: no / yes Which network are you connected to?: ethereum / ropsten / kovan / ... Did you try to restart the node?: no / yes |
@TinyCalf I'm not a Parity dev but I would be surprised if this is the problem. I strongly think it's nonce related, as usually when I get a transaction stuck in this state, if I edit/re-sign any transaction coming from the same account, it usually pushes the others though (this can only be done easily via Parity 0.8). To me, this implies that a nonce is getting skipped, and re-signing fills in the gap allowing the later transactions through. |
@bittylicious I am sorry that I get the nonce of a wrong address to get a wrong conclusion, after i get the correct nonce, it succeed. I met your problem before, so I get the nonce every time I send a transaction. Seems alright right now, but I'm still looking on it. |
same issue with 1.10.4. |
Hi, We're running the latest 1.11 right now. We're seeing similar issues where a transaction ID is generated, yet it isn't actually going into any blocks on the network. The node is well connected (16 connections), and this time we're not seeing it listed technically as pending in the TX queue viewer, but other than that, the symptoms are the same. Here are two log entries for transactions that never appeared to actually go out: Transaction 0x94864772c808c604fdfbbc1b404d24c782f1dc7c4263755b267c0a452baa9eee:
Transaction 0xd840a3720a83d5da6db096ac43af83d81f6459557e5f43154063826db9e59cf4:
Any ideas why this is happening? |
As discussed in the chat. Please open a dedicated issue if you can reproduce. Also have a look at the article about how the transaction queue works in Parity Ethereum |
@bittylicious check this issue - #9040 most likely you're experiencing something related to the nonce increment. Check your pending transaction's nonce on your node and check if there is a gap in nonce between the stuck ones and the one that has been mined last. |
@gituser I'm pretty sure these transactions don't appear in the pending transaction list. We have a script that emails us on the hour when there are pending tranactions that are more than ten minutes old. It didn't email us when these occurred, so they were fully dropped I believe and the nonce gap remained. |
I can confirm I still get this issue with the latest 2.1.10-stable. I don't have time to look at the logs right now, but I have a transaction again with a transaction ID yet it never appears to actually be broadcast. |
I'm running:
Parity/v1.8.11-stable-21522ff86-20180227/x86_64-linux-gnu/rustc1.23.0
Linux Debian 9
Official .deb
Yes
ethereum
Yes (not on this time, but it hasn't worked in the past)
Transactions are, for no reason that we can see, getting stuck in the "In queue: Future" state.
I have not been able to determine why this happens, but when it affects one Parity account, it causes all subsequent transactions from that one account to also be queued.
These transactions are sent in a very simple way via the API, which is not specifying any sort of nonce or gas price (just a maximum amount of gas to use).
In this instance, the account in question has plenty of Ether available, and is visible at https://etherscan.io/address/0x12dcb828854dbeb8252c681acb675715fcdb958d
The first transaction to get stuck has a txnid of 52e894f9febe93c2ae0cefe182ed8796bb9a832f32f7bc5276de51380411c125 but this isn't yet visible on etherscan. This, combined with the state, means it's very likely that the transaction hasn't attempted to be broadcast by my Parity node.
This has happened before, where (for no really understandable reason) depositing some extra Ether to the account we're sending from resulted in transactions being broadcast correctly and moved out of this state. However, I can't see any reason it should go into this state in the first place.
I am running Parity/v1.8.11-stable-21522ff86-20180227/x86_64-linux-gnu/rustc1.23.0 with debugging flags as "-lown_tx=trace"
The only relevant output I can see for this first transaction getting stuck is as follows:
Sadly, this doesn't seem to give much of a clue as to why this has gone into the "future" state.
The text was updated successfully, but these errors were encountered: