question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using requests_toolbelt on App Engine to use Stream client

See original GitHub issue

Hi all,

We’re trying to integrate this library into our app, but have been having some issues because our app is hosted on Google App Engine Standard Environment. A similar issue was filed a few months ago and your team sent a PR to requests_toolbelt to fix the error, but the error is still there.

I followed the advice of the OP of issue #43 and changed line 9 in client.py and so far it seems to be working. Would it be possible to add this to the library?

Also, the fix your team merged into requests_toolbelt is no longer in their codebase, and manually adding that fix back in there produces a recursion error.

Steps to reproduce

Calling feed.add_activity(activity_data) without changing line 9 in client.py produces the following error:

ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))

Environment info

Operating System: Ubuntu 14.04 Python version: 2.7 Library version: requests-toolbelt==0.7.0 stream-python==2.3.9

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JelteFcommented, Jan 17, 2017

Good to hear, than I’ll close this issue once the patch is merged.

0reactions
JelteFcommented, Jan 17, 2017

It’s merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issuing HTTP(S) Requests | App Engine standard ...
When issuing a request to another App Engine app, your App Engine app must assert its identity by adding the header X-Appengine-Inbound-Appid to...
Read more >
requestsprotect T1 extunderscore toolbelt ... - requests toolbelt
This is a collection of utilities that some users of python-requests might need but do not belong in requests proper. The library is...
Read more >
Issues · requests/toolbelt - GitHub
A toolbelt of useful classes and functions to be used with python-requests - Issues ... The App Engine adapter silently ignores client certificates....
Read more >
Using requests in Google App Engine local development server
To use requests, you'll need to install both requests and requests-toolbelt using the vendoring instructions. Once installed, use the ...
Read more >
requests-toolbelt - PyPI
In reality, the toolbelt should work with 2.0.1 as well, but some idiosyncracies prevent effective or sane testing on that version. pip install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found