mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #397] Connection to the Bastion takes many seconds #107
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pielonet on GitHub (Jun 5, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/397
Hi,
When connecting to the Bastion It takes roughly 20 seconds before I access to the shell.
It looks like loading bastions' plugins is taking a long time.
How could I reduce this loading time ?
Kind regards,
Thierry
@speed47 commented on GitHub (Aug 22, 2023):
Hey,
When you talk about the shell, do you mean the interactive mode prompt? (as follows)
before the "you@bastion(master)" prompt appears, but after the "Loading...." message does?
Note that if it's slow on the early phase of the connection (before any text is printed), a common cause is a broken DNS configuration on your system.
@misss13 commented on GitHub (Sep 1, 2023):
Hi,
I've been there, and spend almost 3 weeks debugging that stupid error. Finally debuged that line by line in perl... but to the point.
The bastion is trying to find a name for your client using dns request - so this is taking reallly long 20s after it finds out that there is no dns name for your client thus you waiting each command execution 20s xd. It's nice when clients have such name but for dayli usage it doesn't have.
The answer is to turn your dns off -> comment out everything in /etc/resolv.conf
Regards,
;3