Skip to content

Important Update: Final Fix for "OS Error 10013" (Second Variation)

Latest

Choose a tag to compare

@Igloo-Garage Igloo-Garage released this 12 Mar 04:41
e207057

If you are still encountering os error 10013 while using YT-Smart-Assistant, please read this carefully. On Windows, this specific error code actually stems from two completely different causes:

1. The Previous Fix: Port Conflict
The Symptom: Another program was using port 6969, or the port was reserved by Windows Hyper-V.

The Solution: In V1.0.4, we fixed this by changing the default port to 36969 to avoid the "traffic jam."

2. The New Fix: Firewall/Security Software Blocking (Egress Interception) — [NEW]
The Symptom: Even when the port is open, the assistant fails with 10013, and the error log mentions a failed download from https://deno.land....
OS error 10013
The Cause: On the very first launch, Deno needs to fetch a few KB of core logic from its official repository. While your browser works and yt-dlp can download videos, your Firewall or Antivirus is forbidding the specific process deno.exe from connecting to the internet.

The Result: The script crashes during the "pre-loading" phase before it even gets a chance to start the local server.

The Solution: A True "Self-Contained Offline" Version
To solve the issue of the assistant crashing due to lack of internet permissions, I have rebuilt the server.bundle.js from scratch.

Full Dependency Injection: I used a specialized bundling process to "swallow" all the code that previously required an online download and baked it directly into this JS file.

Zero Remote Dependencies: The script no longer contains any remote links. Upon launch, Deno finds all necessary code locally and never touches your network card.

Firewall Immune: Since the script no longer attempts to "phone home," the firewall has nothing to block. The assistant will now launch instantly even in a completely offline environment.

🛠 How to Install
Download the new server.bundle.js.

Go to your software's folder.

Overwrite/Replace the existing file with this new version.

Restart using your .bat script.

Friendly Note:
If your assistant is currently working fine, you do not need this patch.
This is specifically for users who are stuck on the 10013 error because their firewall prevents the engine from initializing.

本次修复:防火墙/安全软件拦截 (Egress Blocking)
表现: 即使端口是空的,Deno 启动时依然报错 10013,且报错信息里提到了 https://deno.land... 下载失败。
病因: 当你第一次运行小助手时,Deno 需要从官网下载几 KB 的基础核心代码。虽然你的浏览器能上网,yt-dlp 也能下视频,但你的防火墙/杀毒软件禁止 deno.exe 这个特定程序连接互联网。
结果: 脚本还没运行到下载视频的那一步,就在“下载自身代码”的预加载阶段被系统拦截了。

🛠 使用方法
下载server.bundle.js。
进入软件文件夹。
覆盖 掉原有的同名文件。
重新运行 .bat 启动脚本。

友情提示: > 如果你的小助手目前运行正常,无需下载此补丁。
本补丁仅针对那些:即使端口没冲突,但依然被防火墙拦截导致无法启动的老哥们。