Bitcoin Forum
May 14, 2024, 06:10:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: error: {u'message': u'TX rejected', u'code': -22}  (Read 2900 times)
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
October 07, 2013, 12:00:01 PM
 #1

what does this error mean?
error: {u'message': u'TX rejected', u'code': -22}

I get it on 1.7.3

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715667019
Hero Member
*
Offline Offline

Posts: 1715667019

View Profile Personal Message (Offline)

Ignore
1715667019
Reply with quote  #2

1715667019
Report to moderator
1715667019
Hero Member
*
Offline Offline

Posts: 1715667019

View Profile Personal Message (Offline)

Ignore
1715667019
Reply with quote  #2

1715667019
Report to moderator
1715667019
Hero Member
*
Offline Offline

Posts: 1715667019

View Profile Personal Message (Offline)

Ignore
1715667019
Reply with quote  #2

1715667019
Report to moderator
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
October 07, 2013, 03:46:36 PM
 #2

probably because you are trying to spend freshly mined coins?
https://github.com/spesmilo/electrum/issues/252

Electrum: the convenience of a web wallet, without the risks
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
October 07, 2013, 05:24:33 PM
 #3

If not the case above ^ , Set a proper fee and try again.

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
jubalix (OP)
Legendary
*
Offline Offline

Activity: 2618
Merit: 1022


View Profile WWW
October 08, 2013, 12:43:44 PM
 #4

thanks...some sort of weird fee error

I left enough on the address to pay for the fee and tried to clear the rest...no dice...gives that error.



Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
October 08, 2013, 04:31:36 PM
 #5

note: the issue with freshly mined coins has been fixed yesterday:
https://github.com/spesmilo/electrum/issues/252

Electrum: the convenience of a web wallet, without the risks
Molex1701
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
October 16, 2013, 08:03:28 AM
 #6

Hello
  I'm on 1.8.1 and been getting the same error last couple of days.  Coins have 300+ confirmations and been able to send with less before. I've tried different servers, different times of day.
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
October 16, 2013, 10:33:44 AM
 #7

How high are your fees?

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
Molex1701
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
October 16, 2013, 11:05:00 AM
 #8

0.0005. I have 0.01661585 in my wallet. I was trying to send 0.0161 but it wouldn't let me. When I tried to send 0.0160 it worked.  Can't we empty our wallet? 
Thanks
 
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
October 16, 2013, 12:36:23 PM
 #9

0.0005. I have 0.01661585 in my wallet. I was trying to send 0.0161 but it wouldn't let me. When I tried to send 0.0160 it worked.  Can't we empty our wallet?  
Thanks
 

Try using the short-cut key (!) when setting the amount to send. Maybe the fee is not well calculated yet in 1.8.1

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
October 16, 2013, 03:37:12 PM
 #10

I'm guessing it were all small inputs and the transaction size became very large resulting in a higher required fee. 

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
btcbot
Full Member
***
Offline Offline

Activity: 151
Merit: 105



View Profile
October 23, 2013, 10:57:58 AM
 #11

I've been having a problem with a completely missing transaction visible only (and from where I sent it) in the blockchain with 11+ confirmations.  It's been 3 hours and I've switched servers 10 times or more.  I just solved it.  And I'd done it before the same way.  

I sent, myself a .1BTC from another hot wallet.  It threw the 'TX rejected' error.  I tried this 3 times.  Finally, I increased the send to a 1.1BTC (same default .0005 transaction fee every time) and it threw the error.  Finally, I changed the server to electrum.be and it went through and more interestingly, my other missing transaction was flushed out, too!   Cool

All is well, but that reminded me that I'd sent myself a few mBTC before to get a transaction before.  How would that even work?

EDIT: I guess I should read the server thread before I start drawing conclusions...   Cheesy

Don't tip me... tip the Riseup folks who protect activists around the world.
opentoe
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000

Personal text my ass....


View Profile WWW
October 25, 2013, 04:49:10 AM
 #12

