Comments (2)
Change this line and print error detail to console to see that happened.
gin-admin/pkg/util/snowflake/snowflake.go
Line 16 in a904050
from gin-admin.
我这边也遇到过, 大概是不支持部分内网段IP导致的。
func isPrivateIPv4(ip net.IP) bool { return ip != nil && (ip[0] == 10 || ip[0] == 172 && (ip[1] >= 16 && ip[1] < 32) || ip[0] == 192 && ip[1] == 168) }
解决办法,使用自定义获取机器码
getMachineID
from gin-admin.
Related Issues (20)
- gin-admin v9 迭代需求讨论 HOT 6
- ParseJSON 建议优化一下
- 有人在生产中使用吗
- swagger 报错:No operations defined in spec!
- 有人遇到过程序偶尔自己退出的问题吗
- 问个不关代码的,V10什么时候发 HOT 7
- Injector结构体的CasbinEnforcer、Auth字段是否多余 HOT 1
- TablePrefix没有生效 HOT 3
- jwtauth store service is not working ?
- Failed to read configuration file
- rbac_model.conf should use keyMatch3 HOT 1
- gin-admin-cli生成的项目有问题 HOT 3
- 感觉启动速度有点慢
- 有交流群吗 HOT 1
- gin-admin-cli生成代码报错 HOT 1
- /api/v1/loggers?current=1&pageSize=10 ERROR: column b.id does not exist (SQLSTATE 42703) HOT 1
- [功能建议] Module 是不是可以考虑使用接口 ?
- Error while generate a new module
- 移动前端api 怎么实现 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gin-admin.