Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gloo Edge - Instruqt - Lab 2] curl verification fails with 404 not found after enabling TLS #99

Open
drew-solo opened this issue Nov 12, 2021 · 5 comments

Comments

@drew-solo
Copy link

After adding TLS configuration in Lab 2, command "curl -k $APP_URL/not-secured/get" fails with "404 Not Found".

Instruqt-Lab2-error

@jmunozro
Copy link
Member

Not able to reproduce
image

@murphye
Copy link

murphye commented Nov 19, 2021

There are no labels on the RouteTable

apiVersion: gateway.solo.io/v1
kind: RouteTable
metadata:
  name: httpbin-routetable
  namespace: team1
spec:
  routes:
    - matchers:
        - prefix: /not-secured
      options:
        prefixRewrite: '/'
      routeAction:
          single:
            upstream:
              name: team1-httpbin-8000
              namespace: gloo-system

The vs-with-tls.yaml has a label reference

            labels:
              application-owner: team1

@murphye
Copy link

murphye commented Nov 19, 2021

@jmunozro I have verified this is a problem

@jmunozro
Copy link
Member

jmunozro commented Nov 19, 2021

The delegation is introduced in lab 1:

    • Delegation without selector (routetable, no label)
    • Delegation with selector (routetable, label)

image

After that, routable is not touched until we introduce transformations in lab3

Let´s have a call because I don't know how you are getting routetable without the label in lab2

@bcollard
Copy link
Contributor

I ran all the commands successfully up to this part, using https://play.instruqt.com/soloio/tracks/gloo-edge a few minutes ago.
image

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

No branches or pull requests

4 participants