Skip to content
This repository was archived by the owner on Aug 24, 2020. It is now read-only.
This repository was archived by the owner on Aug 24, 2020. It is now read-only.

Authentication slow due to hostname resolution #4

@timogasda

Description

@timogasda

I have been experiencing very slow authentications (about 5 seconds) on one of my machines. It turns out that this is caused by socket.getfqdn(), which is used to get the qualified hostname of the current machine, e.g. "Timos-MacBook-Pro.local".

As described here, this seems to query the DNS on some system configurations, causing timeouts and long waiting times.

This could be resolved by exchanging getfqdn with gethostname.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions