Removed SSL check, added error dump