apache / apache/hertzbeat

error log: Invalid cookie header

Open
#1,677 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

I need to configure it to recognize Set-Cookie correctly.
```
Invalid cookie header: "Set-Cookie: __tenant=247439d7-aaa2-fdaf-0dd6-3a09ad1badc8; expires=Wed, 22 Mar 2034 06:03:16 GMT; path=/". Invalid 'expires' attribute: Wed, 22 Mar 2034 06:03:16 GMT
Invalid cookie header: "Set-Cookie: .AspNetCore.Culture=c%3Dzh-Hans%7Cuic%3Dzh-Hans; expires=Sun, 22 Mar 2026 06:03:16 GMT; path=/". Invalid 'expires' attribute: Sun, 22 Mar 2026 06:03:16 GMT
```

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reproducing the logged Set-Cookie parsing error and locating the Java component that emits it; done means valid expiration dates are accepted without the invalid-cookie log and regression coverage is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.