tickstep / cloudpan189-go

天翼云盘命令行客户端(CLI),基于GO语言实现

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法登录

BunnySakura opened this issue · comments

commented

之前登录今天突然失效了,而且也无法重新登录。在多地的多台设备进行了测试,均无法登录,且报错如下(部分数据替换为****):

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x230 pc=0x8****9]

goroutine 1 [running]:
github.com/tickstep/cloudpan189-go/internal/command.CmdLogin.func1(0xc000140dc0, 0xc****0, 0xc0003****0)
        /Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/command/login.go:61 +0x359
github.com/urfave/cli.HandleAction(0x8****0, 0x9a0178, 0xc000140dc0, 0xc0001****0, 0x0)
        /Users/tickstep/Applications/go/pkg/mod/github.com/urfave/cli@v1.21.1-0.20190817182405-23c83030263f/app.go:523 +0x105
github.com/urfave/cli.Command.Run(0x9****2, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x981f23, 0x18, 0x0, ...)
        /Users/tickstep/Applications/go/pkg/mod/github.com/urfave/cli@v1.21.1-0.20190817182405-23c83030263f/command.go:174 +0x579
github.com/urfave/cli.(*App).Run(0xc0001e0380, 0xc0003****0, 0x4, 0x4, 0x0, 0x0)
        /Users/tickstep/Applications/go/pkg/mod/github.com/urfave/cli@v1.21.1-0.20190817182405-23c83030263f/app.go:276 +0x7e8
main.main.func1(0xc000140b00)
        /Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/main.go:309 +0x78b
github.com/urfave/cli.HandleAction(0x8cc400, 0xc00036df10, 0xc000140b00, 0xc000140b00, 0x0)
        /Users/tickstep/Applications/go/pkg/mod/github.com/urfave/cli@v1.21.1-0.20190817182405-23c83030263f/app.go:525 +0x59
github.com/urfave/cli.(*App).Run(0xc0001e0380, 0xc00001e210, 0x1, 0x1, 0x0, 0x0)
        /Users/tickstep/Applications/go/pkg/mod/github.com/urfave/cli@v1.21.1-0.20190817182405-23c83030263f/app.go:285 +0x655
main.main()
        /Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/main.go:477 +0x18ba

天翼今年换了服务商,这是改接口了?