Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31941

Got a 503/cancel when Jenkins sends a message to Google Hangout

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: jabber-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.639, jabber notifier plugin 1.35
    • Similar Issues:

      Description

      XMPP connection seems up and running, but messages can't be sent.

      Here are some redacted logs for readability:

      SENT: <iq id='4l5Fc-1817' to='gmail.com' type='get'><ping xmlns='urn:xmpp:ping' /></iq>
      RECV: <iq to="jenkins.42@gmail.com/C8104414" from="gmail.com" id="4l5Fc-1817" type="result"/>
      RCV PKT: <iq id='4l5Fc-1817' to='jenkins.42@gmail.com/C8104414' from='gmail.com' type='result'></iq>
      RECV: <presence from="2ig1zudk24mek1cypz9m4ev01o@public.talk.google.com/messaging-lcsw_hangouts742B010D" to="jenkins.42@gmail.com"><x xmlns="vcard-temp:x:update"><photo>41187abf8d69378ae881bd8e45839878553fdbbf</photo></x></presence>
      RCV PKT: <presence to='jenkins.42@gmail.com' from='2ig1zudk24mek1cypz9m4ev00o@public.talk.google.com/messaging-lcsw_hangouts742B010D'><x xmlns='vcard-temp:x:update'><photo>41187abf8d69378ae881bd8e45839878553fdbbf</photo></x></presence>
      RECV:
      SENT: <iq id='4l5Fc-1818' type='get'><ping xmlns='urn:xmpp:ping' /></iq>
      RECV: <iq to="jenkins.42@gmail.com/C8104414" id="4l5Fc-1818" type="result"/>
      RCV PKT: <iq id='4l5Fc-1828' to='jenkins.42@gmail.com/C8104414' type='result'></iq>
      RECV:
      SENT: <iq id='4l5Fc-1819' type='get'><ping xmlns='urn:xmpp:ping' /></iq>
      RECV: <iq to="jenkins.42@gmail.com/C8104414" id="4l5Fc-1819" type="result"/>
      RCV PKT: <iq id='4l5Fc-1819' to='jenkins.42@gmail.com/C8104414' type='result'></iq>
      SENT: <presence id='4l5Fc-1820'><status>Working: 1 out of 5 executors are busy.</status><priority>1</priority><show>away</show><nick xmlns="http://jabber.org/protocol/nick">jenkins.42</nick></presence>
      RECV:
      SENT: <message id='4l5Fc-1821' to='julien@example.com' type='chat'><body>Project p build #71: SUCCESS in 3 min 6 sec: https://jenkins.example.com/job/p/71/
      samuel: Player: enable group</body><thread>redacted</thread></message>
      RECV: <message id="4l5Fc-1821" to="jenkins.42@gmail.com/C8104414" type="error" from="julien@example.com"><body>Project p build #71: SUCCESS in 3 min 6 sec: https://jenkins.example.com/job/p/71/
      samuel: Player: enable group</body><thread>redacted</thread><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message>

      Obviously I accpeted the Jenkins account in my google account, and already chatted between jenkins (logged on a browser) and me to test them.

      I suspect that it's just Google refusing messages without telling us why, but why...

        Attachments

          Activity

          Hide
          equick Edward Quick added a comment -

          I have the same issue, and can't get notifications to work with Jabber.

          Feb 18, 2016 10:28:59 AM INFO hudson.plugins.jabber.im.transport.JabberIMConnection connect
          
          Connected to XMPP on null:0/gmail.com using secure connection
          
          Feb 18, 2016 10:28:59 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          SENT: <presence id='1CNFR-119' type='unavailable'><nick xmlns="http://jabber.org/protocol/nick">quick</nick></presence>
          
          Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          SENT: <message id='1CNFR-120' to='quick@gmail.com' type='chat'><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread></message>
          
          Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          RECV: <message id="1CNFR-120" to="quick@gmail.com/F2F98311" type="error" from="quick@gmail.com"><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message>
          
          Feb 18, 2016 10:29:23 AM FINEST hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          RCV PKT: <message id='1CNFR-120' to='quick@gmail.com/F2F98311' from='quick@gmail.com' type='error'><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message>
          
          Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          RECV:  
          
          Feb 18, 2016 10:31:36 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger
          
          RECV:  
          
          
          Show
          equick Edward Quick added a comment - I have the same issue, and can't get notifications to work with Jabber. Feb 18, 2016 10:28:59 AM INFO hudson.plugins.jabber.im.transport.JabberIMConnection connect Connected to XMPP on null:0/gmail.com using secure connection Feb 18, 2016 10:28:59 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger SENT: <presence id='1CNFR-119' type='unavailable'><nick xmlns="http://jabber.org/protocol/nick">quick</nick></presence> Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger SENT: <message id='1CNFR-120' to='quick@gmail.com' type='chat'><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread></message> Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger RECV: <message id="1CNFR-120" to="quick@gmail.com/F2F98311" type="error" from="quick@gmail.com"><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message> Feb 18, 2016 10:29:23 AM FINEST hudson.plugins.jabber.im.transport.JabberConnectionDebugger RCV PKT: <message id='1CNFR-120' to='quick@gmail.com/F2F98311' from='quick@gmail.com' type='error'><body>Project gameoflife-default build #15: STILL UNSTABLE in 47 sec: http://localhost:8080/job/gameoflife-default/15/</body><thread>c5107486-f574-450f-9dca-a11abf295bfa</thread><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message> Feb 18, 2016 10:29:23 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger RECV: Feb 18, 2016 10:31:36 AM FINE hudson.plugins.jabber.im.transport.JabberConnectionDebugger RECV:
          Hide
          flow Florian Schmaus added a comment -

          RECV: <message id="4l5Fc-1821" to="jenkins.42@gmail.com/C8104414" type="error" from="julien@example.com">

           

          That looks like google/gtalk/gmail refusing to send messages to third party domains (example.com).

          Since Google is continuously restricting the XMPP functionality, there is most likely not much we can do about it. 

          Show
          flow Florian Schmaus added a comment - RECV: <message id="4l5Fc-1821" to="jenkins.42@gmail.com/C8104414" type="error" from="julien@example.com">   That looks like google/gtalk/gmail refusing to send messages to third party domains (example.com). Since Google is continuously restricting the XMPP functionality, there is most likely not much we can do about it. 

            People

            • Assignee:
              flow Florian Schmaus
              Reporter:
              sizeof Julien Palard
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: