SSL_ERROR_SSL(1): operation failed within the library
Deadlock I assume spotifyRequest will be called on the main thread. So if the main thread reaches the line group.wait() and this line of responseJSON completionHandler was not called yet: group.leave() then the main thread is blocked due to the call of group.wait() above. Due to the blocked main thread group.leave() can’t be called. Classical … Read more