Quoteupgrade to OpenPLi 6. SNI is not supported in 4
Well, this is not true, They merged SNI patch to OpenPLI 4 but there was bug in this patch. I fixed this bug someday later but they did not merge this fix.
This is why you had problem:
QuoteURLError: <urlopen error [Errno -2] Name or service not known>
Anyway glad to hear that your problem was finally fixed.