" /> Email Server not connecting to Interaction Server - Genesys CTI User Forum

Author Topic: Email Server not connecting to Interaction Server  (Read 4772 times)

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Email Server not connecting to Interaction Server
« on: March 04, 2010, 04:27:38 PM »
Advertisement
Hello again,
I just realized that Email Server Java is not connecting to my Interaction Server. I can't find any RequestRegisterClient in logs even that both have eachother in Connections list. Is it anything else I should do?
They are both started! Email Server Java connects to my pop account and gets e-mails, URS is connecting to IxnServer, so they are both working but not talking to eachother.

Thank you,
Mihai

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email Server not connecting to Interaction Server
« Reply #1 on: March 04, 2010, 10:51:48 PM »
Logs?

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #2 on: March 05, 2010, 07:42:44 AM »
Can't attach logs, it sais folder is not writable.
So here they are on my own server: http://shanty.ro/genesys/

Thank you!

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Email Server not connecting to Interaction Server
« Reply #3 on: March 05, 2010, 08:26:32 AM »
Hi,

I don't see in your Email Server Java log any attempt to submit new interaction into routing so there is no reason for ESJ to connect to Interaction Server. Let's send some email to the system and ESJ should connect to IxnServer then. If that fails provide us with new set of logs.

R.

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #4 on: March 05, 2010, 09:09:24 AM »
I sent an e-mail, see in logs:
[quote]
08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with size -38 bytes.
08:22:19.937 Dbg 23038 [MsgIn-1] <pop-client> Retrieval session ended: 1 msg read, 0 msg stored, at throughput 0.00 msg/s.
08:22:19.937 Dbg 23005 [MsgIn-1] <pop-client> Inbound messaging client finished.
[/quote]
but after retriving the message nothing happens.
Why does it say 0 messages stored. shouldn't be stored in the data base?
« Last Edit: March 05, 2010, 10:03:57 AM by vma »

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Email Server not connecting to Interaction Server
« Reply #5 on: March 05, 2010, 10:30:17 AM »
Hi,

Retrieve message doesn't seem to be valid email as reported size is -38 bytes. So ESJ doesn't process this message and doesn't store it to the database

[quote]08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with size [b]-38 bytes[/b].
08:22:19.937 Dbg 23038 [MsgIn-1] <pop-client> Retrieval session ended: 1 msg read, [b]0 msg stored[/b], at throughput 0.00 msg/s.
08:22:19.937 Dbg 23005 [MsgIn-1] <pop-client> Inbound messaging client finished.[/quote]
You can enable debug on corresponding pop-client to find out what kind of message it is.

R.

Genesys_New

  • Guest
Re: Email Server not connecting to Interaction Server
« Reply #6 on: March 05, 2010, 10:43:53 AM »
Hi,

Whenever a new mail comes to ESJ. It will store email information in UCS database.

Check whether UCS has a connection with UCS JDBC DAP.

Offline vma

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #7 on: March 05, 2010, 12:11:41 PM »
Problem solved, not entirely tho. It seems that it was not working becuase I was sending e-mails with no body. If I put some text in the body of the e-mail is working. Is this normal?

Thank you,
Mihai

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Email Server not connecting to Interaction Server
« Reply #8 on: March 06, 2010, 08:45:44 AM »
Hi,

Your issue isn't caused by the fact that email's body is empty but because mail server reports negative size of the message

[quote]08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with [b]size -38 bytes[/b].[/quote]
By default, ESJ doesn't retrieve messages with negative size and keep them on mail server. If you want ESJ to retrieve even these messages you must change value of the option "allow-bad-msg-size" in corresponding pop-client section to "true".

R.