Add Tunnel respons with Failure to Get Cert, and how to find out what's wrong


I’m trying to setup a home server for media streaming, with HTTPS traffic routed through an Oracle Cloud Instance (Ubuntu 20.04), I’ve set up DNS pointing to the Oracle Cloud Instance, and setup the ingress rules properly

The server starts as it’s supposed to, and I can access my server with my auth token, and I’ve succesfully connected my client with the admin-server via ./boringproxy server, and I can see my client name in the webUI.

But when I try to create a tunnel it always responds with a view saying “Failed to get cert”, and the terminal log gives a “peekClientHello error EOF” - message.

What could be wrong? And how do i diagnose it?

Hi @alwe9704. You’re already on the right track with debugging. There’s a new release out today. Just to make sure we’re working from the same point, can you download version v0.9.1?

The first thing to check is if you’re getting any warnings when you start the server. It will try to detect if the appropriate ports are accessible from the internet.

The next thing would be to make a tunnel with TLS Termination set to “Server HTTPS”. That’s the easiest to debug.

If that still doesn’t work, you’ll need to double check that DNS is resolving properly. Easiest way to do that is run sudo python3 -m http.server 80 from an empty directory (for security reasons) and then make sure you can open in your browser.