Giter VIP home page Giter VIP logo

bs2grproxy's People

bs2grproxy's Issues

Resources not loading in Safari and Firefox.

What steps will reproduce the problem?
1. Set the TARGET_HOST
2. Deploy app
3. test app on chrome and 

What is the expected output? What do you see instead?
The supposedly cached content loads in chrome but not in any other browser. So 
I see the HTML on all pages and the CSS but the images only show in chrome and 
not in safari or firefox.

The files are being stored in the datacache but it doesn't look like they're 
being retrieved.

I think it might just be that the 

What version of the product are you using? On what operating system?
OSX snow leopard with latest versions of all browsers.

Please provide any additional information below.
ERROR    2012-07-11 17:24:12,019 traceback.py:13]   File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handler
s.py", line 86, in run
ERROR    2012-07-11 17:24:12,019 traceback.py:13]     self.finish_response()
ERROR    2012-07-11 17:24:12,019 traceback.py:13]   File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handler
s.py", line 127, in finish_response
ERROR    2012-07-11 17:24:12,020 traceback.py:13]     self.write(data)
ERROR    2012-07-11 17:24:12,020 traceback.py:13]   File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handler
s.py", line 202, in write
ERROR    2012-07-11 17:24:12,020 traceback.py:13]     assert type(data) is 
StringType,"write() argument must be string"
ERROR    2012-07-11 17:24:12,020 traceback.py:13] AssertionError: write() 
argument must be string


Also I'm seeing a lot of this:
WARNING  2012-07-11 17:14:21,802 urlfetch_stub.py:444] Stripped prohibited 
headers from URLFetch request: ['Content-Length', 'Host']

Original issue reported on code.google.com by [email protected] on 11 Jul 2012 at 5:35

Patch for cookie processing

What steps will reproduce the problem?
There is a bug with GAE's URL Fetch API (see googleappengine Issue 3379), which 
results in a unparsable Set-Cookie header and makes User-Agent confused when 
upstream server is sending multiple cookies.
This is the main reason that bs2grproxy cannot be used with some web apps which 
require a cookie-based session.

What is the expected output? What do you see instead?
When upstream server is going to set multiple cookies, they typically send a 
HTTP response with multiple "Set-Cookie" header. However, the URL Fetch API 
makes all those headers collapsed to a single line, which is unparsable to 
client. So users are unable to get logged in to some web apps.

What version of the product are you using? On what operating system?
1.2 in Downloads, marked as Featured.

Please provide any additional information below.
I have made a patch handling this additional cookie process. It relies on a 
little tricky and hard-coded regular expression because there is no obvious way 
to get original header from the "collapsed and unparsable" one. Please refer to 
attached file.

Original issue reported on code.google.com by [email protected] on 7 Feb 2012 at 8:01

Attachments:

Please Enable Cookies to Continue

What steps will reproduce the problem?
1. Point host to www.amazon.com
2. Attempt to sign in
3. Receive message: Please Enable Cookies to Continue

What is the expected output? What do you see instead?
Expect to login, But redirected to cookie warning page.

What version of the product are you using? On what operating system?
Using gs2grproxy 1-2 on GAE

Please provide any additional information below.
Need to enable/relay cookies?

Original issue reported on code.google.com by [email protected] on 1 May 2011 at 12:45

反向代理到论坛时无法注册

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
在反向代理的论坛注册时,提示“您的请求来路不正确或验��
�字串不符,无法提交”。

What version of the product are you using? On what operating system?
提交本问题时的最新版,Win7 x64,Firefox 3.6。

Please provide any additional information below.
我想是不是cookie或者user-agent的处理上的问题。

Original issue reported on code.google.com by [email protected] on 30 Jan 2010 at 3:11

Patch for sites with hard code url

What steps will reproduce the problem?
Many web apps need a hard code url to work. 
Such as, it needs a fixed "domain.com" in a certain setting.

What is the expected output? What do you see instead?
On a proxy site, the hard code url makes a user leave the proxy to the original.
For example: 
A proxy site of "domain.com" is named as "domain.appspot.com".
The "domain.com" needs hard code url "domain.com" or "http://domain.com" in its 
settings.
On "domain.appspot.com", clicking a hard code link "http://domain.com/xxx" 
directly lead users leave "domain.appspot.com" to the original "domain.com".

What version of the product are you using? On what operating system?
1.2 in Downloads, marked as Featured.

Please provide any additional information below.
I have built a patch. Please refer to attached file.

Original issue reported on code.google.com by [email protected] on 28 Aug 2010 at 5:14

Attachments:

Please add HTTP_X_FORWARDED_FOR header to the requests to the backend

What steps will reproduce the problem?
1. in the backend print the server vars
2. open the site
3. view the server vars: there isn't the client ip anywhere!

What is the expected output? What do you see instead?
see the header HTTP_X_FORWARDED_FOR

What version of the product are you using? On what operating system?
1.2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Aug 2011 at 6:44

麻烦作者联系我

Sorry for spam here

我的网站现在受到SYN攻击,找了很多途径都没能解决问题
现在想通过app engine reverse proxy来保护主服务器
问题是这个版本不支持cookie
如果方便请您联系我,高价求购二次开发

我的邮箱 [email protected]

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 12:17

I'm New to this lol :P

What steps will reproduce the problem?
1. being me
2. trying to figure this out
3. having no actual clue what is going on

ok so in other words im new and im not sure what to change where to make the 
mirror know what url to mirror.
what im trying to do is mirror a proxy site i set up using google appengine so 
that if it goes down there will be a mirror for anyone going to the site to be 
redirected to.
can you help me do this? i have no clue what settings to change in either app.
my email is [email protected] if you would rather be nice and contact me 
there :)
thanks everybody :)


Original issue reported on code.google.com by [email protected] on 23 Jan 2012 at 10:25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.