[GH-ISSUE #93] ERROR 2 Failed to download CodecPack-x86_64-3.1.0-3005.spk! #34

Closed
opened 2026-03-12 19:02:33 +03:00 by kerem · 11 comments
Owner

Originally created by @cikheo on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/007revad/Video_Station_for_DSM_722/issues/93

DSM版本:DSM 7.3.2-86009

ERROR 2 Failed to download CodecPack-x86_64-3.1.0-3005.spk!

Image

Originally created by @cikheo on GitHub (Jan 6, 2026). Original GitHub issue: https://github.com/007revad/Video_Station_for_DSM_722/issues/93 DSM版本:DSM 7.3.2-86009 ERROR 2 Failed to download CodecPack-x86_64-3.1.0-3005.spk! ![Image](https://github.com/user-attachments/assets/e38e9d5b-f4f7-4ca3-b733-9c80637a7a21)
kerem closed this issue 2026-03-12 19:02:38 +03:00
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

Have you tried it again?

<!-- gh-comment-id:3716176422 --> @007revad commented on GitHub (Jan 6, 2026): Have you tried it again?
Author
Owner

@thierrybdt commented on GitHub (Jan 14, 2026):

Hello 007revad...
First of all let me thank you for the great job that you have done
After the last update of my RS819 (DMS7.3.2-86009) i have the same problem. I have tried many times unfortunately it doesn't work... i have the error "ERROR 2 Failed to download VideoStation-rtd1296-3.1.0-3153.spk!" ...

<!-- gh-comment-id:3750257249 --> @thierrybdt commented on GitHub (Jan 14, 2026): Hello 007revad... First of all let me thank you for the great job that you have done After the last update of my RS819 (DMS7.3.2-86009) i have the same problem. I have tried many times unfortunately it doesn't work... i have the error "ERROR 2 Failed to download VideoStation-rtd1296-3.1.0-3153.spk!" ...
Author
Owner

@cikheo commented on GitHub (Jan 15, 2026):

Have you tried it again?

The issue was an SSL connection problem encountered when downloading the CodecPack/VideoStation packages. I successfully installed them manually. Download links for:

  • CodecPack-x86_64-3.1.0-3005.spk (Synology official website):

https://global.download.synology.com/download/Package/spk/CodecPack/3.1.0-3005/CodecPack-x86_64-3.1.0-3005.spk

  • Download links for VideoStation-x86_64-3.1.0-3153.spk (Synology official website):

https://global.download.synology.com/download/Package/spk/VideoStation/3.1.0-3153/VideoStation-x86_64-3.1.0-3153.spk

  • Manual installation

sudo synopkg install /volume1/Others/CodecPack-x86_64-3.1.0-3005.spk

sudo synopkg install /volume1/Others/VideoStation-x86_64-3.1.0-3153.spk

  • Could you add a few alternative download sources to the script?

https://cndl.synology.cn/download
https://global.download.synology.com/download
https://archive.synology.com/download
https://mirror.synology.com/download

<!-- gh-comment-id:3753979822 --> @cikheo commented on GitHub (Jan 15, 2026): > Have you tried it again? The issue was an SSL connection problem encountered when downloading the CodecPack/VideoStation packages. I successfully installed them manually. Download links for: - CodecPack-x86_64-3.1.0-3005.spk (Synology official website): https://global.download.synology.com/download/Package/spk/CodecPack/3.1.0-3005/CodecPack-x86_64-3.1.0-3005.spk - Download links for VideoStation-x86_64-3.1.0-3153.spk (Synology official website): https://global.download.synology.com/download/Package/spk/VideoStation/3.1.0-3153/VideoStation-x86_64-3.1.0-3153.spk - Manual installation `sudo synopkg install /volume1/Others/CodecPack-x86_64-3.1.0-3005.spk` `sudo synopkg install /volume1/Others/VideoStation-x86_64-3.1.0-3153.spk` - Could you add a few alternative download sources to the script? `https://cndl.synology.cn/download` `https://global.download.synology.com/download` `https://archive.synology.com/download` `https://mirror.synology.com/download`
Author
Owner

@007revad commented on GitHub (Jan 15, 2026):

If the DSM language is set to chs or cht AND the timezone is set to China the script downloads the package from https://cndl.synology.cn/download/ so the script will work for anyone using the script in China behind China's firewall.

The links on https://archive.synology.com/download/ actually download from https://global.synologydownload.com/download/

https://mirror.synology.com/download/ gives me a mirror.synology.com’s server IP address could not be found error. But I suspect it would also download from https://global.synologydownload.com/download/

I thought maybe I could use http instead of https but when I go to http://archive.synology.com/download it gets redirected to https://archive.synology.com/download. And http://global.synologydownload.com/download gets redirected to httpw://global.synologydownload.com/download

I just tried entering the following URL into my browser address bar and sometimes it work and sometimes it doesn't
https://global.synologydownload.com/download/Package/spk/CodecPack/3.1.0-3005/CodecPack-x86_64-3.1.0-3005.spk

The issue seems to be that the Synology website is resetting the connection. I've noticed they do that if you use curl to download more than 1 file in a short period of time.

I might have to host the files somewhere where Synology cannot issue a takedown.

I believe I have found a solution, but I won't mention it here because Synology might read this and I don't want to make it easy for them to block it.

<!-- gh-comment-id:3756479995 --> @007revad commented on GitHub (Jan 15, 2026): If the DSM language is set to chs or cht AND the timezone is set to China the script downloads the package from https://cndl.synology.cn/download/ so the script will work for anyone using the script in China behind China's firewall. The links on https://archive.synology.com/download/ actually download from https://global.synologydownload.com/download/ https://mirror.synology.com/download/ gives me a `mirror.synology.com’s server IP address could not be found` error. But I suspect it would also download from https://global.synologydownload.com/download/ I thought maybe I could use http instead of https but when I go to http://archive.synology.com/download it gets redirected to https://archive.synology.com/download. And http://global.synologydownload.com/download gets redirected to httpw://global.synologydownload.com/download I just tried entering the following URL into my browser address bar and sometimes it work and sometimes it doesn't https://global.synologydownload.com/download/Package/spk/CodecPack/3.1.0-3005/CodecPack-x86_64-3.1.0-3005.spk The issue seems to be that the Synology website is resetting the connection. I've noticed they do that if you use curl to download more than 1 file in a short period of time. I might have to host the files somewhere where Synology cannot issue a takedown. I believe I have found a solution, but I won't mention it here because Synology might read this and I don't want to make it easy for them to block it.
Author
Owner

@007revad commented on GitHub (Jan 15, 2026):

Does anyone want to try v1.4.21

<!-- gh-comment-id:3756486410 --> @007revad commented on GitHub (Jan 15, 2026): Does anyone want to try [v1.4.21](https://github.com/007revad/Video_Station_for_DSM_722/releases/tag/v1.4.21)
Author
Owner

@thierrybdt commented on GitHub (Jan 15, 2026):

i have just tried it...
it's ok for the the media extension spk ... and not for the video station spk

<!-- gh-comment-id:3756584398 --> @thierrybdt commented on GitHub (Jan 15, 2026): i have just tried it... it's ok for the the media extension spk ... and not for the video station spk
Author
Owner

@007revad commented on GitHub (Jan 15, 2026):

Did it try to download video station multiple times before it showed the error?

<!-- gh-comment-id:3756597786 --> @007revad commented on GitHub (Jan 15, 2026): Did it try to download video station multiple times before it showed the error?
Author
Owner

@thierrybdt commented on GitHub (Jan 15, 2026):

yes .. 5 times

<!-- gh-comment-id:3756612970 --> @thierrybdt commented on GitHub (Jan 15, 2026): yes .. 5 times
Author
Owner

@007revad commented on GitHub (Jan 15, 2026):

Okay. I'll go with plan B.

<!-- gh-comment-id:3756627955 --> @007revad commented on GitHub (Jan 15, 2026): Okay. I'll go with plan B.
Author
Owner

@cikheo commented on GitHub (Jan 17, 2026):

Okay. I'll go with plan B.

It's great to see you updated the script!

I just successfully installed it using script v1.4.21.

This issue can be closed now.

<!-- gh-comment-id:3762916338 --> @cikheo commented on GitHub (Jan 17, 2026): > Okay. I'll go with plan B. It's great to see you updated the script! I just successfully installed it using script v1.4.21. This issue can be closed now.
Author
Owner

@thierrybdt commented on GitHub (Jan 17, 2026):

I have just tried it one more time.. and it's work... thank you very much

<!-- gh-comment-id:3763516165 --> @thierrybdt commented on GitHub (Jan 17, 2026): I have just tried it one more time.. and it's work... thank you very much
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Video_Station_for_DSM_722#34
No description provided.