YouTubeKit icon indicating copy to clipboard operation
YouTubeKit copied to clipboard

remote mode

Open 666bsw opened this issue 1 year ago • 1 comments

Hello! When using remote mode, the following error often occurs:

Task <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14> finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=gir8BEqAutk, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=gir8BEqAutk, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalWebSocketTask <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <88DC4801-6F6D-42C9-A04B-B1F9A0098C1D>.<14>} Task <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15> finished with error [57] Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=nBZlrbrBO1I, NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=nBZlrbrBO1I, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalWebSocketTask <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <B5795580-51EA-4DF9-BE99-1886B8CE8D5B>.<15>}

666bsw avatar Feb 05 '24 08:02 666bsw

I currently don't properly return error messages from the remote server - it just closes connection. Will implement it later. But it basically means that extraction failed because the video is not available (in your country) or is banned.

alexeichhorn avatar Feb 05 '24 12:02 alexeichhorn