Created
February 26, 2016 22:32
-
-
Save flexgrip/71ef96ee4de1794c246b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Day 2 of trying to resolve marketing API bug...] | |
[email protected] | |
(651) 200-9755 | |
Hello all, | |
My name is Raymond Aguilar. I'm the head engineer at LeadPages™. For a little background, we make a landing page builder and optin-form generator called LeadBoxes™ which are widely used in the marketing industry. | |
Many of our top-level enterprise customers integrate their marketo accounts with our service so that anyone who fills out their capture forms are uploaded directly to their marketo account. | |
That being said, on form submit, that information hits our task queue where we are seeing errors while trying to submit the data to the marketo api. | |
This appears to be somewhat random and a portion of our customers are not affected. So it seems to have something to do with a certain endpoint or endpoint url that each customer has. We also saw some random SSL issues, but those could have just been normal network failures deep in the datacenter. | |
Anyway, these failures were not happening yesterday and via a little luck, we just so happened to not deploy anything today. That, coupled with what we're seeing in our logs indicate that there is some type of failure in the marketo api. | |
I'm attaching the logs to this email. This is one example of thousands of entries we have right now... all saying the same thing. "Connection closed by server". Please let me know if there is any further information I can provide to help you investigate. | |
Thanks so much! | |
Traceback (most recent call last): | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/forms/taskqueue.py", line 224, in post | |
form.submit(account, **params) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/forms/models.py", line 1108, in submit | |
integration.model.submit(model, client_ip, cookies) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 69, in submit | |
lead = self.api.POST("v1/leads.json", data={"input": [data]}) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 265, in POST | |
return self.call("POST", *args, **kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 239, in call | |
kwargs["headers"]["Authorization"] = "Bearer %s" % self.credentials.access_token | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 119, in access_token | |
return self.refresh_access_token() | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 142, in refresh_access_token | |
token, expires = MarketoAPI(self.key).fetch_access_token() | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 187, in fetch_access_token | |
}, identity=True) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 262, in GET | |
return self.call("GET", *args, **kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/leadpages/optins/marketo.py", line 250, in call | |
response = fn(URI, *args, **kwargs).json() | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/lib/requests/api.py", line 59, in get | |
return request('get', url, **kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/lib/requests/api.py", line 48, in request | |
return session.request(method=method, url=url, **kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/lib/requests/sessions.py", line 451, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/lib/requests/sessions.py", line 557, in send | |
r = adapter.send(request, **kwargs) | |
File "/base/data/home/apps/s~lead-pages/3-1-4a.390955673185523009/lib/requests/adapters.py", line 407, in send | |
raise ConnectionError(err, request=request) | |
ConnectionError: ('Connection aborted.', error('An error occured while connecting to the server: Connection closed unexpectedly by server at URL: https://644-PKX-778.mktorest.com/identity//oauth/token?client_secret=UrwvZ2nRmo269L0UGJsuaQhryb2Pm1l3&grant_type=client_credentials&client_id=953dc964-1991-432e-ae0f-a67b3f830ab1',)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment