[google-appengine] Re: Seeing a lot of ApplicationError 2 errors since maintenance?
I'm getting spurious urlfetch.Error exceptions that say they are ApplicationError: 2 The relevant bit of python code: try: fetch_result = urlfetch.fetch(payment_server, deadline=10, method="POST", payload=secret +json_string, headers={ 'Content-Type' : 'text/ plain' }) except urlfetch.Error, e: logging.error('make_bitcoin_request failed: '+str(e)) logging.error('Request:'+json_string) return None Log of a typical error: # 213.221.6.130 - - [15/Jun/2010:05:56:50 -0700] "GET / HTTP/1.1" 200 1391 - "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/ 533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4,gzip(gfe)" "freebitcoins.appspot.com" # E 06-15 05:56AM 50.232 make_bitcoin_request failed: ApplicationError: 2 # E 06-15 05:56AM 50.233 Request:{"params": [],"jsonrpc":"2.0","id":"1276606609.99","method":"getbalance"} Note that the ApplicationError: 2 is the exception thrown by the urlfetch.fetch() call. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Seeing a lot of ApplicationError 2 errors since maintenance?
Oh, and forgot to mention: if it makes any difference, these are https (SSL) fetches. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Request log retention: are they archived at Google?
I'm writing a privacy policy for a new App Engine app that I'm developing, and would like to say something specific about how long Google retains logs linking IP addresses to requests that are routed to my application. A while ago in another thread Jeff S said: "The admin console has a fixed amount of space set aside for your logs..." Does Google archive request logs, or (I hope!) are they gone forever unless I actively download and archive them myself? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] torrent-server : store and serve really big files using BitTorrent
I wanted to learn more about App Engine and the BitTorrent protocols, and I figured the best way to learn is by doing. So I've created 'torrent-server'; it lets you: Upload arbitrarily large files into the App Engine datastore (using a command-line python client and the App Engine remote_api, splitting them up into pieces smaller than the maximum datastore BLOB size). Download them using a BitTorrent client that supports the BitTorrent "webseed" protocols (you can also download directly via HTTP if the file is smaller than the 10MB App Engine response limit). Downloading large, popular files this way will save you bandwidth costs, because the BitTorrent clients will try to get the file from each other first, and only use your server if they can't find other clients that have (or are downloading) pieces of the file. I also incorporated Allen Porter's "open-tracker" code, so torrent- server acts as a self-contained BitTorrent serving and tracking solution. Code is available (via svn checkout) at: http://code.google.com/p/torrent-server/ You can see it running at: http://torrent-server.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: torrent-server : store and serve really big files using BitTorrent
On Jan 8, 8:04 pm, OvermindDL1 wrote: > Oh that is fascinating, could definitely cut down on bandwidth costs > if they share with each other too. Do you throttle the server so it > does not send at max speed so the clients are more apt to get from > each other? No, I don't implement any kind of client throttling; the BitTorrent clients I've tested with (Transmission and Azureus) are both very 'polite' (Transmission excessively so-- large files download very slowly because it bends over backwards not to overload the server). I'm hoping to get help testing this with other BitTorrent clients... (hint hint) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.