Apparently this problem is back again. I've tried just about everything to clear my wallet out. I have multiple coins waiting for me to make a deposit some where else and this little .19 amount is holding me up as the BTC price drops as well.  I can't wait to find a more reliable bitcoin wallet. Everyone I have tried so far has so many bugs, errors it surprises the heck out of me.



Need help with your Newznab usenet indexer? http://www.newznabforums.com
atweiden
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
October 26, 2013, 12:40:31 AM
 #13

What is your operating system, and what version of electrum are you using?

Some things you can try (if not already tried):

- right-click on an address in the receive screen, prioritize it
- open/close wallet
- connect to a new server
- restore from seed
- increase the fee

If you've tried all of the above, but you're still receiving this error, you can manually create, sign and send raw transactions with the electrum CLI as follows (on Linux, experts only):

Code:
[live01@Archey ~]$ electrum -w wallet.dat listunspent
[
    {
        "address": "1AwViD7ewnVVrzt58ffQdheyTxMGhAshJ6",
        "index": 0,
        "raw_output_script": "76a9146d078f704c400f1840d02f4239ea8f40ce5a847488ac",
        "tx_hash": "cfed2aac04b2823a679d5d5956462b086ac8d47252d0a5506f9b8d5172d99f75",
        "value": "4"
    }
]

Code:
[live01@Archey ~]$ electrum -w wallet.dat createrawtransaction '[{"txid" : "cfed2aac04b2823a679d5d5956462b086ac8d47252d0a5506f9b8d5172d99f75","vout":0}]' '{"34PTJeM3gtGSk3fqAJ4iWcEsbip46cbDVw":0.001,"1MbbbLkwLUvP4hXiDLE1Ma42sz9T3J89TG":3.9988}'
{
    "complete": false,
    "hex": "0100000001759fd972518d9b6f50a5d05272d4c86a082b4656595d9d673a82b204ac2aedcf0000000000ffffffff02a08601000000000017a9141d9613bb16091ab2876c829e6bd5f56bed14b9ed8740afd517000000001976a914e1ed88cdd3ff3eead6ebffca4493465b44db983a88ac00000000",
    "input_info": "[{\"redeemScript\":null,\"signatures\":null,\"vout\":0,\"txid\":\"cfed2aac04b2823a679d5d5956462b086ac8d47252d0a5506f9b8d5172d99f75\",\"KeyID\":null,\"pubkeys\":null,\"scriptPubKey\":null}]"
}

Code:
[live01@Archey ~]$ electrum -w wallet.dat signrawtransaction '0100000001759fd972518d9b6f50a5d05272d4c86a082b4656595d9d673a82b204ac2aedcf0000000000ffffffff02a08601000000000017a9141d9613bb16091ab2876c829e6bd5f56bed14b9ed8740afd517000000001976a914e1ed88cdd3ff3eead6ebffca4493465b44db983a88ac00000000'
Password:
{
    "complete": true,
    "hex": "0100000001759fd972518d9b6f50a5d05272d4c86a082b4656595d9d673a82b204ac2aedcf000000008b483045022100a8065915b3ad1fa3e41db8d06cecdc11a938671369707e2ee390c1452eb930aa02202dde6b18a6c9f54497ef719784feb9e0a8cb5fc4007ac4f40c5dc73bb3cb6a130141045ce62c5a778c083f623e720e99e00e56235578d22c4b7cebec5c42d4cf86d1b8aa5af0f1f5846e899c98605cbad41a4161d200ce929db5e867977912c2415340ffffffff02a08601000000000017a9141d9613bb16091ab2876c829e6bd5f56bed14b9ed8740afd517000000001976a914e1ed88cdd3ff3eead6ebffca4493465b44db983a88ac00000000"
}

