Hi,

I just ran some tests, and I was on a Linux machine and couldn't reproduce 
the issue, whether I was using dev_appserver.py or gcloud.

Did you try running "gcloud preview app run" instead of dev_appserver.py? 
Does it give the same error?

Also, what version of the SDK are you using, and what OS are you on? I'm 
trying to setup a windows VM to try and run this with the Windows SDK to 
see if this could be the issue.

Cheers!

On Saturday, August 8, 2015 at 5:25:51 PM UTC-4, Krishna Chaitanya 
Kornepati wrote:
>
> I'm getting error even on official example. please help
>
> On Sunday, March 16, 2014 at 8:29:15 PM UTC+5:30, Vinny P wrote:
>>
>> On Thu, Feb 27, 2014 at 12:01 PM, Amaranth F <[email protected]> wrote:
>>
>>> My helloworld.py is like this:
>>>    response_headers = [('Content-Type', 'text/plain'),
>>>                        ('Content-Length', str(len(response_body)))]
>>>    start_response(status, response_headers)
>>>    return [response_body]
>>>
>>> then I ran "python dev_appserver.py proj/test" succeeded.
>>> but I got a BadStatusLine exception when I goto http://localhost:8080.
>>>
>>> Did anyone know how to solve this?
>>>
>>> BadStatusLine: ''
>>> Traceback (most recent call last):
>>>   File "e:\software\python27\lib\httplib.py", line 373, in _read_status
>>>     raise BadStatusLine(line)
>>>
>>>
>>
>>
>> The BadStatusLine error originates from httplib.py, and the source code 
>> for httplib ( http://hg.python.org/cpython/file/2.7/Lib/httplib.py 
>> scroll down to line 373) indicates this error occurs when the server closes 
>> the connection prematurely, or doesn't receive a valid response. 
>>
>> There may be an issue with your local dev environment. Can you try 
>> running the official helloword example application at 
>> https://github.com/GoogleCloudPlatform/appengine-helloworld-python and 
>> see if it works for you?
>>  
>>  
>> -----------------
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a9a8bc38-c423-47e8-ab17-38302235568f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to