Questions tagged [dev-appserver]

83 questions
3
votes
2 answers

Moved Permanently error when running dev_appserver.py

I am trying the basic helloworld example (https://developers.google.com/appengine/docs/python/gettingstartedpython27/helloworld) and keep getting the HTTP Error 301: Moved Permanently error whenever I try to test my code using dev_appserver.py The 2…
Verma
  • 956
  • 6
  • 21
3
votes
2 answers

"getaddrinfo() argument 1 must be string or None" error starting dev_appserver.py on Linux

I'm getting re-started with App Engine after not having used it in a while. I'm using the 64-bit Linux Go runtime, version 1.8.1. I believe I'm following the steps from the documentation correctly, and I believe I'm doing what's worked correctly in…
Darshan Rivka Whittle
  • 32,989
  • 7
  • 91
  • 109
3
votes
1 answer

python app engine dev_appserver is unavailable (1.7.6)

Although the log says the dev_appserver has started browsers can't connect to it. *** Running dev_appserver with the following flags: --skip_sdk_update_check=yes --port=9090 --admin_port=9000 Python command: /usr/bin/python2.7 INFO …
user1791567
  • 1,388
  • 1
  • 16
  • 29
3
votes
0 answers

How to force GZIP for Development Google Appengine Server

My code can get gzip content from google appengine server, but it gets the full size from localhost (appengine dev server). It looks it using jetty as web server. Is it possible to force localhost to use gzip?
atu0830
  • 405
  • 7
  • 15
2
votes
1 answer

Google App Engine dev_appserver.py + Cloud Datastore Emulator: crash on startup without log warnings or errors (exit status 245)

I'm trying to run the Google App Engine local development server (dev_appserver.py) together with the Cloud Datastore Emulator. Environment: Ubuntu 22.04.1 LTS on WSL (Windows 11 Pro 22621.1265) /usr/bin/python2 --version: 2.7.18 ./venv/bin/python2…
2
votes
0 answers

Handling jUnit exceptions with DevAppServer

I am having an issue using jUnit tests and handling exceptions in Java. I created my TestClass with both the annotations @RunWith(DevAppServerTestRunner.class) and @DevAppServerTest(TestConfig.class) since I need to test a method that use some…
2
votes
1 answer

How to make golang gin work with google app engine?

My GOPATH is $HOME/go, I put my project's source code in $HOME/go/src/myproj and there are two files: app.yaml: application: hello version: 1 runtime: go api_version: go1 handlers: - url: /.* script: _go_app and hello.go package hello import ( …
2
votes
1 answer

InvalidAppConfigError: Duplicate module: my-service

My computer (Windows 10) hosting my VM (Ubuntu 16.04) restarted last night (because Windows is a jerk) and now I can't seem to run my service locally. This was running fine yesterday and I haven't changed a single line of code. Only thing that…
tmwoods
  • 2,353
  • 7
  • 28
  • 55
2
votes
1 answer

Google App Engine: No module named setup

I am new to GAE and while doing a course, I needed to install it on my system. I followed the instructions on the GAE website, and it successfully installed on my Ubuntu 17.04 system. Now, I created a folder with the name first-app with the files…
2
votes
1 answer

dev_appserver using goroot 1.6 instead of 1.8

I just updated google-cloud-sdk, and now dev_appserver is using goroot 1.6 instead of 1.8 so a bunch of stuff is not being recognised. Have looked all over the place, how do I tell dev_appserver to use goroot 1.8 instead of 1.6 ? It seems incredibly…
2
votes
2 answers

Workaround for dev_appserver.py inability to make SSL requests

Ran into this problem trying to call braintree.ClientToken.generate() from a Google App Engine app, running Flask on dev_appserver.py. dev_appserver.py can't currently make outgoing SSL connections. Making the above braintree call…
brandones
  • 1,847
  • 2
  • 18
  • 36
2
votes
1 answer

I can't create a Google Cloud Storage file working on "dev_appserver.py."

I caught an error as below. INFO ~ module.py:639] default: "HEAD /_ah/gcs/app_default_bucket/multibytes.txt HTTP/1.1" 404 - ERROR ~ gcs.py:99] Expect status [200] from Google Storage. But got status 404. Path:…
1
vote
0 answers

Error when trying to register entity in datastore (app engine) localhost

I'm getting this error in response to my attempt to put an entity this also occurs in queries, as if my application was not connected to the datastore emulator error: Maximum number of 3 retries exceeded while calling
1
vote
1 answer

service bridge HTTP failed error when using dev_appserver.py

I have an appengine app that I've upgraded to Go 1.20 and the latest Google Cloud API. It still works if I deploy it, but when I run it locally using dev_appserver.py I get this error whenever it makes an API call: 2023/04/16 17:27:52 ERROR:…
1
vote
3 answers

Devappserver: Attempted RPC call without active security ticket

We're in the migration process from webapp2 to the latest version of Django. We want to keep using legacy services like Appengine NDB for now before we move to the latest technologies. For running the development environment locally I am using…