Code:
[live01@Archey ~]$ electrum -w wallet.dat sendrawtransaction 0100000001759fd972518d9b6f50a5d05272d4c86a082b4656595d9d673a82b204ac2aedcf000000008b483045022100a8065915b3ad1fa3e41db8d06cecdc11a938671369707e2ee390c1452eb930aa02202dde6b18a6c9f54497ef719784feb9e0a8cb5fc4007ac4f40c5dc73bb3cb6a130141045ce62c5a778c083f623e720e99e00e56235578d22c4b7cebec5c42d4cf86d1b8aa5af0f1f5846e899c98605cbad41a4161d200ce929db5e867977912c2415340ffffffff02a08601000000000017a9141d9613bb16091ab2876c829e6bd5f56bed14b9ed8740afd517000000001976a914e1ed88cdd3ff3eead6ebffca4493465b44db983a88ac00000000
Connected to electrum.pdmc.net:50002
"be96b4426ca9ecff46a45c90f2ffbd12af5ea42c590180d309a5958a1327fa50"

"{u'message': u'TX rejected', u'code': -22}" is an annoyance, but I've always been able to get around it by playing with the GUI. I've never had to resort to the CLI, except when guiding Macbookers through this process, as they can't seem to prioritize addresses from the GUI.
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
October 26, 2013, 02:20:44 AM
 #14

...except when guiding Macbookers through this process, as they can't seem to prioritize addresses from the GUI.

Maybe the Expert mode was unchecked?

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
opentoe
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000

Personal text my ass....


View Profile WWW
October 26, 2013, 10:59:02 PM
 #15

I was able to make that transaction today. The same one I couldn't yesterday. Needless to say I'm going back to the original bitcoin wallet or even take my chances at using an online one. I don't wan to know how to send coin 10 different ways if one way doesn't work. I just want it to work the way it is supposed to. There is only one more wallet for me to try anyway, so I may as well give it a shot.
Thanks

Need help with your Newznab usenet indexer? http://www.newznabforums.com
oldbushie
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
October 30, 2013, 08:07:05 PM
Last edit: October 30, 2013, 08:26:54 PM by oldbushie
 #16

I'm using p2pool, so I get newly minted coins. However, I keep running into the error mentioned in this thread when trying to send an amount that's well under the total matured coins in that wallet. The last time it happened, switching servers was enough to fix it, but this time, trying all suggestions from atweiden didn't work. I didn't try the manual option though. I'm on Windows 7 64-bit using Electrum 1.8.1, with the wallet.dat being set in the command line since I have two wallets.

btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
October 30, 2013, 10:55:07 PM
 #17

I'm using p2pool, so I get newly minted coins. However, I keep running into the error mentioned in this thread when trying to send an amount that's well under the total matured coins in that wallet. The last time it happened, switching servers was enough to fix it, but this time, trying all suggestions from atweiden didn't work. I didn't try the manual option though. I'm on Windows 7 64-bit using Electrum 1.8.1, with the wallet.dat being set in the command line since I have two wallets.

Why doesn't you miners, freeze the addresses that you use for the pools so this problem doesn't appear when sending from other addresses?

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
oldbushie
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
October 30, 2013, 11:33:14 PM
 #18

The problem is that this is a miner-only wallet. All the "income" from my miners goes to this wallet. I keep it separate from my main wallet so I only need to transfer the matured coins over to the main wallet once in a while.

I finally got a transaction through; maybe there were too many newly minted coin transactions (3 transactions) in my wallet at the time. Even though, like I said, I was sending well below the total of matured coins.

oldbushie
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
November 03, 2013, 08:08:46 PM
Last edit: November 03, 2013, 08:19:23 PM by oldbushie
 #19

Okay, this is getting ridiculous. I tried again today to move some BTC over and it wouldn't work. I thought all I had to do was wait for 120 confirmations? Or is there some other limitation that is not clearly documented for Electrum? I only have one recent transaction of newly minted coins and all the rest of my miner transactions are well over 120 confirmations. I have another transaction that's from less than 24 hours ago but it has 139 confirmations. Either way, sending the contents of my wallet minus those two transactions (and minus a bit more) is not working at all.

btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
November 03, 2013, 10:38:34 PM
 #20

minus?

Have you tried freezing the addresses that have receive newly mined coins?

I don't think Electrum can select +120 confirmations inputs over newly mined coins. You would need to manually create the transaction if you want to spend from addresses that carries unconfirmed inputs.

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!