Note that there are some explanatory texts on larger screens.

plurals
  1. POEvery request hits server twice in Appengine
    primarykey
    data
    text
    <p>I have small app in appengine. Every request hits the server twice in my local dev server.<br> In debug mode i can see that the <strong>get</strong> method called twice.<br> Its happening in both chrome and firefox browsers. here is the log from my localserver.. </p> <pre><code>INFO 2011-03-12 00:44:31,076 dev_appserver.py:3317] "GET /movie/tanu_weds_manu/rating-review-video HTTP/1.1" 200 - INFO 2011-03-12 00:44:32,345 dev_appserver.py:3317] "GET /css/fb.css HTTP/1.1" 200 - INFO 2011-03-12 00:44:32,588 dev_appserver.py:3317] "GET /css/wianga-movie.0.1.css HTTP/1.1" 200 - INFO 2011-03-12 00:45:46,648 dev_appserver.py:3317] "GET /movie/tanu_weds_manu/rating-review-video HTTP/1.1" 200 - INFO 2011-03-12 00:45:46,911 dev_appserver.py:3317] "GET /img/wianga-fb-50.gif HTTP/1.1" 200 - INFO 2011-03-12 00:45:47,177 dev_appserver.py:3317] "GET /img/arrow_green.gif HTTP/1.1" 200 - INFO 2011-03-12 00:45:47,470 dev_appserver.py:3317] "GET /image/movie/tanu_weds_manu HTTP/1.1" 200 - INFO 2011-03-12 00:45:47,717 dev_appserver.py:3317] "GET /js/jquery.qtip-1.0.0-rc3.min.js HTTP/1.1" 200 - INFO 2011-03-12 00:45:47,970 dev_appserver.py:3317] "GET /js/wianga.0.1.js HTTP/1.1" 200 - INFO 2011-03-12 00:46:37,473 dev_appserver.py:3317] "GET /movie/tanu_weds_manu/rating-review-video HTTP/1.1" 200 - </code></pre> <p><strong>Updated</strong>: Its getting worse,i cheked the logs in app console.There it hits more than 3 times for a request. </p> <pre><code>handlers: - url: /favicon.ico static_files: static/img/favicon.ico upload: static/img/favicon.ico - url: /robots.txt static_files: static/robots.txt upload: static/robots.txt - url: /img static_dir: static/img - url: /images static_dir: static/images - url: /css static_dir: static/css - url: /js static_dir: static/js - url: /image/.* script: /wianga/pages/common/ImageController.py - url: /task/.* script: /wianga/pages/task/TaskController.py - url: /browse/.* script: /wianga/site/Browse.py - url: /movie/(.*)/rating-review-video/ script: /wianga/site/MoviePage.py - url: /movie/(.*)/rating-review-video script: /wianga/site/MoviePage.py - url: /404 script: /wianga/404/404.py - url: /api/.* script: /wianga/api/ApiController.py - url: /.* script: /wianga/site/Home.py </code></pre> <p>Am getting same behavior in hellowrld application from appengine turorial... <strong>App.yaml</strong></p> <pre><code>version: 1 runtime: python api_version: 1 handlers: - url: /.* script: helloworld.py </code></pre> <p><strong>Log for hello world example for single request...</strong></p> <pre><code>INFO 2011-03-12 06:08:06,299 dev_appserver_main.py:507] Running application wianga-movie on port 8080: http://localhost:8080 INFO 2011-03-12 06:08:12,506 dev_appserver.py:3317] "GET / HTTP/1.1" 200 - INFO 2011-03-12 06:08:13,721 dev_appserver.py:3317] "GET / HTTP/1.1" 200 - INFO 2011-03-12 06:08:13,838 dev_appserver.py:3317] "GET /favicon.ico HTTP/1.1" 200 - INFO 2011-03-12 06:08:13,953 dev_appserver.py:3317] "GET / HTTP/1.1" 200 - </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload