Fix bug with None value
Fix SSL
Debug logs