Author

Topic: Electrum 4.0.2 keeps Synchronizing (Read 199 times)

HCP
legendary
Activity: 2086
Merit: 4361
July 23, 2020, 08:58:11 PM
#11
Can confirm... I had a similar issue until I updated to Electrs 0.8.5... it was the "fee return" error patched here: https://github.com/romanz/electrs/commit/e55381fa6643661c0dad2c454415ed997084a13d

Without it, the client just keeps disconnecting/reconnecting. Once you update and restart electrs, it should start working properly again. Wink
newbie
Activity: 6
Merit: 0
July 20, 2020, 11:54:03 PM
#10
Thanks! I'll try that.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
July 20, 2020, 08:13:08 PM
#9
Seems to be an issue with your server not returning the fees. This was an issue that was reported a few days prior.

You need to update your Electrs to 0.8.5. The newest update fixed this, as specified in their changelog.
newbie
Activity: 6
Merit: 0
July 20, 2020, 07:50:19 PM
#8
oops this is the complete error section from the log:

20200721T003507.793687Z |   ERROR | interface.[localhost:50001] | Exception in wrapper_func: RequestCorrupted("required field 'fee' missing from dict")
Traceback (most recent call last):
  File "/home/go/.local/lib/python3.8/site-packages/electrum/util.py", line 1037, in wrapper
   return await func(*args, **kwargs)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 466, in wrapper_func
   return await func(self, *args, **kwargs)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 490, in run
   await self.open_session(ssl_context)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 630, in open_session
   await group.spawn(self.monitor_connection)
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 242, in __aexit__
   await self.join()
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 211, in join
   raise task.exception()
  File "/home/go/.local/lib/python3.8/site-packages/electrum/synchronizer.py", line 82, in _start_tasks
   await group.spawn(self.main())
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 242, in __aexit__
   await self.join()
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 211, in join
   raise task.exception()
  File "/home/go/.local/lib/python3.8/site-packages/electrum/synchronizer.py", line 171, in _on_address_status
   result = await self.interface.get_history_for_scripthash(h)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 922, in get_history_for_scripthash
   assert_dict_contains_field(tx_item, field_name='fee')
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 118, in assert_dict_contains_field
   raise RequestCorrupted(f'required field {field_name!r} missing from dict')
electrum.interface.RequestCorrupted: required field 'fee' missing from dict
newbie
Activity: 6
Merit: 0
July 20, 2020, 07:40:27 PM
#7
The console shows an endless:

  Welcome to electrs 0.8.3 (Electrum Rust Server)!
  /Satoshi:0.20.0
  >>
The moment that you've seen a server message means that you've just connected to that server.
It's displaying that message in repeat because you've been connecting to and disconnecting from that server again and again.

There's probably something in your client that keeps booting you out of the server.

Your logs (%appdata%/electrum/logs) should provide sufficient info about the issue (Enable in: Tools->Preference->Write log to file).


I'll look at the logs as soon as I am back home. Thanks.
The weird thing is that it was working perfectly before the Electrum 4.0.2 update and just after until I broadcast the first transaction (moved a specific coinjoined coin to HW)

So here is the error logged, the rest look fine to me:

20200721T003507.793687Z |   ERROR | interface.[localhost:50001] | Exception in wrapper_func: RequestCorrupted("required field 'fee' missing from dict")
Traceback (most recent call last):
  File "/home/go/.local/lib/python3.8/site-packages/electrum/util.py", line 1037, in wrapper
   return await func(*args, **kwargs)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 466, in wrapper_func
   return await func(self, *args, **kwargs)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 490, in run
   await self.open_session(ssl_context)
  File "/home/go/.local/lib/python3.8/site-packages/electrum/interface.py", line 630, in open_session
   await group.spawn(self.monitor_connection)
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 242, in __aexit__
   await self.join()
  File "/home/go/.local/lib/python3.8/site-packages/aiorpcx/curio.py", line 211, in join
   raise task.exception()
  File "/home/go/.local/lib/python3.8/site-packages/electrum/synchronizer.py", line 82, in _start_tasks
   await group.spawn(self.main())
newbie
Activity: 6
Merit: 0
July 20, 2020, 07:19:54 PM
#6
The console shows an endless:

  Welcome to electrs 0.8.3 (Electrum Rust Server)!
  /Satoshi:0.20.0
  >>
The moment that you've seen a server message means that you've just connected to that server.
It's displaying that message in repeat because you've been connecting to and disconnecting from that server again and again.

There's probably something in your client that keeps booting you out of the server.

Your logs (%appdata%/electrum/logs) should provide sufficient info about the issue (Enable in: Tools->Preference->Write log to file).


I'll look at the logs as soon as I am back home. Thanks.
The weird thing is that it was working perfectly before the Electrum 4.0.2 update and just after until I broadcast the first transaction (moved a specific coinjoined coin to HW)
newbie
Activity: 6
Merit: 0
July 20, 2020, 12:18:31 PM
#5
Are you running your own server? What happens with the previous version of Electrum? Does it connect flawlessly to that server?

Yes I am running Electrs and until the update it worked perfectly.
It still connects and it seems it is synchronizing but after reaching the  314/314 it starts all over again...

legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
July 20, 2020, 01:22:45 AM
#4
The console shows an endless:

  Welcome to electrs 0.8.3 (Electrum Rust Server)!
  /Satoshi:0.20.0
  >>
The moment that you've seen a server message means that you've just connected to that server.
It's displaying that message in repeat because you've been connecting to and disconnecting from that server again and again.

There's probably something in your client that keeps booting you out of the server.

Your logs (%appdata%/electrum/logs) should provide sufficient info about the issue (Enable in: Tools->Preference->Write log to file).
legendary
Activity: 2170
Merit: 1789
July 20, 2020, 12:40:43 AM
#3
Are you running your own server? What happens with the previous version of Electrum? Does it connect flawlessly to that server?
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
July 20, 2020, 12:16:30 AM
#2
Try changing servers?

Click the bottom right bubble, uncheck select server automatically and right click a server and click use as server.
newbie
Activity: 6
Merit: 0
July 19, 2020, 10:59:52 PM
#1
Hi!
I just updated to Electrum 4.0.2 on Ubuntu connected to Electrs 0.8.3.

After broadcasting correctly a transaction from an imported Wasabi Wallet, it gets stuck in an endless loop "Synchronizing... (n/314)" over and over.

The console shows an endless:

  Welcome to electrs 0.8.3 (Electrum Rust Server)!
  /Satoshi:0.20.0
  >>

I had no problems before the update and nothing else changed but Electrum.

Any idea?

Thanks!!!

Jump to: