BES Relay with proxy without dns name resolution

(imported topic written by ebibibi91)

This post is related with “BES Client with proxy without dns name resolution.”(http://forum.bigfix.com/viewtopic.php?id=2182)

When I changed BES Client(with proxy) to Relay, It dosen’t work. It doesn’t communicate with BES Server.

Is there any configuration for BES Relay with proxy?

Thanks.

(imported comment written by BenKus)

Hi ebibibi,

The BES Client and BES Relay use different mechanisms to connect to proxies. The BigFix Relay operates very much like the BigFix Server in terms of the proxy setup. For the relay to use a proxy, this is probably the best way:

  1. Set “_BESGather_Comm_UseUrlMoniker”=“1”

  2. Follow the directions at http://support.bigfix.com/cgi-bin/kbdirect.pl?id=105 and everywhere it says “BES Gather Service”, substitute “BES Relay Service”

Ben

(imported comment written by ebibibi91)

Hi Ben Kus

Thank you for your comment.

I tried it, but not success.

“BES Relay\logfile.txt”------

Wed, 16 Jul 2008 15:13:25 +0900 - (127.0.0.1) ClientRegister: (/cgi-bin/b

fenterprise/clientregister.exe?RequestType=RegisterMe60&ClientVersion=7.0

.9.164&Body=72057594037927936&SequenceNumber=510&MinRelayVersion=6.0.0.0&

CanHandleMVPings=1&Root=http://xxx.xxx.xxx.xxx:52311)

Error: (ForwardRegisterMe)

Http_err_BAD_SERVERNAME

Like client case, I worried about first time registration. a brand new relay agent.

Is there any other ideas?

Thanks.

(imported comment written by BenKus)

Hi ebibibi,

I believe the agent needs to be registered before you can install the relay. Is this agent registered before installing the relay?

Can you confirm the BES Relay is logged in as a user who has the proxy setup properly?

Ben

(imported comment written by ebibibi91)

Hi Ben.

Ben Kus

I believe the agent needs to be registered before you can install the relay. Is this agent registered before installing the relay?

Yes. At first installed and registered BES Client, and then install relay by Fixlet.

I mean first time communication with server as relay.

I’m sorry for my poor english.

Ben Kus

Can you confirm the BES Relay is logged in as a user who has the proxy setup properly?

I confirmed many time. Configuration is OK, but can not connect with server.

(imported comment written by BenKus)

Hi ebibibi,

I am not sure what is not working… I think we might have to investigate this with you… however, we have an alternate mechanism that you might try before we start up a remote support call. Similar to the BigFix Client, you can try these settings to control the BigFix Relay behavior:

_BESRelay_ClientRegister_ProxyServer

_BESRelay_ClientRegister_ProxyPort

And these (but I think you mentioned it was not an authenticated proxy? If so, don’t bother with these):

_BESRelay_ClientRegister_ProxyUser

_BESRelay_ClientRegister_ProxyPass

Set these to the same values as you did the BigFix Agent settings and see if that helps,

Ben

(imported comment written by ebibibi91)

Hi Ben.

Thank you for your reply.

I tried these registry, but it couldn’t connect successfully.

(imported comment written by BenKus)

Hi ebibibi,

I think it would work best if we can start a remote troubleshooting session to assist. But in the meantime, let’s try this… I think I gave you the wrong setting value names for the proxy information. Please try instead:

_Enterprise Server_ClientRegister_ProxyServer

_Enterprise Server_ClientRegister_ProxyPort

_Enterprise Server_ClientRegister_ProxyUser

_Enterprise Server_ClientRegister_ProxyPass

Please see if those work for you… I just looked through the code with some of our developers and it looks like it should work… but I don’t have your proxy to test with so I can’t be sure…

Ben