Azure / Azure/aad-auth-proxy

Field 'time' on type 'Envelope' is older than the allowed min date

Open
#53 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
19
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Proxy aad logs show this error when pushing metrics to azure monitor via aad-proxy
This error is not present in `[0.1.0-main-01-10-2024-08b31473](https://github.com/Azure/aad-auth-proxy/releases/tag/0.1.0-main-01-10-2024-08b31473)` release where as its present in latest release

```
time="2024-07-25T21:34:03Z" level=error msg="Error response body: {\"itemsReceived\":1024,\"itemsAccepted\":0,\"appId\":null,\"errors\":[{\"index\":0,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":1,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":2,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":3,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":4,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":5,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":6,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":7,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":8,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"},{\"index\":9,\"statusCode\":400,\"message\":\"103: Field 'time' on type 'Envelope' is older than the allowed min date. Expected: now - 172800000ms\"}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.