Giter VIP home page Giter VIP logo

Comments (15)

orzogc avatar orzogc commented on June 12, 2024

你用的是哪个版本的代码?这个问题今天才出现的吗?

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

你用的是哪个版本的代码?这个问题今天才出现的吗?

昨天更新到0.5.1后出现

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

我这里没有问题,你编译最新的代码试试,或者检查网络连接是否正常

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

我这里没有问题,你编译最新的代码试试,或者检查网络连接是否正常

用最新的代码编译运行还是报上面的错,用0.5.0的代码编译报:

2021/04/15 21:33:09 登陆AcFun帐号出现错误:login() error: doRequest() error: x509: certificate is valid for *.kwd.inkuai.com, kwd.inkuai.com, not sec-cdn.gifshow.com

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

我这里没有问题,应该是你那边的问题
我再研究一下

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

你再编译最新的代码试试

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

你再编译最新的代码试试

好的,晚点我再试试

from acfunlive.

bitest avatar bitest commented on June 12, 2024

我之前编译的arm版录不了像,但是可能是环境的问题,后来我换成docker运行就正常了,你也可以试试

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

我之前编译的arm版录不了像,但是可能是环境的问题,后来我换成docker运行就正常了,你也可以试试

嗯,晚点我试试

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

你再编译最新的代码试试

最新的代码编译报错,依赖问题

make
go get -d github.com/orzogc/acfunlive
cd acfunlive-ui && yarn install
yarn install v1.22.5
[1/4] Resolving packages...
success Already up-to-date.
Done in 2.51s.
mkdir -p bin
CGO_ENABLED=0 go build -o bin
# github.com/Mrs4s/MiraiGo/utils
/root/go/pkg/mod/github.com/!mrs4s/!mirai![email protected]/utils/http.go:28:9: undefined: io.ReadAll
make: *** [Makefile:29:build-go-cli] 错误 2

把依赖改回上个commit编译成功,但依旧报错

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

你用最新的go 1.16.3编译试试

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

你用最新的go 1.16.3编译试试

go version go1.16.3 linux/arm

运行报错:

2021/04/16 20:17:32 开始在小缸和阿灿(12610197)的直播间挂机
2021/04/16 20:17:32 开始在张梓义(2889712)的直播间挂机
2021/04/16 20:17:32 开始在qyqx(378269)的直播间挂机
2021/04/16 20:17:32 开始在樱桃在不在(17062172)的直播间挂机
2021/04/16 20:17:32 开始在一千万个蛋壳君(716009)的直播间挂机
2021/04/16 20:17:32 Recovering from panic in wsStart(), the error is:  unaligned 64-bit atomic operation
2021/04/16 20:17:32 停止获取弹幕
panic: unaligned 64-bit atomic operation [recovered]
	panic: interface conversion: string is not error: missing method Error

goroutine 90 [running]:
github.com/orzogc/acfundanmu.(*AcFunLive).wsStart.func1(0x1d85080, 0x0, 0x1d8bef0)
	/root/go/pkg/mod/github.com/orzogc/[email protected]/websocket.go:56 +0xe0
panic(0x6f3580, 0x8e2268)
	/usr/local/go/src/runtime/panic.go:965 +0x174
runtime/internal/atomic.panicUnaligned()
	/usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Load64(0x1fba71c, 0x1f7df80, 0x25ae7c0)
	/usr/local/go/src/runtime/internal/atomic/asm_arm.s:263 +0x14
github.com/orzogc/acfundanmu.(*token).genPayload(0x1fba6c0, 0x8135fc, 0xe, 0x25ae7c0, 0x38, 0x38, 0x0, 0x8, 0x508f8)
	/root/go/pkg/mod/github.com/orzogc/[email protected]/proto.go:59 +0x24
github.com/orzogc/acfundanmu.(*token).register(0x1fba6c0, 0x83df5c, 0x8f2ee4, 0x1f8ab00)
	/root/go/pkg/mod/github.com/orzogc/[email protected]/proto.go:111 +0x188
github.com/orzogc/acfundanmu.(*AcFunLive).wsStart(0x1d8bef0, 0x8f2ee4, 0x1e9c4a0, 0x267e000, 0x1d85080)
	/root/go/pkg/mod/github.com/orzogc/[email protected]/websocket.go:79 +0x110
created by github.com/orzogc/acfundanmu.(*AcFunLive).StartDanmu
	/root/go/pkg/mod/github.com/orzogc/[email protected]/acfundanmu.go:538 +0x98

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

你这是ARM 32的平台?好像不支持32位,我再研究一下

from acfunlive.

orzogc avatar orzogc commented on June 12, 2024

你再编译最新的代码试试

from acfunlive.

zhuweitung avatar zhuweitung commented on June 12, 2024

你这是ARM 32的平台?好像不支持32位,我再研究一下

我树莓派重装了64位系统,问题没有复现了,可以正常使用

from acfunlive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.