05-17-2014 10:29 AM - edited 03-13-2019 08:33 PM
Hello everybody,
I'm during a configuration of Mobile and Remote Access via Cisco VCS. Even though a status of my configuration on both VCSs in "Status->Unified Communications" looks OK, I still can't log in successfully using Jabber 9.7.1 client. I've checked logs on my VCS expressway and I probably localized a problem.
Event Log:
2014-05-17T17:12:58+02:00 | traffic_server[1282]: Event="Sending HTTP error response" Status="400" Reason="Bad Request" Dst-ip="Jabber_IP_Address" Dst-port="59415" UTCTime="2014-05-17 15:12:58,695" |
2014-05-17T17:12:36+02:00 | sshdpfwd[7425]: Received disconnect from NAT_router_IP: 11: disconnected by user |
2014-05-17T17:12:36+02:00 | sshdpfwd[7423]: Event="sshd" Module="openssh" Level="INFO" Detail="User child is on pid 7425" UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:36+02:00 | sshdpfwd[7423]: Event="sshd" Module="openssh" Level="INFO" Detail="Accepted publickey for pfwd from NAT_router_IP port 40968 ssh2" UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:36+02:00 | sshdpfwd[7423]: Event="sshd" Module="openssh" Level="INFO" Detail="Authorized by X509(rsa) : CN=...,OU=...O=...,L=...,ST=...,C=..." UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:36+02:00 | sshdpfwd[7423]: Event="sshd" Module="openssh" Level="INFO" Detail="Connection from NAT_router_IP port 40968" UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:36+02:00 | sshdpfwd: Event="sshd" Module="openssh" Level="INFO" Detail="sshdpfwd run in non-FIPS mode" UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:36+02:00 | sshdpfwd[7423]: Event="sshd" Module="openssh" Level="INFO" Detail="Set /proc/self/oom_score_adj to 0" UTCTime="2014-05-17 15:12:36" |
2014-05-17T17:12:18+02:00 | traffic_server[1282]: Event="Sending HTTP error response" Status="400" Reason="Bad Request" Dst-ip="Jabber_IP_Address" Dst-port="59391" UTCTime="2014-05-17 15:12:18,449" |
Network log:
2014-05-17T17:12:58+02:00 | traffic_server[1282]: UTCTime="2014-05-17 15:12:58,695" Module="network.http.trafficserver" Level="INFO": Detail="Sending Response" Txn-id="439" Dst-ip="Jabber_IP_Address" Dst-port="59415" Msg="HTTP/1.1 400 Bad Request" |
2014-05-17T17:12:58+02:00 | traffic_server[1282]: UTCTime="2014-05-17 15:12:58,695" Module="network.http.trafficserver" Level="INFO": Detail="Receive Request" Txn-id="439" Src-ip="Jabber_IP_Address" Src-port="59415" Msg="POST https:///EPASSoap/service/v80 HTTP/1.1" |
It seems to me as there's a missed CUPS IP address in POST request (POST https:///EPASSoap/service/v80 HTTP/1.1).
Thanks for any help!
kozooh
P.S. Confidential content is replaced by Jabber_IP_address and NAT_router_IP.
Solved! Go to Solution.
05-22-2014 07:14 AM
yes, I have configured the SRV Records inside as described in the guide (_cuplogin and _cisco-uds)
I got it to work today.
Check if you can resolve your Expressway E hostname from public DNS. Jabber Client is requesting from outside _collab-edge._tls.domain.com (beside all others). Most likely you have that covered, pointing to an A record which then points to your Expressway E. But after Jabber client gets the answer, it then requests the hostname of Expressway E (which was different than public A record im my case).
I added that and it worked.
Alternatively, add Expressway E hostname with public IP in your hosts file.
regards, Dave
05-20-2014 10:50 AM
I have the same problem - with the same messages in the log.
Also: On Expressway C under Status - Unified Communications, I can see provisioned sessions.
On the bottom is a link to view them. I can see there multiple entries for my one (and only) external test user.
However, this user never was able to go online with his jabber client from outside. From inside - no problem.
Would appriciate any help - I'm stuck for days on this topic.
Dave
05-22-2014 07:04 AM
Hi David!
"Nice" to hear I'm not alone with this problem. Could you tell me if you've configured any internal DNS records as it's stated in the config guide?
Kind regards
05-22-2014 07:14 AM
yes, I have configured the SRV Records inside as described in the guide (_cuplogin and _cisco-uds)
I got it to work today.
Check if you can resolve your Expressway E hostname from public DNS. Jabber Client is requesting from outside _collab-edge._tls.domain.com (beside all others). Most likely you have that covered, pointing to an A record which then points to your Expressway E. But after Jabber client gets the answer, it then requests the hostname of Expressway E (which was different than public A record im my case).
I added that and it worked.
Alternatively, add Expressway E hostname with public IP in your hosts file.
regards, Dave
05-27-2014 06:49 AM
Thank you Dave, apart from some others DNS issues I had, you hit the nail on the head! This all domain's stuff could be a real pain in the neck...
To troubleshoot these problems, I do recommend to run Wireshark on your internal DNS server and check requests which one receives. For instance, I've no idea why, I got requests about SRV record _cisco-phone-tftp._tcp.example.com 0 0 69 cftp.example.com on my internal DNS! After I added it pointing to my CUCM, everything works like a charm.
Kind regards, kozooh
08-04-2015 04:57 AM
Hi all,
I'm having the same issue here, just wandering if you ever got to the bottom of it.
I have followed all the steps but I'm getting Status=400 error.
Thanks
08-04-2015 05:06 AM
Hi there,
Could you post some logs where the problem arises? (Please remember to anonymize any confidential data like public IP addresses and domain names.)
Kind regards
08-04-2015 06:15 AM
Hi, thanks for your reply.
Please see below the logs from my Expressway-E
08-04-2015 06:29 AM
Have you run Wireshark on a PC with the remote Jabber to check if all domain names and SRVs are correctly resolved?
Please also check that your DNS records are configured as stated here: https://supportforums.cisco.com/sites/default/files/attachments/discussion/jabber_mra_multi_domain_deployment.pdf It's tailored for multidomain deployments but you can easily adapt it to a single domain configuration as well.
08-04-2015 06:36 AM
Thanks for the document. Very helpful.
I have run Wireshark and dns and SRV seem to be working fine.
Quick question: If I go into Jabber Advanced Settings, and manually enter the Cisco IM&P address (which is the address of my Expressway-E), should it work?
08-04-2015 07:53 AM
Unfortunately no, you need to login using user@domain.com and Jabber will automatically find Expressway-E address. In Jabber as an account type choose "Cisco IM & Presence" and "default server" option.
As for https:///EPASSoap/service/v80 HTTP/1.1, I recalled that a missing CUCM hostname will appear in this URL (between https:// and /) if you set Hostname in Cisco Unified OS Administration->Settings->IP->Ethernet. Also make sure that a domain name and DNS servers are set correctly in CUCM. I don't think if it's the issue but you could give it a try.
08-04-2015 07:53 AM
DNS has been configured on CUCM as well as a host name and domain name. Still shows up as https:///EPASSoap/service/v80 HTTP/1.1.
I'm trying to log in using jabber@domain.com, but still says "Cannot communicate with the server". And also getting the same error logs on Expe.
Looking a my wireshark trace, I can see that I do have communication with the Expe
08-04-2015 08:35 AM
Do reuests reach Expressway-C? If so, there's a problem between Exp-C and CUCM. You can check if Expressway-C is able to resolve all SRVs (and A records as well), to do that just go to Maintenance->Tools->Network utilities->DNS lookup, set query type to SRV and check if all internal SRVs are resolved correctly.
You can also turn on debugging DNS on Exp-C. In order to do that go to Maintenance->Diagnostics->Advanced->Network Log configuraton and set network.dns to debug. It will show up in Network Log which DNS Exp tries to resolve.
If status of MRA in Status->Unified Communications shows everything's all right then I'm pretty sure it's some DNS issue.
08-04-2015 08:35 AM
Does the communication between Exp-c and CUCM have to be with TLS? Is it mandatory? Just to rule out some options I would like to disable if I can.
I will try the guidelines you gave me.
Thanks again.
08-04-2015 08:45 AM
No, it's not necessary, Expressway-C will create a TCP zone automatically and that's ok. Are you deploying the single or multi domain deployment? If multi, then remember to add both internal and external domain on Expressway-C.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide