Question

TLS Handshake Issue with Ambassador API Gateway for DigitalOcean Functions

I have set up a Kubernetes cluster and am using Ambassador as an API gateway to route traffic to DigitalOcean Functions. I followed the instructions provided in the DigitalOcean Kubernetes Starter Kit for Developers, specifically from this section: Setting up Ambassador Edge Stack.

However, I am encountering a TLS handshake issue when trying to route traffic through Ambassador to the DigitalOcean Function. The error I’m receiving is:

upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO

I’ve ensured that my configurations align with the instructions in the repository, but I’m still facing this issue. I suspect there might be a TLS configuration mismatch or some other underlying problem causing the handshake failure.

Here is my Mapping for Ambassador:

apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
  name: create-robot-mapping
  namespace: ambassador
spec:
  prefix: /create_robot
  service: https://faas-fra1-afec6ce7.doserverless.co/api/v1/web/fn-0c047659-5abf-4444-9c03-8ab68910414e/quayio/create_robot
  host_rewrite: faas-fra1-afec6ce7.doserverless.co
  host: ambassador.mydomain

Any assistance or guidance on how to resolve this issue would be highly appreciated. I’m eager to get this setup working smoothly and integrate DigitalOcean Functions seamlessly with my Kubernetes cluster via Ambassador.

Thank you in advance for your support.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel