SkillNet icon indicating copy to clipboard operation
SkillNet copied to clipboard

Skillnet服务器挂了

Open zhongshijun opened this issue 5 months ago • 4 comments

你好!请问,skillnet服务器是不维护了吗?好像挂了好久了。 DNS 能解析:

api-skillnet.openkg.cn -> 121.41.117.246

但连接 443 直接被拒绝:

ConnectError('[WinError 10061] 由于目标计算机积极拒绝,无法连接。')

zhongshijun avatar Jun 30 '26 11:06 zhongshijun

您好 正在修复中

zxlzr avatar Jun 30 '26 11:06 zxlzr

您好,感谢反馈,也抱歉给您带来不便。

目前 SkillNet API 服务已经恢复,可以通过 HTTP 正常访问。当前暂时还没有开放 HTTPS/443 端口,因此使用 https://api-skillnet.openkg.cn 访问时会出现连接被拒绝的问题。我们近期会补充 HTTPS 访问支持。

目前请先使用 HTTP 方式访问,例如: curl "http://api-skillnet.openkg.cn/v1/search?q=test&mode=keyword&limit=1"

再次感谢您的反馈,我们会继续完善服务稳定性和 HTTPS 配置。

Icarus-Chen avatar Jun 30 '26 13:06 Icarus-Chen

好的。辛苦,谢谢!

谢谢! from 钟诗俊 ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2026年06月30日 21:22 | | 收件人 | zjunlp/SkillNet @.> | | 抄送人 | happlydata @.>, Author @.> | | 主题 | Re: [zjunlp/SkillNet] Skillnet服务器挂了 (Issue #29) | Icarus-Chen left a comment (zjunlp/SkillNet#29)

您好,感谢反馈,也抱歉给您带来不便。

目前 SkillNet API 服务已经恢复,可以通过 HTTP 正常访问。当前暂时还没有开放 HTTPS/443 端口,因此使用 https://api-skillnet.openkg.cn 访问时会出现连接被拒绝的问题。我们近期会补充 HTTPS 访问支持。

目前请先使用 HTTP 方式访问,例如: curl "http://api-skillnet.openkg.cn/v1/search?q=test&mode=keyword&limit=1"

再次感谢您的反馈,我们会继续完善服务稳定性和 HTTPS 配置。

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

zhongshijun avatar Jun 30 '26 13:06 zhongshijun

Confirming this is still reproducible as of 2026-09-25, so the promised HTTPS support doesn't get lost when this thread closes.

The 443 gap described above is unchanged. Measured today against the pinned revision b67c88a8:

$ curl -sS -o /dev/null -w 'http=%{http_code}\n' --max-time 20 \
    'http://api-skillnet.openkg.cn/v1/search?q=probe&mode=keyword&limit=1'
http=200

$ curl -sS -o /dev/null -w 'http=%{http_code}\n' --max-time 20 \
    'https://api-skillnet.openkg.cn/v1/search?q=probe&mode=keyword&limit=1'
http=000        # TLS/certificate failure — not a plain connection refusal

One small difference from the original report: this is not "port 443 refused" anymore, it's a TLS handshake / certificate verification failure (ssl_verify_result non-zero), so a client with verify=False would still fail. Worth knowing when you test the fix — the failure mode moved rather than resolved.

The SDK side is consistent with the server: core/config.py has DEFAULT_SEARCH_URL = "http://api-skillnet.openkg.cn", and _validate() accepts http and https identically for skillnet_api_url, so there is no way to require HTTPS from the client side today. Once the server terminates TLS properly, two small changes would close this out:

  1. flip DEFAULT_SEARCH_URL to https://
  2. optionally warn (or error) when a configured skillnet_api_url is plain http

Not filing a duplicate issue for it — this comment is the tracker. Happy to open a PR for either change once 443 is up, since they're two-line edits plus a test.

For context on why this matters beyond transport hygiene: search queries and result sets are what drive "should I install this skill" decisions, and the response has no license field, so an on-path observer choosing the result set is choosing which skills get recommended for install.

No urgency from my side — closing the loop here is enough. Thanks for picking this up originally.

ether-btc avatar Sep 25 '26 16:09 ether-btc