" /> GAD Cannot connect to UCS - Genesys CTI User Forum

Author Topic: GAD Cannot connect to UCS  (Read 3035 times)

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
GAD Cannot connect to UCS
« on: December 15, 2013, 09:39:50 PM »
Advertisement
Hello,

Has anyone experienced a problem connecting ucs to GAD during an eservices deployment?
GAD has connection to IxnServer and UCS however in logs it shows attempt to connect.
In addition I cant see line in GAD logs where UCS host is missing :

[i]Init Ail Logic] DEBUG    Ail.DB.UcsModule  UCS Primary host: MM81_UCS:[b][u]null[/u][/b]:4410[/i]

I have seen solutions advising firewall/nat blocking could be cause and to enable duplex mode on both gad and ucs - however this did not work (same issue).

Any idea of where the issue could be?

thanks,

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: GAD Cannot connect to UCS
« Reply #1 on: December 16, 2013, 07:32:49 AM »
[quote author=PFCCWA link=topic=8137.msg35797#msg35797 date=1387143590]
Hello,
GAD has connection to IxnServer and UCS however in logs it shows attempt to connect.
In addition I cant see line in GAD logs where UCS host is missing :
[i]Init Ail Logic] DEBUG    Ail.DB.UcsModule  UCS Primary host: MM81_UCS:[b][u]null[/u][/b]:4410[/i]
[/quote]
Hi there!
Can you restart your GAD and check the log from startup for next line:
[      Init Ail Logic] INFO      Ail.DB.UcsModule  Contact Server parameters are CsRequestConnect

Below you should found the connection data for you UCS service.Like that:
        PrimaryName              UCS_p
        PrimaryDBID              254
        PrimaryHost              host1.domain
        PrimaryPort              8000
        BackupName                UCS_b
        BackupDBID                255
        BackupHost                host2.domain
        BackupPort                8000
        ApplicationName          gad01
        Period                    60
        Timeout                  30

And only after that connection trying. So if you did not found such - try to increase the log level for config server and check their log at the GAD startup moment - may be you have the problem with data transfer fromm config db throw config service to you GAD.

O! And another thing - check the security page in GAD options. GAD shuld not be launced from default System account.

WBR Tim


Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GAD Cannot connect to UCS
« Reply #2 on: December 16, 2013, 08:23:04 AM »
More GAD log info..
GAD is not using default account to start up..
UCS is using default account to start up..
thanks.

15 12 21:01:31:504 [      Init Ail Logic] INFO      Ail.DB.UcsModule  Contact Server parameters are CsRequestConnect
        PrimaryName              MM81_UCS
        PrimaryDBID              442
        PrimaryHost              null
        PrimaryPort              4410
        BackupName                MM81_UCS_backup
        BackupDBID                448
        ApplicationName          gad1
        Period                    60
        Timeout                  30

15 12 21:01:31:567 [      Init Ail Logic] DEBUG    Ail.DB.UcsModule  UCS API, logs available for UCSAPI >= 7.0.200.02
15 12 21:01:31:567 [      Init Ail Logic] DEBUG    Ail.DB.UcsModule  UCS Primary host: MM81_UCS:null:4410
15 12 21:01:31:567 [      Init Ail Logic] DEBUG    Ail.DB.UcsModule  UCS Backup host: MM81_UCS_backup:null:0
15 12 21:01:33:661 [      Init Ail Logic] ERROR    Ail.DB.UcsModule  While opening the connection to contact server
com.genesyslab.icc.api.contactserver.PersistentException: UCS connection failed
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at com.genesyslab.icc.api.contactserver.UCSMonitor.connect(Unknown Source)
at com.genesyslab.ail.core.server.ucs.UcsModuleImpl.initConnection(UcsModuleImpl.java:593)
at com.genesyslab.ail.core.server.ucs.UcsModuleImpl.init(UcsModuleImpl.java:1367)
at com.genesyslab.ail.core.AilModule.start(AilModule.java:641)
at com.genesyslab.ail.core.AilModule.start(AilModule.java:873)
at com.genesyslab.ail.AilLoader.getAilFactory(AilLoader.java:384)
at com.genesyslab.ail.BLLoader.getAilFactory(BLLoader.java:79)
at com.genesyslab.uadthin.InitBusinessLogic.run(InitBusinessLogic.java:115)
Caused by: java.rmi.ConnectException: Connection refused to host: [u][b][gad host ip][/b][/u]; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 9 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:179)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomSocket.<init>(Unknown Source)
at com.genesyslab.util.rmi.CustomClientSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
... 13 more
15 12 21:01:33:677 [      Init Ail Logic] ERROR    Ail.DB.UcsModule  While opening the connection to contact server
com.genesyslab.icc.api.contactserver.PersistentException: UCS is not connected, connect first
at com.genesyslab.icc.api.contactserver.UCSMonitor.getConnectedUCSHost(Unknown Source)
at com.genesyslab.ail.core.server.ucs.UcsModuleImpl.initConnection(UcsModuleImpl.java:649)
at com.genesyslab.ail.core.server.ucs.UcsModuleImpl.init(UcsModuleImpl.java:1367)
at com.genesyslab.ail.core.AilModule.start(AilModule.java:641)
at com.genesyslab.ail.core.AilModule.start(AilModule.java:873)
at com.genesyslab.ail.AilLoader.getAilFactory(AilLoader.java:384)
at com.genesyslab.ail.BLLoader.getAilFactory(BLLoader.java:79)
at com.genesyslab.uadthin.InitBusinessLogic.run(InitBusinessLogic.java:115)
15 12 21:01:33:677 [      Init Ail Logic] INFO      Ail.DB.UcsModule  UCSModule service initialized.
15 12 21:01:33:677 [      Init Ail Logic] INFO        Ail.AilModule  ContactServer version is not available at this time.
15 12 21:01:33:677 [      Init Ail Logic] DEBUG    Ail.QPE.Publisher  Schedule (4055775) into Publisher
15 12 21:01:33:677 [          Publisher] DEBUG    Ail.QPE.Publisher  Starting (4055775) (Time in queue: 0 ms)
15 12 21:01:33:677 [          Publisher] DEBUG    Ail.QPE.Publisher  Finished (4055775) (Processing time: 0 ms)
15 12 21:01:33:677 [      Init Ail Logic] DEBUG Ail.ListenerExecutor  UcsService: Listener added, totalling 1 listeners.
15 12 21:01:33:677 [      Init Ail Logic] DEBUG    Ail.QPE.Publisher  Schedule (9634080) into Publisher
15 12 21:01:33:677 [      Init Ail Logic] DEBUG          Ail.Lagaffe  @@ Lagaffe.Deployer.Inner.AilModule.W-19856638 -> Lagaffe.Deployer.Inner.CfgsdkComponent : ConfigRequestGetObjects
« Last Edit: December 16, 2013, 09:17:17 AM by PFCCWA »

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: GAD Cannot connect to UCS
« Reply #3 on: December 16, 2013, 11:37:34 AM »
You have the CsRequestConnect info already with NULL instead the host name. So if you UCS have the selected host on the "Server info" tab (and I believe that you did it) it's may be only for one reason - something is blocked to send this data to you GAD.
You realy need to check you config service log for GAD request and for the config server respond.
WBR timur