problem with downloading with yt-dlp, getting time out error - download

i tried to download from youtube with yt-dlp, and got an error:
i've made sure i have yt-dlp installed and i also removed and installed it again ,
sudo pacman -Qi yt-dlp
Version : 2021.12.27-1
and im using windscribe vpn too,
the error is:
yt-dlp -F https://www.youtube.com/watch\?v=-bt_y4Loofg  ✔
[youtube] -bt_y4Loofg: Downloading webpage
WARNING: [youtube] Unable to download webpage: <urlopen error timed out>
[youtube] -bt_y4Loofg: Downloading android player API JSON
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading android player API JSON (retry #1)
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading android player API JSON (retry #2)
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading android player API JSON (retry #3)
[youtube] -bt_y4Loofg: Downloading iframe API JS
WARNING: [youtube] Unable to download webpage: <urlopen error timed out>
[youtube] -bt_y4Loofg: Downloading web player API JSON
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading web player API JSON (retry #1)
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading web player API JSON (retry #2)
WARNING: [youtube] <urlopen error timed out>. Retrying ...
[youtube] -bt_y4Loofg: Downloading web player API JSON (retry #3)
WARNING: [youtube] Unable to download API page: <urlopen error timed out> (caused by URLError(TimeoutError('timed out')))
ERROR: [youtube] -bt_y4Loofg: Unable to download API page: <urlopen error timed out> (caused by URLError(TimeoutError('timed out'))) (caused by URLError(TimeoutError('timed out')))
and i also tried with vpn off, and with youtube-dl too and it still didn't work,
here's the youtube-dl error:
youtube-dl -F https://www.youtube.com/watch\?v=-bt_y4Loofg  1 ✘  31s 
[youtube] -bt_y4Loofg: Downloading webpage
WARNING: Unable to download webpage: <urlopen error [Errno 104] Connection reset by peer>
[youtube] -bt_y4Loofg: Downloading API JSON
ERROR: Unable to download API page: <urlopen error [Errno 104] Connection reset by peer> (caused by URLError(ConnectionResetError(104, 'Connection reset by peer')))
i tried both with the url between single quotations and dbl-quotations and also without quotations but special characters scaped, so url doesn't seem to be the problem
and neither yt-dlp nor youtube-dl are working, so that's something to note,
and when i debug it with -v :
yt-dlp -v https://www.youtube.com/watch\?v=-bt_y4Loofg  1 ✘
[debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=-bt_y4Loofg']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.10.1 (CPython 64bit) - Linux-5.15.16-1-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=-bt_y4Loofg
[youtube] -bt_y4Loofg: Downloading webpage
WARNING: [youtube] Unable to download webpage: <urlopen error [Errno 104] Connection reset by peer>
[youtube] -bt_y4Loofg: Downloading android player API JSON
WARNING: [youtube] <urlopen error [Errno 104] Connection reset by peer>. Retrying ...
[youtube] -bt_y4Loofg: Downloading android player API JSON (retry #1)
WARNING: [youtube] <urlopen error [Errno 104] Connection reset by peer>. Retrying ...
[youtube] -bt_y4Loofg: Downloading android player API JSON (retry #2)

Related

getting 'Error launching browser' while launching test from cypress

Error launching browser
usning- chrome 103 version
getting this error while launching tests from cypress- Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 50666.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:50666 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Stack trace

Cypress - unable to run cypress runner on chrome/Firefox but able to on edge on my work laptop

This is what I get in the stack trace from launching chrome: Cypress version is 7.3.:
Title: Error launching browser
Message: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 29079.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:29079
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Stack trace:
Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was [33m29079[39m.
Error details:
Error: connect ECONNREFUSED 127.0.0.1:29079
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
at get (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\errors.js:988:15)
at Object.throwErr [as throw] (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\errors.js:1006:9)
at C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\lib\browsers\protocol.js:106:21
at tryCatcher (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\promise.js:725:18)
at _drainQueueStep (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\giannia\AppData\Local\Cypress\Cache\7.3.0\Cypress\resources\app\packages\server\node_modules\bluebird\js\release\async.js:15:14)
at processImmediate (internal/timers.js:461:21)
I have spoken to the support team and they currently do not have any protocols in place that would block cypress from launching chrome. I have also looked at an earlier solution in stack overflow where you go into ext/files to comment out the localhost address but still to ano avail. Can anyone please help??

SSL Error while Connecting to Apple Sandbox for Receipt Validation

3 out of 4 connections fails while trying to validate the receipt using apple sandbox URL.Is anyone experiencing the same issue?
https://sandbox.itunes.apple.com/verifyReceipt
Connection 3: encountered error(3:-9816)
2020-04-03 20:30:18.834825+0530 App[6312:266644] Task <AD18FA15-D34F-4428-BD0A-107AAAAAF555>.<1> HTTP load failed, 0/0 bytes (error code: -1200 [3:-9816])
the upload task returned an error: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9816, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x600000cac660 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9816, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9816}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://sandbox.itunes.apple.com/verifyReceipt, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/verifyReceipt, _kCFStreamErrorDomainKey=3}

ICE failed for component 1 in stream

I have configured janus server for video call.
configured all setups and installed all dependencies as per the Docs
successfully established the connection but unable to stream the video. After starts the new session ICE failed error throws error logs as follows
JANUS WebSockets transport plugin initialized!
WebSockets thread started
Creating new session: 7153905178555544; 0x7fd244004c00
Creating new handle in session 7153905178555544: 7459090747208459; 0x7fd244004c00 0x7fd244005670
Creating new session: 8203604816882479; 0x7fd24400b8c0
Creating new handle in session 8203604816882479: 1196748959220562; 0x7fd24400b8c0 0x7fd244018910
Destroying session 8203604816882479; 0x7fd24400b8c0
Detaching handle from JANUS VideoRoom plugin; 0x7fd244018910 0x7fd24400b890 0x7fd244018910 0x7fd24401f760
[janus.plugin.videoroom-0x7fd24400b890] No WebRTC media anymore; 0x7fd244018910 0x7fd24401f760
[1196748959220562] Handle and related resources freed; 0x7fd244018910 0x7fd24400b8c0
[WSS-0x7fd244008340] Destroying WebSocket client
[7459090747208459] Creating ICE agent (ICE Lite mode, controlled)
[WARN] [7459090747208459] ICE failed for component 1 in stream 1, but let's give it some time... (trickle received, answer received, alert not set)
[ERR] [ice.c:janus_ice_check_failed:1692] [7459090747208459] ICE failed for component 1 in stream 1...
[janus.plugin.videoroom-0x7fd244001e60] No WebRTC media anymore; 0x7fd244005670 0x7fd244005fe0
[7459090747208459] WebRTC resources freed; 0x7fd244005670 0x7fd244004c00
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1239] Invalid url /ws/v1/cluster/apps/new-applicatio
You can speicfy stun/turn servers for icing in /opt/janus/etc/janus/janus.jcfg.
Also you should open ports for udp like 40000-65535

Timeouts when Uploading Cards to Facebook Messenger

Timeout when uploading HeroCard to the bot framework on messenger channel.
Error: connect ETIMEDOUT 40.121.91.199:443
at Object.exports._errnoException (util.js:1007:11)
at exports._exceptionWithHostPort (util.js:1030:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)
When uploading seeing this error as well
Error: Request to 'https://facebook.botframework.com/v3/conversations/1184220421
633853-1103485719738974/activities/mid.1470863624883%3Ae1dcd9f8a2c3d74b52' failed: [500] Internal Server Error`

Resources