The most common problem that shows this error is from malicious server but since the server is mine something else must be the problem.
I don't want to connect to another server but only to mine.
When i connect to my eps i can see the history of my transactions but when i try to send bitcoin i get this error.
edit: on the electrumpersonalserver.log i see this error created every 5 seconds
ERROR:2019-04-30 21:42:06,790: IOError: OSError(0, 'Error')
with different time each line.