I downloaded and compiled pidgin-sipe 1.23.2. Under version 1.23.2, I am
able to connect and buddies continue to show "Offline" in pidgin (just
like under pidgin-sipe versions 1.18.2-1 and 1.21.1-1), but I am now
also receiving the following error message from pidgin:
UCS initialization failed!
Couldn't find an Exchange server with the default Email settings.
Therefore the contacts list will not work.
You'll need to provide Email settings in the account setup.
This is the --debug log:
(08:13:47) sipe: ucs_set_ews_url:
'https://outlook.office365.com/EWS/Exchange.asmx'
(08:13:47) sipe: sipe_http_parse_uri: host 'outlook.office365.com' port
443 path 'EWS/Exchange.asmx'
(08:13:47) sipe: sipe_http_transport_new: new outlook.office365.com:443
(08:13:47) sipe: transport_connect - hostname: outlook.office365.com
port: 443
(08:13:47) sipe: using SSL
(08:13:47) dnsquery: Performing DNS lookup for outlook.office365.com
(08:13:47) dns: Successfully sent DNS request to child 20059
(08:13:47) dns: Got response for 'outlook.office365.com'
(08:13:47) dnsquery: IP resolved for outlook.office365.com
(08:13:47) proxy: Attempting connection to <deleted for privacy>
(08:13:47) proxy: Connecting to outlook.office365.com:443 with no proxy
(08:13:47) proxy: Connection in progress
(08:13:47) proxy: Connecting to outlook.office365.com:443.
(08:13:47) proxy: Connected to outlook.office365.com:443.
(08:13:47) nss: SSL version 3.3 using 128-bit AES-GCM with 128-bit AEAD MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(08:13:47) nss: subject=CN=outlook.com,O=Microsoft
Corporation,L=Redmond,ST=Washington,C=US issuer=CN=DigiCert Cloud
Services CA-1,O=DigiCert Inc,C=US
(08:13:47) nss: subject=CN=DigiCert Cloud Services CA-1,O=DigiCert
Inc,C=US issuer=CN=DigiCert Global Root
CA,OU=www.digicert.com,O=DigiCert Inc,C=US
(08:13:47) nss: partial certificate chain
(08:13:47) certificate/x509/tls_cached: Starting verify for
outlook.office365.com
(08:13:47) certificate/x509/tls_cached: Checking for cached cert...
(08:13:47) certificate/x509/tls_cached: ...Found cached cert
(08:13:47) nss/x509: Loading certificate from
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com
(08:13:47) certificate/x509/tls_cached: Peer cert matched cached
(08:13:47) nss/x509: Exporting certificate to
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com
(08:13:47) util: Writing file
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com
(08:13:47) nss: Trusting CN=outlook.com,O=Microsoft
Corporation,L=Redmond,ST=Washington,C=US
(08:13:47) certificate: Successfully verified certificate for
outlook.office365.com
(08:13:47) sipe: transport_get_socket_info: <deleted for privacy>
(08:13:47) sipe: sipe_http_transport_connected: outlook.office365.com:443
(08:13:47) sipe:
MESSAGE START >>>>>>>>>> HTTP - 2018-04-25T15:13:47.991425Z
POST /EWS/Exchange.asmx HTTP/1.1
Host: outlook.office365.com
User-Agent: Sipe/1.23.2
Content-Length: 374
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0"?>
<soap:Envelope
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" >
<soap:Header> <t:RequestServerVersion Version="Exchange2013" />
</soap:Header> <soap:Body> <m:GetImItemList/> </soap:Body></soap:Envelope>
MESSAGE END >>>>>>>>>> HTTP - 2018-04-25T15:13:47.991425Z
(08:13:48) sipe: transport_input_common: new buffer length 4096
(08:13:48) sipe:
MESSAGE START <<<<<<<<<< HTTP - 2018-04-25T15:13:48.177739Z
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/10.0
request-id: <deleted for privacy>
X-Powered-By: ASP.NET
X-FEServer: <deleted for privacy>
WWW-Authenticate: Basic Realm=""
Date: Wed, 25 Apr 2018 15:13:47 GMT
Content-Length: 0
MESSAGE END <<<<<<<<<< HTTP - 2018-04-25T15:13:48.177739Z
(08:13:48) sipe: sipmsg_find_auth_header: 'Negotiate' not found
(08:13:48) sipe: sipmsg_find_auth_header: 'NTLM' not found
(08:13:48) sipe: sip_sec_create_context: type: 1, Single Sign-On: no,
protocol: HTTP
(08:13:48) sipe: sip_sec_acquire_cred__basic: entering
(08:13:48) sipe: sipe_http_request_response_unauthorized: init context
target 'HTTP/outlook.office365.com' token 'Realm=""'
(08:13:48) sipe:
MESSAGE START >>>>>>>>>> HTTP - 2018-04-25T15:13:48.177931Z
POST /EWS/Exchange.asmx HTTP/1.1
Host: outlook.office365.com
User-Agent: Sipe/1.23.2
Authorization: Basic <deleted for privacy>
Content-Length: 374
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0"?>
<soap:Envelope
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" >
<soap:Header> <t:RequestServerVersion Version="Exchange2013" />
</soap:Header> <soap:Body> <m:GetImItemList/> </soap:Body></soap:Envelope>
MESSAGE END >>>>>>>>>> HTTP - 2018-04-25T15:13:48.177931Z
(08:13:53) sipe:
MESSAGE START <<<<<<<<<< HTTP - 2018-04-25T15:13:53.851001Z
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/10.0
request-id: <deleted for privacy>
X-CalculatedFETarget: <deleted for privacy>.internal.outlook.com
X-BackEndHttpStatus: 401
Set-Cookie: exchangecookie=<deleted for privacy>; expires=Thu,
25-Apr-2019 15:13:48 GMT; path=/; HttpOnly
X-FEProxyInfo: <deleted for privacy>.NAMPRD20.PROD.OUTLOOK.COM
X-CalculatedBETarget: <deleted for privacy>.namprd07.prod.outlook.com
X-BackEndHttpStatus: 401
X-RUM-Validated: 1
X-DiagInfo: <deleted for privacy>
X-BEServer: <deleted for privacy>
X-FEServer: <deleted for privacy>
X-Powered-By: ASP.NET
X-FEServer: <deleted for privacy>
WWW-Authenticate: Basic Realm="",Basic Realm="",Basic Realm=""
Date: Wed, 25 Apr 2018 15:13:53 GMT
Content-Length: 0
MESSAGE END <<<<<<<<<< HTTP - 2018-04-25T15:13:53.851001Z
(08:13:53) sipe: sipe_http_request_response_unauthorized: Basic
authentication has failed for host 'outlook.office365.com', please check
user name and password!
(08:13:53) sipe: sipe_ucs_http_response: code 0
(08:13:53) sipe: sipe_ucs_get_im_item_list_response: query failed,
contact list operations will not work!
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!