Bitcoin Forum
August 30, 2026, 09:08:55 AM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 [10]  All
  Print  
Author Topic: LoyceV's 0.1 sat/vbyte Electrum Server Adventure  (Read 2696 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
LoyceV (OP)
Legendary
*
Offline

Activity: 4144
Merit: 22563


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 18, 2026, 11:52:12 AM
Last edit: August 18, 2026, 02:38:51 PM by LoyceV
Merited by TheButterZone (2), joker_josue (2), ABCbits (1), promise444c5 (1)
 #181

Downtime Sad

While updating the certificate, I realized I'm still running Fulcrum-1.12.0 while Fulcrum-2.1.1 is available, so it's time to upgrade. That means backup up the database*, and converting it to a new format. I'll post here when it's running again.

*Due to time and disk space restrictions, I'm doing this without backup. If it fails, I'll have to recreate Fulcrum's database from scratch. Living on the edge Tongue

Done! electrum.loyce.club:50002 is back online!

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
LoyceV (OP)
Legendary
*
Offline

Activity: 4144
Merit: 22563


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 27, 2026, 06:13:45 PM
 #182

Downtime ahead:
Quote
Maintenance Window

Date: 28-08-2026
Start Time: 7:00 AM EST
End Time: 5:00 PM EST
Expected Downtime: Approximately 6 hours

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
TheButterZone
Legendary
*
Offline

Activity: 3248
Merit: 1104


RIP Mommy


View Profile WWW
August 27, 2026, 06:22:47 PM
 #183

Nevermind, it was probably the Tor Browser proxy

Before the downtime with your server, this has been happening a bunch, not sure if it'll be fixed when it's back up?

Code:
15071.63 | E | asyncio | Task exception was never retrieved
future: <Task finished name='Task-2271' coro=<Interface.get_estimatefee() done, defined at /Users/Username/electrum/electrum/interface.py:1135> exception=RequestTimedOut("request timed out: ('blockchain.estimatefee', [5]) (id: 206)")>
Traceback (most recent call last):
  File "/Users/Username/electrum/electrum/interface.py", line 169, in send_request
    response = await util.wait_for2(
               ^^^^^^^^^^^^^^^^^^^^^
        super().send_request(*args, **kwargs),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        timeout)
        ^^^^^^^^
  File "/Users/Username/electrum/electrum/util.py", line 1404, in wait_for2
    return await asyncio.wait_for(fut, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/tasks.py", line 488, in wait_for
    return await fut
           ^^^^^^^^^
  File "/Users/Username/Library/Python/3.14/lib/python/site-packages/aiorpcx/session.py", line 540, in send_request
    return await self._send_concurrent(message, future, 1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/Username/Library/Python/3.14/lib/python/site-packages/aiorpcx/session.py", line 511, in _send_concurrent
    async with timeout_after(self.sent_request_timeout):
               ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/Username/Library/Python/3.14/lib/python/site-packages/aiorpcx/curio.py", line 389, in __aexit__
    raise TaskTimeout(self._secs) from None
aiorpcx.curio.TaskTimeout: task timed out after 45s

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/Username/electrum/electrum/interface.py", line 1144, in get_estimatefee
    res = await self.session.send_request('blockchain.estimatefee', [num_blocks])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/Username/electrum/electrum/interface.py", line 174, in send_request
    raise RequestTimedOut(f'request timed out: {args} (id: {msg_id})') from e
electrum.interface.RequestTimedOut: Network request timed out.

So I asked Gemini Pro...

Is it worth telling the server owner?

Yes, a brief heads-up is worth sending.
Code:
blockchain.estimatefee
queries depend on the server querying its underlying
Code:
bitcoind
node via
Code:
estimatesmartfee
. When that times out after 45 seconds while basic header and balance queries work fine, it usually indicates a server-side node issue:

* Node Restart: If the
Code:
bitcoind
instance behind the server was recently restarted, its fee estimation algorithm loses mempool history and stalls or drops requests until enough blocks pass.
* RPC Thread Exhaustion: The Electrum server (Fulcrum or ElectrumX) might be hitting internal timeout or queue limits when forwarding fee calls to
Code:
bitcoind
under heavy traffic.



Would a newer Electrum version fix this?

The traceback wall would disappear, but the 45-second network timeout would still happen until the server resolves the underlying delay.

Here is why:

* In Electrum 4.5.8: Interface background tasks trigger
Code:
get_estimatefee
without explicit top-level exception suppression in the event loop. When a network request times out,
Code:
aiorpcx
raises a
Code:
TaskTimeout
that floats up as an unretrieved
Code:
asyncio
task exception, dumping the full stack trace to
Code:
stdout
.
* In Newer Electrum Versions: Task management and error logging were refactored. RPC network timeouts are caught gracefully within the session layer, converting the crash wall into a clean, single-line debug log entry while falling back to local static fee estimates.

Applying your
Code:
try...except
patch gives your 4.5.8 installation the exact same resilience that newer Electrum versions have, cleanly swallowing server-side RPC timeouts without interrupting your terminal.

LoyceV (OP)
Legendary
*
Offline

Activity: 4144
Merit: 22563


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 29, 2026, 05:33:32 AM
Last edit: August 29, 2026, 08:29:06 AM by LoyceV
 #184

Downtime ahead:
Quote
Maintenance Window

Date: 28-08-2026
Start Time: 7:00 AM EST
End Time: 5:00 PM EST
Expected Downtime: Approximately 6 hours
The Maintenance Window ended 8.5 hours ago, but the server is still offline. I've opened a ticket, no idea what happened.

Update: it's back!

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
Real-Duke
Legendary
*
Offline

Activity: 4214
Merit: 3937



View Profile
August 29, 2026, 08:42:52 AM
 #185

Update: it's back!

Just tested -> works again! Cool

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits..

















































  PLAY NOW  

The Avatar:


https://i.bitlist.co/5hm3yn5b6VIk.png


Code:

@Mia Chloe
@JollyGood
@SFR10
@nc50lc
@Lucius
@babo
@Cricktor
@ABCBits
@shasan
@fillippone
@d5000
@Ambatman
@hafiztalha
@Etranger
@Forsyth Jones
@Cookdata
@Zwei
@taufik123
@m2017
@Adbitco
@AakZaki
@goldkingcoiner
@Real-Duke
@lovesmayfamilis
@hosemary
@CLS63
@famososMuertos
@JeromeTash
@promise444c5
@katanic97
@xzone
@Ale88
@Trofo
@Upgrade00
@darxiaomi
@_act_
@GeorgeJohn
@alegotardo
@Lillominato89
@Vod

   View ArchiveReport to moderator
Pages: « 1 2 3 4 5 6 7 8 9 [10]  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!