Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-99

OPTUS: Account creation failed - ADS throws exception - "AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; trigger:'<null>' " after listener was idle for more than 5 days

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      QA Environment

      tsa-build-bidmgr-2012-12-13-p14-ra39ef05c9c20e259ba474e1a95e814eafbef509c

      Description

      Account creation failed - ADS throws exception - "AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; trigger:'<null>' " after listener was idle for more than 5 days.

      Snippet of Jboss log :

      ayload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:publishDeployResultRequest xmlns:ns2="http://staffware.proxy.oda.isdp.optus.com/"><header><requestID>1</requestID><retryID>1</retryID></header><source>admax</source><customerID>12345-6789019</customerID><deployResult><type>return_code</type><result><resultCode>failure</resultCode></result><time>2013-01-02T20:42:00.634</time></deployResult><campaignResultList><campaignID>test257-1</campaignID><campaignResult><resultCode>failure</resultCode><resultString>Information: [test257-1_GT:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_GM:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_MO:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= </resultString></campaignResult></campaignResultList></ns2:publishDeployResultRequest></soap:Body></soap:Envelope>
      --------------------------------------
      20:42:00,647 INFO [DeployCallbackImpl] Executing operation publishDeployResult
      20:42:00,647 INFO [STDOUT] com.thesearchagency.optus.service.callback.service.PublishDeployResultRequest@22a9c32c
      20:42:00,649 INFO [LoggingInInterceptor] Inbound Message
      ----------------------------
      ID: 1705
      Response-Code: 200
      Encoding: UTF-8
      Content-Type: text/xml;charset=UTF-8
      Headers:

      {content-type=[text/xml;charset=UTF-8], Date=[Wed, 02 Jan 2013 09:42:00 GMT], Content-Length=[890], X-Powered-By=[Servlet 2.5; JBoss-5.0/JBossWeb-2.1], Server=[Apache-Coyote/1.1]}

      Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:publishDeployResultResponse xmlns:ns2="http://staffware.proxy.oda.isdp.optus.com/"><asyncHeader><requestID>1</requestID><retryID>1</retryID></asyncHeader><result><resultCode>failure</resultCode><resultString>[Information: [test257-1_GT:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_GM:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_MO:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= ]</resultString></result></ns2:publishDeployResultResponse></soap:Body></soap:Envelope>
      --------------------------------------
      20:42:00,650 DEBUG [CallbackEventAdapterOptus] Received PublishDeployStatusResp. Indicated result: MESSAGE_FAULT
      20:42:00,650 DEBUG [CallbackEventAdapterOptus] Campaign Result: test257-1=Information: [test257-1_GT:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_GM:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= [test257-1_MO:FAILED] [Google API error, type=Campaign, errorCode=0, errorText=AuthenticationError, reason=AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID, field= FAILURE
      20:42:00,650 ERROR [AdMaxDeploymentResponseMDB] Recieved a message fault result from the ESB! (you should look into this).
      20:42:00,650 ERROR [AdMaxDeploymentResponseMDB] Error during response. Message will be replayed.
      java.lang.Exception: ESB error.
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.handlePublishDeployStatus(AdMaxDeploymentResponseMDB.java:186)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.handleDeployResults(AdMaxDeploymentResponseMDB.java:143)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.onMessage(AdMaxDeploymentResponseMDB.java:117)
      at sun.reflect.GeneratedMethodAccessor1281.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      at sun.reflect.GeneratedMethodAccessor438.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_702176613.invoke(InvocationContextInterceptor_z_fillMethod_702176613.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_702176613.invoke(InvocationContextInterceptor_z_setup_702176613.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

      Listener Log :

      013-01-02 20:57:58.360 (4) [P35T1]: Quota recorded for seUser #57471: 0 quota used for resource ID 222
      2013-01-02 20:57:58.361 (4) [P35T1]: Exception [handling exception thrown by google...]:com.thesearchagency.searchengines.SearchEngineCommandException: [AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; trigger:'<null>']
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.setCampaignAdExtensions(GoogleAdWordsAPI.java:4109)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.CampaignAdExtensionChangeRequest.sendRequest(CampaignAdExtensionChangeRequest.java:39)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.CampaignAdExtensionChangeRequest.sendRequest(CampaignAdExtensionChangeRequest.java:18)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:112)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.handleCampaignSiteLinks(GoogleContentEditor.java:1104)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.run(GoogleContentEditor.java:889)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: [AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; trigger:'<null>']
      at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
      at com.google.api.adwords.v201206.cm.ApiException.getDeserializer(ApiException.java:142)
      at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
      at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
      at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
      at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at com.google.api.adwords.v201206.cm.CampaignAdExtensionServiceSoapBindingStub.mutate(CampaignAdExtensionServiceSoapBindingStub.java:999)
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.setCampaignAdExtensions(GoogleAdWordsAPI.java:4077)
      ... 11 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                atul.sanagar Atul Sanagar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: