dryark / ios_remote_provider

Other
49 stars 33 forks source link

Register against new CF not possible (ujsonin error) #55

Closed chewbacca70 closed 3 years ago

chewbacca70 commented 3 years ago
./main register
Enter registration password:
Using default registration password of doreg
panic: JSON Incomplete

goroutine 1 [running]:
github.com/nanoscopic/ujsonin/v2/mod.Parse(0xc000270400, 0x12, 0x200, 0x12, 0x200, 0x0, 0x0, 0x4409a6e)
    /Users/probe_admin/.go/pkg/mod/github.com/nanoscopic/ujsonin/v2@v2.0.6/mod/ujsonin.go:428 +0xc5
main.doregister(0xc0002306c0, 0x0, 0x0)
    /opt/ios_remote_provider/controlfloor.go:637 +0x579
main.runRegister(0xc000212230)
    /opt/ios_remote_provider/main.go:328 +0x39
github.com/nanoscopic/uclop/mod.(*Cmd).Run(...)
    /Users/probe_admin/.go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:164
github.com/nanoscopic/uclop/mod.(*Uclop).Run(0xc00022de28)
    /Users/probe_admin/.go/pkg/mod/github.com/nanoscopic/uclop@v1.1.0/mod/main.go:159 +0x262
main.main()
    /opt/ios_remote_provider/main.go:58 +0x8a5

no logs from CF available

nanoscopic commented 3 years ago

The API for the register command in CF was changed to clean up the API paths there, and I didn't change it in this repo also. Have now updated the call and it will work once more.