bytelang / kplayer-go

A live streaming tool more suitable for non-graphical servers
https://kplayer.net
Apache License 2.0
756 stars 72 forks source link

报错:context deadline exceeded (Client.Timeout exceeded while awaiting headers) #54

Open KillLinux opened 1 year ago

KillLinux commented 1 year ago

[root@localhost kplayer]# ./kplayer play start kplayer for golang v0.5.7 Copyright(c) 2019-2022 the ByteLang Studio (https://kplayer.bytelang.cn) libkplayer version: v1.5.2 plugin version: 1.5.1 license version: v1 toolchains GNU(10.3.1) C++ Standard 17 on Linux-x86_64-5.18.14-arch1-1 build with build-chains cmake(3.21.3) type with Release Hope you have a good experience.

FATA[2022-12-22 00:10:07] Get "https://v2api.kplayer.bytelang.cn:443/v1/resource/info?type=font&name=default&": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

KillLinux commented 1 year ago

直接访问该地址提示SSL证书无效,报错400,去掉https前缀访问报403

vaptu commented 1 year ago

https://github.com/bytelang/kplayer-go/issues/29#issuecomment-1174647526

使用这个issue中的方法检查一下服务器与api是不是可以正常通行