aclap-dev / vdhcoapp

Companion application for Video DownloadHelper browser add-on
GNU General Public License v2.0
1.8k stars 290 forks source link

[Proxy issue] GrabInfo: Cannot get info from #209

Open Tobolov opened 9 months ago

Tobolov commented 9 months ago

Error occurs when trying to download any HLS stream from the following page: https://learning.kaltura.com/media/How%20to%20Install%20the%20Kaltura%20Capture%20Application/0_ubn133m8

I suspect this is cause by vdhcoapp failing to identify the system proxy settings and use them when making the HTTP request. I have searched around the existing issues and documentation and cannot seem to find any way to manually define proxy settings for vdhcoapp to use.

Results of vdhcoapp --info:

{
  "id": "net.downloadhelper.coapp",
  "name": "VdhCoApp",
  "version": "2.0.10",
  "binary": "/home/redacted/vdhcoapp-2.0.10/vdhcoapp",
  "displayName": "VdhCoApp",
  "description": "Video DownloadHelper companion app",
  "target": {
    "os": "linux",
    "arch": "x86_64",
    "node": "18"
  },
  "home": "/home/redacted",
  "converterBinary": "/home/redacted/vdhcoapp-2.0.10/ffmpeg",
  "converterBase": "ffmpeg",
  "converterBaseVersion": "6.0"
}

Error:

GrabInfo: Cannot get info from https://cfvod.kaltura.com/scf/hls/p/2249861/sp/224986100/serveFlavor/entryId/0_ubn133m8/v/2/ev/13/flavorId/0_l2yzgeq4/name/a.mp4/index.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZnZvZC5rYWx0dXJhLmNvbS9zY2YvaGxzL3AvMjI0OTg2MS9zcC8yMjQ5ODYxMDAvc2VydmVGbGF2b3IvZW50cnlJZC8wX3VibjEzM204L3YvMi9ldi8xMyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDcyNzU2Nzd9fX1dfQ__&Signature=aYM5E7XH1SCtEZv3ZUVA89CT7hrC5V4N-RsQBrTUm9WeBEEiOr~KR6hEiouGssyYGvQyDSjNw5r1cSqtkXsRa5dkuJWbxn8nbvM1cwCEK3J50IeDRmcbTsXE~xmnMMYXwnUWr79ix~ctNPmBJUumj8pAiEzt5NvHFM~4Ynt6EeU10F0ycWwxI9x~sDw-hb3HF0krQX85yHTTrkJHcHwv1LYvhM9rrHKpFuLHqKUzQEG3qv-ALqhQ1ytxpVdkj2ImTdan8hjW4BCz1SBfBVPCDldQyI~djauQ-U7epKtq5zwQxR7uYynBp611hi02jEqb8Vztt9wUdhkoDvtfmJGUxA__&Key-Pair-Id=APKAJT6QIWSKVYK3V34A:Exit code: 1 ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers built with gcc 10 (GCC) configuration: --extra-libs=' -lm -lpthread' --extra-ldflags= --extra-ldexeflags= --pkg-config-flags=--static --disable-autodetect --prefix=/ffmpeg-static/dist/linux/x86_64//ffmpeg --enable-version3 --pkg-config=pkg-config --enable-runtime-cpudetect --enable-pthreads --disable-w32threads --enable-libtheora --enable-libvpx --enable-libvorbis --disable-indev=sndio --disable-outdev=sndio --enable-neon --enable-libopenjpeg --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-openssl --enable-libvo-amrwbenc --enable-libopus --enable-libx264 --enable-libx265 --enable-libaom --enable-libwebp --enable-libxvid --enable-libmp3lame --enable-zlib --enable-ffprobe --enable-pic --disable-doc libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 [tcp @ 0x52e9b00] Connection to tcp://cfvod.kaltura.com:443 failed: Network is unreachable https://cfvod.kaltura.com/scf/hls/p/2249861/sp/224986100/serveFlavor/entryId/0_ubn133m8/v/2/ev/13/flavorId/0_l2yzgeq4/name/a.mp4/index.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZnZvZC5rYWx0dXJhLmNvbS9zY2YvaGxzL3AvMjI0OTg2MS9zcC8yMjQ5ODYxMDAvc2VydmVGbGF2b3IvZW50cnlJZC8wX3VibjEzM204L3YvMi9ldi8xMyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDcyNzU2Nzd9fX1dfQ__&Signature=aYM5E7XH1SCtEZv3ZUVA89CT7hrC5V4N-RsQBrTUm9WeBEEiOr~KR6hEiouGssyYGvQyDSjNw5r1cSqtkXsRa5dkuJWbxn8nbvM1cwCEK3J50IeDRmcbTsXE~xmnMMYXwnUWr79ix~ctNPmBJUumj8pAiEzt5NvHFM~4Ynt6EeU10F0ycWwxI9x~sDw-hb3HF0krQX85yHTTrkJHcHwv1LYvhM9rrHKpFuLHqKUzQEG3qv-ALqhQ1ytxpVdkj2ImTdan8hjW4BCz1SBfBVPCDldQyI~djauQ-U7epKtq5zwQxR7uYynBp611hi02jEqb8Vztt9wUdhkoDvtfmJGUxA__&Key-Pair-Id=APKAJT6QIWSKVYK3V34A: Network is unreachable
Error: GrabInfo: Cannot get info from https://cfvod.kaltura.com/scf/hls/p/2249861/sp/224986100/serveFlavor/entryId/0_ubn133m8/v/2/ev/13/flavorId/0_l2yzgeq4/name/a.mp4/index.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZnZvZC5rYWx0dXJhLmNvbS9zY2YvaGxzL3AvMjI0OTg2MS9zcC8yMjQ5ODYxMDAvc2VydmVGbGF2b3IvZW50cnlJZC8wX3VibjEzM204L3YvMi9ldi8xMyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDcyNzU2Nzd9fX1dfQ__&Signature=aYM5E7XH1SCtEZv3ZUVA89CT7hrC5V4N-RsQBrTUm9WeBEEiOr~KR6hEiouGssyYGvQyDSjNw5r1cSqtkXsRa5dkuJWbxn8nbvM1cwCEK3J50IeDRmcbTsXE~xmnMMYXwnUWr79ix~ctNPmBJUumj8pAiEzt5NvHFM~4Ynt6EeU10F0ycWwxI9x~sDw-hb3HF0krQX85yHTTrkJHcHwv1LYvhM9rrHKpFuLHqKUzQEG3qv-ALqhQ1ytxpVdkj2ImTdan8hjW4BCz1SBfBVPCDldQyI~djauQ-U7epKtq5zwQxR7uYynBp611hi02jEqb8Vztt9wUdhkoDvtfmJGUxA__&Key-Pair-Id=APKAJT6QIWSKVYK3V34A:Exit code: 1
ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 10 (GCC)
  configuration: --extra-libs=' -lm -lpthread' --extra-ldflags= --extra-ldexeflags= --pkg-config-flags=--static --disable-autodetect --prefix=/ffmpeg-static/dist/linux/x86_64//ffmpeg --enable-version3 --pkg-config=pkg-config --enable-runtime-cpudetect --enable-pthreads --disable-w32threads --enable-libtheora --enable-libvpx --enable-libvorbis --disable-indev=sndio --disable-outdev=sndio --enable-neon --enable-libopenjpeg --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-openssl --enable-libvo-amrwbenc --enable-libopus --enable-libx264 --enable-libx265 --enable-libaom --enable-libwebp --enable-libxvid --enable-libmp3lame --enable-zlib --enable-ffprobe --enable-pic --disable-doc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[tcp @ 0x52e9b00] Connection to tcp://cfvod.kaltura.com:443 failed: Network is unreachable
