Ambassador 0.40.1 floods logs when using add_request_headers with DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT
See original GitHub issueDescribe the bug
Our logs have begun filling up with addReferenceKey attempted to add an empty value
entries after upgrading to 0.40.1 (from 0.40.0).
To Reproduce Configure “add_request_headers” with the value “%DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT%” in a service. Make requests to the service.
Expected behavior No errors or spurious logs should be generated.
Versions (please complete the following information):
- Ambassador: 0.40.1
- Kubernetes environment: Bare metal (bootstrapped via rke).
- Version: 1.10.5
Additional context Downgrading to 0.40.0 eliminates the log flooding issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Roger that. We’ve actually switched back to running 0.40.1 for that reason. It’s a bit of a nuisance but better than crashing. 😃
Also adding the full log lines here: