Calling back the server time will cause the flow limiting middleware of the argo server to reject the request #12104
Replies: 1 comment 2 replies
-
That sounds like you may want to file an issue upstream in
Although this is not really a normal scenario, the server time shouldn't suddenly change. Having a stable server time seems like a sound assumption to me. In any case, that would be something to discuss upstream. Also please note that code blocks are much more accessible than images of code. |
Beta Was this translation helpful? Give feedback.
-
After the argo server is started, the client requests normal access. At this time, the server time is suddenly adjusted for a period of time (for example, 15 minutes). After a period of time, the request to the argo server will return '429 Too Many Requests'. We suspect that a section of code in the current limiting middleware 'github.com/sethvargo/go-limiter' does not support this scenario.
![image](https://private-user-images.githubusercontent.com/15154648/278966555-bcb4fe6f-b53d-489e-a86c-bb63ec8de354.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODM4NTksIm5iZiI6MTczOTE4MzU1OSwicGF0aCI6Ii8xNTE1NDY0OC8yNzg5NjY1NTUtYmNiNGZlNmYtYjUzZC00ODllLWE4NmMtYmI2M2VjOGRlMzU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEwMzIzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIyMGUzYTQ5YWVmZDNhMWQ2ODNmMTdhMTFhOTY3ZjAxMGMwMDNhYzY1ZWNiYzNjN2ViMjA4NGQzNjFlYzEyMmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MG0H9K9D4UULxiGjKY9e5xPpY_wTfXsWj9CrgdhK8Zk)
Beta Was this translation helpful? Give feedback.
All reactions