Can't connect to my Lync account

Help
Quezako
2013-03-13
2013-03-28
  • Quezako
    Quezako
    2013-03-13

    Hello,

    I've tried to add and configure my Lync account o pidgin, but I can't connect, I'm not sure weither it is bad credential, bas exchange address or bad proxy address.

    The following address works for my domain:
    http://lyncdiscover.domain.com/?sipuri=sip:user@domain.com

    Here is my debug log:

    MESSAGE END >>>>>>>>>> SIP - 2013-03-13T13:21:20.326137Z
    (14:21:20) sipe: transport_input_common: new buffer length 4096
    (14:21:20) sipe: Server has disconnected
    (14:21:20) connection: Connection error on 05704478 (reason: 0 description: Le serveur s'est dÚconnectÚ)
    (14:21:20) account: Disconnecting account user@domain.com,AD-DOMAIN\aduser (037CD528)
    (14:21:20) connection: Disconnecting connection 05704478
    (14:21:20) sipe: SIP transactions count:0 after removal
    (14:21:20) sipe: sipe_schedule_remove: action name=<transaction timeout><6F15g6D2Ba1FC7i029Em702At7521b32A8x2AADx><1 REGISTER>
    (14:21:20) GLib: g_hash_table_destroy: assertion `hash_table != NULL' failed
    (14:21:20) connection: Destroying connection 05704478
    (14:21:26) util: Writing file accounts.xml to directory D:\Donnees\portable_apps\PortableApps\PidginPortable\Data\settings\.purple
    (14:21:26) util: Writing file D:\Donnees\portable_apps\PortableApps\PidginPortable\Data\settings\.purple\accounts.xml
    (14:31:20) autorecon: do_signon called
    (14:31:20) autorecon: calling purple_account_connect
    (14:31:20) account: Connecting to account user@domain.com,AD-DOMAIN\aduser.
    (14:31:20) connection: Connecting. gc = 05704738
    (14:31:20) sipe: sipe_purple_login: username 'user@domain.com,AD-DOMAIN\aduser'
    (14:31:20) sipe: sipe_purple_login: login 'AD-DOMAIN\aduser'
    (14:31:20) sipe: sipe_purple_login: auth domain 'AD-DOMAIN' user 'aduser'
    (14:31:20) sipe: sipe_core_allocate: signin_name 'user@domain.com'
    (14:31:20) sipe: sipe_core_allocate: user 'user' domain 'domain.com'
    (14:31:20) dnssrv: querying SRV record for domain.com: _sipinternal._tcp.domain.com
    (14:31:20) autorecon: done calling purple_account_connect
    (14:31:20) dnssrv: Couldn't look up SRV record. Le nom DNS nÆexiste pas. (9003).
    (14:31:20) dnssrv: querying SRV record for domain.com: _sip._tcp.domain.com
    (14:31:20) dnssrv: Couldn't look up SRV record. Le nom DNS nÆexiste pas. (9003).
    (14:31:20) sipe: no SRV records found; trying A records next
    (14:31:20) dnsquery: Performing DNS lookup for sipinternal.domain.com
    (14:31:21) dnsquery: Erreur Ó la rÚsolution du nom sipinternal.domain.comá: 11001
    (14:31:21) dnsquery: Performing DNS lookup for sipexternal.domain.com
    (14:31:21) dnsquery: Erreur Ó la rÚsolution du nom sipexternal.domain.comá: 11001
    (14:31:21) dnsquery: Performing DNS lookup for sip.domain.com
    (14:31:28) dnsquery: Erreur Ó la rÚsolution du nom sip.domain.comá: 11001
    (14:31:28) sipe: no SRV or A records found; using SIP domain as fallback
    (14:31:28) sipe: transport_connect - hostname: domain.com port: 5060
    (14:31:28) sipe: using TCP
    (14:31:28) dnsquery: Performing DNS lookup for internet
    (14:31:28) dnsquery: IP resolved for internet
    (14:31:28) proxy: Attempting connection to 10.28.38.28
    (14:31:28) proxy: Connecting to domain.com:5060 via internet:80 using HTTP
    (14:31:28) proxy: Connection in progress
    (14:31:28) proxy: Connected to domain.com:5060.
    (14:31:28) proxy: Using CONNECT tunneling for domain.com:5060
    (14:31:28) proxy: HTTP proxy connection established
    (14:31:28) proxy: Connected to domain.com:5060.
    (14:31:28) stun: using server
    (14:31:28) stun: using server
    (14:31:28) stun: using server
    (14:31:28) sipe: sipe_schedule_allocate timeouts count 1 after addition
    (14:31:28) sipe: scheduling action <transaction timeout><712Dg7EB0a34CAi0681m7538t4A73b675Cx523Cx><1 REGISTER> timeout 60 seconds
    (14:31:28) sipe: SIP transactions count:1 after addition
    (14:31:28) sipe:
    MESSAGE START >>>>>>>>>> SIP - 2013-03-13T13:31:28.470574Z
    REGISTER sip:domain.com SIP/2.0
    Via: SIP/2.0/tcp 10.37.180.71:58198;branch=z9hG4bK754A3A4358D56D447DDD
    From: <sip:user@domain.com>;tag=178680813;epid=bcfbabfa3c3d
    To: <sip:user@domain.com>
    Max-Forwards: 70
    CSeq: 1 REGISTER
    User-Agent: Purple/2.10.7 Sipe/1.15.0 (win-i386; )
    Call-ID: 712Dg7EB0a34CAi0681m7538t4A73b675Cx523Cx
    Contact: <sip:10.37.180.71:58198;transport=tcp;ms-opaque=d3470f2e1d>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER,
    BENOTIFY";proxy=replace;+sip.instance="<urn:uuid:adfa9f59-18f7-5037-8abd-af98809740ef>"
    Supported: gruu-10, adhoclist, msrtc-event-categories, com.microsoft.msrtc.presence
    Event: registration
    Allow-Events: presence
    ms-keep-alive: UAC;hop-hop=yes
    Content-Length: 0

    MESSAGE END >>>>>>>>>> SIP - 2013-03-13T13:31:28.470574Z
    (14:31:28) sipe: transport_input_common: new buffer length 4096
    (14:31:28) sipe: Server has disconnected
    (14:31:28) connection: Connection error on 05704738 (reason: 0 description: Le serveur s'est dÚconnectÚ)
    (14:31:28) account: Disconnecting account user@domain.com,AD-DOMAIN\aduser (037CD528)
    (14:31:28) connection: Disconnecting connection 05704738
    (14:31:28) sipe: SIP transactions count:0 after removal
    (14:31:28) sipe: sipe_schedule_remove: action name=<transaction timeout><712Dg7EB0a34CAi0681m7538t4A73b675Cx523Cx><1 REGISTER>
    (14:31:28) GLib: g_hash_table_destroy: assertion `hash_table != NULL' failed
    (14:31:28) connection: Destroying connection 05704738
    (14:31:34) util: Writing file accounts.xml to directory D:\Donnees\portable_apps\PortableApps\PidginPortable\Data\settings\.purple
    (14:31:34) util: Writing file D:\Donnees\portable_apps\PortableApps\PidginPortable\Data\settings\.purple\accounts.xml

    Thanks for your help.

     
  • Stefan Becker
    Stefan Becker
    2013-03-14

    From the log I can see that you have selected "TCP" for transportation mode, which is wrong for 99.99999% of OCS users.

    Please read "How to set up an Account" and "Frequently Asked Questions". Please ignore any information you have read on "how to set up pidgin-sipe accounts" pages you found on the Internet.