question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression: Ambassador does not route insecure requests

See original GitHub issue

Description

This bug has already been fixed in the past and it came back when updating the Helm Chart from 6.5.5 to 6.5.6 (or Ambassador 1.7.1 to 1.7.2).

Even if one follows the documentation for ClearText support, Ambassador categorically refuses to forward non HTTP requests and always forces redirection (HTTP 301).

---
apiVersion: getambassador.io/v2
kind: Module
metadata:
  name: ambassador
  namespace: ambassador
spec:
  config:
    enable_grpc_web: true
    use_proxy_proto: false
    use_remote_address: true
    x_forwarded_proto_redirect: false
...
apiVersion: getambassador.io/v2
kind: Host
metadata:
  name: ambassador
  namespace: ambassador
spec:
  hostname: "*.example.com"
  acmeProvider:
    authority: none
  requestPolicy:
    insecure:
      action: Route
      additionalPort: -1
...

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:37 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
kflynncommented, Sep 29, 2020

@srheaume Wait. ERR_SSL_PROTOCOL_ERROR implies that you’re trying to speak HTTPS rather than HTTP. Could you please describe exactly how your Ambassador is set up, including the load balancer in front of it? I apologize for rewinding here, but if you’re getting an SSL protocol error, we pretty clearly have some inconsistencies in what you’re trying to say and what we’re understanding.

1reaction
LukeShucommented, Sep 18, 2020

I believe the issue is that the .insecure.action isn’t being applied to hostnames with * in them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ambassador does not route insecure requests · Issue #2984
This bug has already been fixed in the past and it came back when updating the Helm Chart from 6.5.5 to 6.5.6 (or...
Read more >
Emissary-ingress Release Notes | Ambassador
A regression was introduced in 2.3.0 causing the agent to miss some of the metrics coming from emissary ingress before sending them to...
Read more >
https://raw.githubusercontent.com/datawire/ambassa...
Emissary-ingress can do everything that Ambassador Edge Stack can do, ... Fixed a regression that caused endpoint routing to not work when defining...
Read more >
- NONDEPARTMENTAL WITNESSES - GovInfo
Iran's Supreme Leader Khamenei and the IRGC do not conceal that they seek Israel's ... TAF often responds to Embassy requests to provide...
Read more >
Civil Affairs Handbook - United Nations Peacekeeping
does not mean that peacekeepers need to be apolitical in condoning ... Over the years, UN peacekeeping has evolved to meet the demands...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found