Could not authenticate you from Ldapmain because "Getaddrinfo: name or service not known" after Update from 11.2.3 to 11.10.4

I’m getting the error message:

Could not authenticate you from Ldapmain because “Getaddrinfo: name or service not known”.

This occurred after updating GitLab from 11.2.3 to 11.10.4.

Running gitlab-rake gitlab:ldap:check gives “LDAP authentication… Success”.

gitlab-rake gitlab:env:info

System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.5.3p105
Gem Version: 2.7.6
Bundler Version:1.17.3
Rake Version: 12.3.2
Redis Version: 3.2.12
Git Version: 2.18.1
Sidekiq Version:5.2.5
Go Version: unknown

GitLab information
Version: 11.10.4
Revision: 62c464651d2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 9.6.11
URL: https://redacted
HTTP Clone URL: https://redacted
SSH Clone URL: git@redacted:some-group/some-project.git
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version: 9.0.0
Repository storage paths:

  • default: /gitlab/repositories
    GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
    Git: /opt/gitlab/embedded/bin/git

LDAP Config in gitlab.rb

gitlab_rails[‘ldap_enabled’] = true
gitlab_rails[‘ldap_servers’] = YAML.load <<-‘EOS’ # remember to close this block with ‘EOS’ below
main: # ‘main’ is the GitLab ‘provider ID’ of this LDAP server
label: ‘redacted’
host: ‘redacted’
port: 636
method: “ssl”
#methods are ‘ssl’ # “tls” or “ssl” or “plain”
active_directory: true
block_auto_created_users: false
uid: ‘redacted’ #userPrincipalName
base: ‘OU=redacted,DC=redacted,DC=redacted,DC=ca’
allow_username_or_email_login: false
#user_filter: ‘’
bind_dn: ‘CN=redacted,OU=redacted,OU=redacted,DC=redacted,DC=redacted,DC=ca’
password: ‘redacted’
verify_certificates: false
EOS

Update: Changing the “host” in gitlab.rb from a FQDN to IP address seems to fix the issue.