环境:
windows
异常:
Error authorizing request: {"Id":"go.micro.client","Code":500,"Detail":"{\"Id\":\"go.micro.client\",\"Code\":500,\"Detail\":\"service auth: route not found\",\"Status\":\"Internal Server Error\"}","Status":"Internal Server Error"}
原因:server中有个auth服务启动失败(自己觉得)
解决方案:
- 关闭防火墙,找到
-
更新下micro版本,(我的好像是micro server服务版本问题)
go get -u github.com/micro/micro/v3
$ micro login
Enter username: admin
Enter password:
Successfully logged in.