Wipy2.0 OSERROR:-1 using ssl and sockets
-
Hallo,
I'm using upushover lib for sending data to Pushoverserver.
The first time doing that everything works fine-the secondtime the oserror:-1 happens in this line:
s.connect(socket.getaddrinfo(PUSHOVER_HOST, PUSHOVER_PORT)[0][4])
I always close the socket after the sesonse is received and make a gc.collect() after every request.
Firmware on my wipy20 is 1.11.0.b1
It seems to be a major problem on this platform with socket,ssl and the combination of both so a solution has to be found!!
please help!
-
This is the main file where the Send Message function is called
line 239
This seems to be a memory problem.When I make a small program with a list of 10 long textstrings it works!?
Although gc.mem_free() gives a result of > 4000 on the bloated program?
-
Thank you for your instant response.

This is the function that is called from the main file.Error points to line 41!
-
@overlander said in Wipy2.0 OSERROR:-1 using ssl and sockets:
Pushoverserver
Hi,
Would it be possible for you to share your whole script so we can get a better idea of what is happening?