ngrok / kubernetes-ingress-controller

The official ngrok Ingress Controller for Kubernetes
https://ngrok.com
MIT License
184 stars 20 forks source link

Error reporting after hitting the tunnels/session limit is lacking #268

Open jrobsonchase opened 1 year ago

jrobsonchase commented 1 year ago

What happened

The first time the ingress controller tries to start a tunnel that puts it over the tunnels/agent session limit, it gets this error:

Your account may not run more than <number> tunnels over a single ngrok agent session.

ERR_NGROK_324

This flies by pretty quickly, and subsequent errors are just

2023-07-03T19:56:50Z    ERROR   controllers.tunnel  Reconciler error    {"reconcileID": "b77b8eb4-7232-41cb-891f-c4afb89e07e8", "error": "failed to start tunnel: EOF"}

Which is pretty unhelpful.

What you think should happen instead

Might be nice if we detected that error, and stopped trying to start new tunnels/surfaced it repeatedly?

How to reproduce

Try to start a few e2e fixtures on a free account.