https://cfvod.kaltura.com/scf/hls/p/2249861/sp/224986100/serveFlavor/entryId/0_ubn133m8/v/2/ev/13/flavorId/0_l2yzgeq4/name/a.mp4/index.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZnZvZC5rYWx0dXJhLmNvbS9zY2YvaGxzL3AvMjI0OTg2MS9zcC8yMjQ5ODYxMDAvc2VydmVGbGF2b3IvZW50cnlJZC8wX3VibjEzM204L3YvMi9ldi8xMyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDcyNzU2Nzd9fX1dfQ__&Signature=aYM5E7XH1SCtEZv3ZUVA89CT7hrC5V4N-RsQBrTUm9WeBEEiOr~KR6hEiouGssyYGvQyDSjNw5r1cSqtkXsRa5dkuJWbxn8nbvM1cwCEK3J50IeDRmcbTsXE~xmnMMYXwnUWr79ix~ctNPmBJUumj8pAiEzt5NvHFM~4Ynt6EeU10F0ycWwxI9x~sDw-hb3HF0krQX85yHTTrkJHcHwv1LYvhM9rrHKpFuLHqKUzQEG3qv-ALqhQ1ytxpVdkj2ImTdan8hjW4BCz1SBfBVPCDldQyI~djauQ-U7epKtq5zwQxR7uYynBp611hi02jEqb8Vztt9wUdhkoDvtfmJGUxA__&Key-Pair-Id=APKAJT6QIWSKVYK3V34A: Network is unreachable

    at chrome-extension://lmjnegcaeklhafolokijcfjliaokphfk/background/main.js:31:88544
paulrouget commented 9 months ago

You confirm it's a proxy and not a VPN that you're using, correct?

Tobolov commented 9 months ago

No VPN, browser or system, was in use. No VPN browser plugins installed. I do occasionally use the openconnect VPN client on the system.

Tobolov commented 9 months ago

The reason for the proxy is my office's network blocks all HTTP(s) traffic which doesn't route through the corporate proxy.

paulrouget commented 9 months ago

At the moment, proxy are not supported. Sorry.

Tobolov commented 9 months ago

Is support for proxies on the development roadmap?

paulrouget commented 9 months ago

Is support for proxies on the development roadmap?

Yep, I'll looked at it. I think that's doable. In my todolist for 8.3 :)

avlubimov commented 2 months ago

просто используйте proxychains-ng