Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Mixer not able to get headers from request #336

Open
luisyonaldo opened this issue May 11, 2018 · 1 comment
Open

Mixer not able to get headers from request #336

luisyonaldo opened this issue May 11, 2018 · 1 comment

Comments

@luisyonaldo
Copy link

Is this a BUG or FEATURE REQUEST?:
BUG
Did you review https://istio.io/help/ and existing issues to identify if this is already solved or being worked on?:
Yes
Bug:
Y/N

What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details

$ istioctl version
Version: 0.7.1
GitRevision: 62110d4f0373a7613e57b8a4d559ded9cb6a1cc8
User: root@c5207293dc14
Hub: docker.io/istio
GolangVersion: go1.9
BuildStatus: Clean
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.5", GitCommit:"f01a2bf98249a4db383560443a59bed0c13575df", GitTreeState:"clean", BuildDate:"2018-03-19T15:59:24Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.5+coreos.0", GitCommit:"0d082e389e1f4311dc5d225eb77f9688c50d340a", GitTreeState:"clean", BuildDate:"2018-03-21T21:10:44Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Is Istio Auth enabled or not ?
No mutual TLS

What happened:
I want to denied access base on some header. I follow some example using bookinfo sample and it works, but when I do it with my own services it does work. I receive the following errors in mixer:

kubectl logs -n istio-system istio-mixer-86f5df6997-zgqn6 -f mixer
2018-05-11T12:58:19.583691Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:25.339004Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:35.339001Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:45.339145Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:49.582339Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:55.339018Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:58:59.582405Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:09.582551Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:15.339128Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:19.582188Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:29.582340Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:35.339248Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:45.339396Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T12:59:59.584027Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:05.340574Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:15.339568Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:19.583184Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:25.338938Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:29.582646Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:39.582818Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:49.582676Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:00:59.582777Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''
2018-05-11T13:01:05.339706Z	warn	input set condition evaluation error: id='2', error='lookup failed: 'request.headers''

I had tried 2 different applications/services, and both show the same issue, it only work with the bookinfo app don't know why.

@kyessenov
Copy link

kyessenov commented May 11, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants