midgard
midgard copied to clipboard
midgard blocks ip
hey for some reason Midgard blocks my ip address randomly, even though it works for sometime
It seems when I use the following URL in the api then I get this issue
https://username:[email protected]/midgard/api/v1/clipboard
[GIN] 2025/01/29 - 11:35:41 | 401 | 28.685µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
[GIN] 2025/01/29 - 11:35:41 | 200 | 22.111µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/01/29 13:44:41 subscribe.go:254: midgard: broadcast message is finished.
[GIN] 2025/02/07 - 14:25:08 | 403 | 43.315µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:08 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
2025/02/07 14:25:12 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:12 | 403 | 43.964µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:14 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:14 | 403 | 40.797µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:22 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:22 | 403 | 44.76µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:25 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:25 | 403 | 52.612µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:28 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:28 | 403 | 46.76µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:33 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:33 | 403 | 42.648µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
2025/02/07 14:25:38 auth.go:77: midgard: block ip 192.168.0.131, block time: 2m40s, release until: 2025-02-07 14:26:07.965400417 +0000 UTC
[GIN] 2025/02/07 - 14:25:38 | 403 | 46.185µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
[GIN] 2025/02/07 - 14:29:39 | 401 | 29.852µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
[GIN] 2025/02/07 - 14:29:39 | 200 | 60.241µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
[GIN] 2025/02/07 - 14:29:46 | 401 | 10.926µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"
[GIN] 2025/02/07 - 14:29:46 | 200 | 65.778µs | 192.168.0.131 | GET "/midgard/api/v1/clipboard"