Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Set UserCheck URL via API fails DNS check

When running:

set-simple-gateway usercheck-portal-settings.portal-web-settings.main-url "https://hostname.tld/UserCheck" 

the command fails with generic_error and "DNS failed to resolve the hostname: hostname.tld."

I've checked with tcpdump and the SmartCenter is resolving this name correctly.

Setting the Main URL field via SmartConsole succeeds. 

Setting other hostnames, like www.cnn.com, work.

I use hostname.tld on multiple gateways, as all of them are contained behind the same load balancer in Azure. 

api.elg and cpm.elg confirm the issue is related to gateway_legacy.portals_manager.PortalRequestsValidationHelper.

Anyone seen something similar?

The goal is to set a name and certificate for UserCheck in Azure Scale Set gateways.

0 Kudos
4 Replies
PhoneBoy
Admin
Admin

@Omer_Kleinstern what say you?

0 Kudos
_Val_
Admin
Admin

Do you run the command on your SMS or on another machine? If the former, please take this with TAC. If the latter, you may need to set up the name on the client as well.

0 Kudos

This script is to be run as part of CME, so it is only run on the SMS.

0 Kudos
_Val_
Admin
Admin

Understood, please take this with TAC

0 Kudos