xiaodingding / iotfast

物联网管理平台
Apache License 2.0
346 stars 110 forks source link

win 报错 #8

Open gongxianjin opened 1 year ago

gongxianjin commented 1 year ago

Cannot remove temporary socket: remove C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin: The system cannot find the file specified. using proto:unix, netAddr:C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin ,err:listen unix C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin: socket: An address incompatible with the requested protocol was used., creat server failed using proto:unix, netAddr:C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin ,err:listen unix C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin: socket: An address incompatible with the requested protocol was used., creat server failed using proto:unix, netAddr:C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin ,err:listen unix C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin: socket: An address incompatible with the requested protocol was used., creat server failed using proto:unix, netAddr:C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin ,err:listen unix C:\Users\ADMINI~1\AppData\Local\Temp/iotfast_plugin: socket: An address incompatible with the requested protocol was used., creat server failed server plugin start successful panic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x28 pc=0x10db6e9]

goroutine 59 [running]: github.com/xiaodingding/iotfast/plugin/server.(server).serveTCP.func1(0x0, 0x0, 0xc000bd8000) E:/src/iotfast/plugin/server/server.go:231 +0x29 panic(0x14a8a00, 0x279f180) D:/ProgramFiles/Go/src/runtime/panic.go:965 +0x1c7 github.com/xiaodingding/iotfast/plugin/server.(server).serveTCP(0xc000bd8000, 0x0, 0x0) E:/src/iotfast/plugin/server/server.go:239 +0x133 github.com/xiaodingding/iotfast/plugin/server.(*server).Start(0xc000bd8000) E:/src/iotfast/plugin/server/server.go:385 +0x3cf github.com/xiaodingding/iotfast/internal/cmd.glob..func3(0x1e25fd8, 0xc000146870, 0xc000134700, 0x11, 0x0) E:/src/iotfast/internal/cmd/cmd.go:93 +0x65 created by github.com/xiaodingding/iotfast/internal/cmd.glob..func4 E:/src/iotfast/internal/cmd/cmd.go:105 +0xf9

jackeyjin2002 commented 1 year ago

please run under Windows 10, AF_UNIX is not support Windows 7(2008).

xiaodingding commented 1 year ago

哦哦,你可以不用unix协议