Skip to main content

HTTP tunnels forbidden by administrator

FATA[12:00:00] Failed to get connection settings: HTTP tunnels forbidden by administrator
Code: Forbidden
Request ID: 4b8d0e2f6a1c97d35e8b0f4a2c6d1e79

Variants of the message:

TCP tunnels forbidden by administrator
SSH tunnels forbidden by administrator

tuna CLI and Tuna Desktop show this error when you start a tunnel. The client doesn't reconnect and exits right away.

Cause​

You belong to a team member group, and an administrator has blocked this type of tunnel for that group. If you're in several groups, a block in any one of them is enough.

What the block covers:

  • HTTP: tuna http and tunnels over HTTP: Kubernetes, 1C, App;
  • TCP: tuna tcp and tunnels over TCP: tuna ssh, tuna postgres, tuna mysql, tuna redis, tuna trigger. So when TCP is blocked, tuna ssh won't start either, and the error says TCP tunnels forbidden by administrator;
  • SSH: tuna ssh only.

What to do​

  1. Run tuna whoami to see which team the client acts on behalf of: the block applies only in that team.
  2. Ask a team administrator to lift the block in the group settings or remove you from the group.