Giter Site home page Giter Site logo

Comments (12)

saturnism avatar saturnism commented on May 25, 2024 1

So the request header from the browser is like this:

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
DNT:1
Host:aaa.bbb.ccc.ddd
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Name

On Istio's envoy proxy for the service, I see:

[2017-05-26T08:24:52.247Z] "GET / HTTP/1.1" 200 - 0 3287 131 124 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" "cf29a615-1405-97e6-a39c-6dcd5591be26" "helloworld-ui-service.default.svc.cluster.local:80" "127.0.0.1:8080"

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

Which client is not providing Host: header ? it's mandatory since HTTP/1.1 afaik

This being said I guess we should pick up an external/default server name from somewhere

from old_issues_repo.

kyessenov avatar kyessenov commented on May 25, 2024

Yes, we're going to relax the host requirement on the incoming traffic to sidecars. It's validating that the host name matches the service, which is not always true or desired.

from old_issues_repo.

saturnism avatar saturnism commented on May 25, 2024

I'm pretty sure the headers were sent in from the browser, but the proxy may have overwritten it.

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

@saturnism can you confirm the 0.1.6 release fixes your issue
https://github.com/istio/istio/releases/tag/0.1.6
or
curl -L https://git.io/getIstio | sh -

from old_issues_repo.

duhuasong avatar duhuasong commented on May 25, 2024

Error: failed to connect to Kubernetes API. kubernetes configuration file "/root/.kube/config" does not exist

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

Please use 0.2.12

And you need to point to a valid kubeconfig on windows (--kubeconfig path)

from old_issues_repo.

duhuasong avatar duhuasong commented on May 25, 2024

use 0.1.5 on cetnos7,i don't know how to make valid kubeconfig ?

from old_issues_repo.

duhuasong avatar duhuasong commented on May 25, 2024

use 0.1.5 on centos7,i don't know how to make valid kubeconfig ?

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

istio 0.1.5 ? I'm curious where did you get that release ?

from old_issues_repo.

duhuasong avatar duhuasong commented on May 25, 2024

the isoctl of newest release can not run on centos7,the error :
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x11f21d9]

goroutine 1 [running]:
main.getDefaultNamespace(0xc4202200e0, 0x12, 0x0, 0x0)
cmd/istioctl/main.go:700 +0x99
main.glob..func4(0x1c32060, 0x1c5ebe8, 0x0, 0x0)
cmd/istioctl/main.go:86 +0x39
github.com/spf13/cobra.(*Command).execute(0x1c32060, 0x1c5ebe8, 0x0, 0x0, 0x1c32060, 0x1c5ebe8)
external/com_github_spf13_cobra/command.go:637 +0x549
github.com/spf13/cobra.(*Command).ExecuteC(0x1c319a0, 0x11f7c53, 0x0, 0x0)
external/com_github_spf13_cobra/command.go:729 +0x339
github.com/spf13/cobra.(*Command).Execute(0x1c319a0, 0x0, 0x154)
external/com_github_spf13_cobra/command.go:688 +0x2b
main.main()
cmd/istioctl/main.go:531 +0xc0

could you leave mailbox for my help ?thanks!

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

it does run if you have a working .kubeconfig
and/or you pass the -n default flag

from old_issues_repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.