[google-appengine] Following a course and have been told to use Google App engine to display a message in the browser - don't know where to start. Guidance?
Very annoyed TBH as the course didn't say anything about how I'm meant to this, provide and documentation links or guidance. However - I'm basically meant to create / download / install Google App engine so that the web page displays *Hello, Udacity!* I don't have a clue what I'm doing though. I've created a project from this link : https://appengine.google.com/start/createapp So I've got a Dashboard - but I've no idea where I'm meant to input code - display it in the browser or anything of the sort. I'm a beginner programmer, I've written some C and PHP. I'm meant to be using the Python version. I keep seeing things about the app.yaml file but I don't know what this is, where it's meant to be. Am I meant to create it from scratch / download a template?? Any help very much appreciated -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Returning custom HTTP status codes from endpoints
I return custom wrapper object with a field for my own internal status codes. The wrapper object is a generic class so the playload/data can be whatever I need to return. Essentially unless something goes wrong my Endpoints always return 200. The caller has to inspect the object returned to get the true status code. It works fine but I loose a bit of type safety from my endpoints as it's not always clear what type of data the endpoint returns. On Tuesday, May 27, 2014 4:06:44 PM UTC-4, Matthew Flint wrote: Hello team, We all love REST-full-ness, so I'd like to return more REST-ful status codes from my endpoints. (Example: 201 CREATED from a POST endpoint which creates a resource). But I can't find any way to set the HTTP status code. Can anyone help please? Some other (sad-path) status codes seem to be driven by throwing an exception - eg. NotFoundException causes a 404. But I want to return a different status code *and* XML/JSON in the response. Thanks all! Matthew -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Apps No Longer Free
This no longer works for me. After 9 attempts to go through the Captcha, I gave up. Yes, literally 9. On Thursday, December 6, 2012 6:42:42 PM UTC-8, Greg wrote: Just saw that Google Apps is no longer free for businesses http://googleenterprise.blogspot.co.nz/2012/12/changes-to-google-apps-for-businesses.html . I have no problem paying for a Google Apps account where I actually use Google apps, but at the moment you have to have a Google Apps account to link a domain to an Appengine app. Some of our apps have two or three domains showing the same app, and because you need to have an account for each email address that Appengine sends email from, we have three or four accounts per domain. So this is potentially going to add $600 per year to our costs - all for virtual accounts that don't actually use Google Apps at all. Can someone from Google comment please? Either Google Apps accounts need to remain free if they are associated with Appengine apps, or there needs to be another way to link domains (and authorise email addresses) for Appengine. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: gae billing vs. cloud billing
Hi James, Yes, we are planning to move billing for existing applications that are currently billed through the App Engine admin console to the Developers Console. This should happen in the coming weeks. If an app has billing set up both in the App Engine admin console and for other cloud services in the project (what you referred to as cloud billing) we will begin billing these solely through the billing account of the project. This will allow you to manage billing for both the application and the other cloud services in the project in a single billing account in the Developers Console https://console.developers.google.com/billing. We will notify affected developers when we make this change, in the next few weeks. After the change has been made, you will still be able to access the original billing history of the App Engine application via the billing tab in the Developers Console. You should verify that your billing details are up to date in the Developers Console https://console.developers.google.com/billing. If you need to update your form of payment on any billing account, please follow the instructions here https://support.google.com/cloudbilling/answer/4356091. Regards, Dan Stokeley Cloud Platform Billing Product Manager On Friday, 6 June 2014 08:25:15 UTC-7, James Gilliam wrote: For new appid's we are required to use cloud billing and old appids are using gae billing -- confusing? yes Will the old billing be moved to cloud billing or is this something we can do to make this happen? Also, what happens if an appid has both gae billing and cloud billing for other cloud services? Any help would be appreciated. Thanks -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains
Hi Andrew, Nice to hear that naked domains are now supported too. Given a free choice, is there any reason to prefer www.example.com over example.com? I'm new to the issue and just noticed some other providers advise against naked domains for scalability reasons: e.g.: https://devcenter.heroku.com/articles/apex-domains Or is this not a concern on App Engine? Thanks, Mark On Monday, 14 April 2014 22:18:44 UTC+10, Andrew Jessup wrote: Hi Igor - actually we do. See Step 2 in under App Engine Settings Custom Domains On Mon, Apr 14, 2014 at 5:21 AM, Igor Kharin igork...@gmail.com javascript: wrote: Hello Andrew, I believe you've mistakenly closed an issue unrelated to this one -- issue #777 https://code.google.com/p/googleappengine/issues/detail?id=777. I've checked the new UI and it doesn't seem like you guys support naked domains just yet. On Sat, Apr 12, 2014 at 6:31 AM, Andrew Jessup jes...@google.com javascript: wrote: Hi Everyone, I'm happy to report that we have just added support for mapping custom domains to an App Engine application directly from within the Google Developers Console (https://console.developers.google.com/). This means that you can associate your domains without being required to purchase Google Apps for each domain first. This isn't dependent on our recently released Cloud DNS service - although if you *are* looking for a great DNS, they do go well together :) There are still some features we're looking to add to this - notably, support for SSL for custom domains (which is still available if you use Google Apps to associate a domain, and is available automattically from your *.appspot.com URLs). In the meantime, we hope you find this to be a more effective and simpler way to set up your App Engine apps. Since Google Apps is no longer necessary, from today we are no longer offering the Jump Start credit to new applicants. Those who have already been awarded the credit will still be able to draw down from any unused credit on their account, and if you have recently applied prior to today then we will still review your application. However new applications will not be accepted. Thanks for your patience. Regards, Andrew Product Manager, Google Cloud Platform On Thursday, 27 March 2014 20:39:24 UTC+1, Vinny P wrote: On Thu, Mar 27, 2014 at 2:26 PM, Barry Hunter barryb...@gmail.com wrote: Can't just use cloud-dns to CNAME your domain to ghs.googlehosted.com - *without *using Google Apps, because still needs to know the domain-to-appid mapping. So can use Cloud-DNS, but still need Google Apps *too*. I agree with Barry. I read through the Cloud DNS documentation, but unless I missed something, I don't see a way to associate domains with specific applications. For instance, I can create a managed zone and associate it with a project by calling this REST command: https://developers.google.com/ cloud-dns/api/v1beta1/managedZones/create . But where is the association between domain/project to App Engine ID? - -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 google-appengi...@googlegroups.com javascript:. To post to this group, send email to google-a...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout. -- 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 google-appengi...@googlegroups.com javascript:. To post to this group, send email to google-a...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout. -- Andrew Jessup | Product Manager, Google Cloud Platform | jes...@google.com javascript: -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Android Google App Engine
Hi! https://www.google.tn/search?biw=1242bih=607q=Hi!+I%27m+new+in+programming+and+i%27m+looking+for+tutos+wich+combine+between+android+and+google+app+engine+..i+found+just+one+but+it+didn%27t+work.+i+need+your+help+pleasespell=1sa=Xei=UPGWU_3lCeiw0QXz14Eoved=0CCAQvwUoAA I'm new in programming and i'm looking for tutos wich combine between android and google app engine ..i found just one but it *didn't* work. i need *your* help *please* https://www.google.tn/search?biw=1242bih=607q=Hi!+I%27m+new+in+programming+and+i%27m+looking+for+tutos+wich+combine+between+android+and+google+app+engine+..i+found+just+one+but+it+didn%27t+work.+i+need+your+help+pleasespell=1sa=Xei=UPGWU_3lCeiw0QXz14Eoved=0CCAQvwUoAA -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Cloud Datastore Dashboard not working
I've got the same thing, but I've just noticed that I'm over my datastore read operations quota... Is that the same for everyone else? On Friday, May 23, 2014 1:42:18 PM UTC+1, Andrew Chen wrote: My God. Pre production panic. Same here. This really turns me off. On Monday, April 28, 2014 10:30:45 AM UTC-4, husayt wrote: Is there anybody in google team here, I can address this to? Just to recap: I have a major issue with new google develpers console, is that it doesn't load Cloud datastore Query nor Dashboard views. see https://www.dropbox.com/s/5cmgg34z0pw6852/Screenshot%202014-04-28%2015.21.53.png I will appreciate if that can be resolved soon, as it is really affecting us. On Monday, 21 April 2014 05:15:14 UTC+1, King Royal wrote: I have had problems same to you,, Please help me!! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Can't activate Google App Engine's TaskQueue API
I can't find where to activate the Google App Engine Task Queue API within the Google Developers Console - it is simply not in the list. I've followed the instructions found here: https://developers.google.com/appengine/docs/python/taskqueue/rest/about_auth -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] I try to set i18n, and app works well on my computer, but GAE gave me '500 Server Error'
I request: ENGLISH http://pang-kimwah.appspot.com/local?lang=en_USpath=http://pang-kimwah.appspot.com/index.jsp | 中文 http://pang-kimwah.appspot.com/local?lang=zh_CNpath=http://pang-kimwah.appspot.com/index.jsp Always got this: Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds. Problem: Why GAE gave 500 error and local-run well? How can I fix it? Logs: 1. 1. 2014-06-08 06:34:06.814 /local?lang=en_USpath=http://pang-kimwah.appspot.com/index.jsp 500 20ms 0kb Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 module=default 76.73.88.20 - - [08/Jun/2014:06:34:06 -0700] GET /local?lang=en_USpath=http://pang-kimwah.appspot.com/index.jsp HTTP/1.1 500 0 http://pang-kimwah.appspot.com/index.jsp; Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 pang-kimwah.appspot.com ms=21 cpu_ms=21 app_engine_release=1.9.5 instance=00c61b117c14b6dcc252157c57d39e043d422bba https://appengine.google.com/instances?app_id=s%7Epang-kimwahversion_id=0.376409320011925630key=00c61b117c14b6dcc252157c57d39e043d422bba#00c61b117c14b6dcc252157c57d39e043d422bba 2. C 2014-06-08 06:34:06.812 Uncaught exception from servlet java.security.AccessControlException: access denied (java.util.PropertyPermission user.language write) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:375) at java.security.AccessController.checkPermission(AccessController.java:565) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at java.util.Locale.setDefault(Locale.java:909) at java.util.Locale.setDefault(Locale.java:868) at com.jemhua.gae.web.action.Language.execute(Language.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:45) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235) at
[google-appengine] HTTP 429 Returned for /mapreduce/workerCallback task
I'm attempting to run a map-reduce job from Java. The job kicked off and started without a hitch, but now it's stuck waiting on ~34 tasks to finish. The job is stuck in the ExamineStatusAndReturnResult phase, after the ShardedJob phase. I see ~34 tasks in my queue all of the form: POST /mapreduce/workerCallback/map-*hex-numbers* They all say that the previous run returned a 429 Too Many Requests (http://tools.ietf.org/html/rfc6585#section-4). I'm guessing I've hit some kind of limit/quota, but I cannot tell what/where this quota is. How can I find out what is causing the 429 response code? Thanks! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Download logs from another project?
I'm using: LogService ls = LogServiceFactory.getLogService(); LogQuery lq = new LogQuery(); This works fine and I can download the logs from the GAE project I make the call from. I'm wondering if I can get logs from a different project? I don't see any way to use OAuth and provide credentials either in the LogService or the LogQuery to get logs from anywhere but the project which is executing. Is this possible? -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Anybody interested in a Datastore Manager for GAE?
Why dont we guys have a discussion and start a opensource project for this. Either a Eclipse Plugin or Chrome Extension? What you guys think ? -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains
On Friday, June 6, 2014 10:33:58 AM UTC-4, barryhunter wrote: On 6 June 2014 15:04, Kevin Regan kreg...@gmail.com javascript: wrote: This looks like it might be an answer to the question I have - it seemed like you HAD to get a Google Apps account (with additional costs) in order to simply get SSL for an application I want to deploy on Google App Engine - but it sounds like you are suggesting an alternative method here which is to map the custom domain in the app engine console itself, skipping the Google Apps part of the process? AFAIK, the domain settings via Cloud console are for NON-SSL only. SSL support with App Engine still requires an external provider (but that provider can be Google Apps) Is there any other provider? I need to support https://example.com/. IIUC, Google Apps only supports foo.example.com custom domains. In fact I just opened the Cloud Console for one of my App Engine apps, and it specifically says *SSL support for custom domains is currently only supported via Google Apps.* (its *not *the App Engine Console, thats separate to the Cloud Console!) Additionally, we want to allow certain people or groups from our organization to have access to the cloud storage linked to the account that is hosting the google app engine web application. Google Apps has the concept of multiple emails per account but you pay for them individually - how would we do this skipping the Google Apps thing and just using the Google App Engine method you mentioned - I suppose we would just need to add certain email accounts to the privileges of our cloud storage buckets? Do they have to be gmail addresses? That should all be configurable via the Cloud Console, which can be used to configure access to Cloud Storage. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] http 400 error uploading file to blobstore with google app engine
'm trying to upload a file with the google app engine blobstore. It's supposed to work like this: you call the BlobstoreService to get an upload url, supplying a callback URL. The client is redirected to the upload URL, sends the data, then when they've finished they will be redirected to the callback URL with a couple of parameters which represent the blobstore key. The dev server behaves differently to the production server as we shall see. Against production, my code gets as far as completing the upload, then instead of getting a redirect back to my callback URL, I get a 400 error response (implying something wrong with my request). How do I debug this in production? I don't know how to switch on logging for the blobstore. So I tried to run it locally against the dev server. This time if I don't set the 'content-length' property, I get a 411 (content length not set). But if I try and set that property, I get 'IllegalStateException: Already connected'. Neither of these exceptions happen against production. So I don't know where to go next. I need to either get it working against dev, in the hope that I can debug the blobstore locally, or work out why it's not working on the blobstore in production. public void upload(String uri, File file) throws IOException{ HttpURLConnection conn=null; HttpURLConnection conn2=null; FileInputStream fileInputStream = null; DataOutputStream dos=null; try { String lineEnd = \r\n; String twoHyphens = --; String boundary = *; int bytesRead, bytesAvailable, bufferSize; byte[] buffer; int maxBufferSize = 1 * 1024 * 1024; // open a URL connection to the Servlet fileInputStream = new FileInputStream(file); URL url = new URL(uri); // Open a HTTP connection to the URL conn = (HttpURLConnection) url.openConnection(); conn.setDoInput(true); // Allow Inputs conn.setDoOutput(true); // Allow Outputs conn.setUseCaches(false); // Don't use a Cached Copy conn.setInstanceFollowRedirects(false); conn.setRequestMethod(POST); conn.setRequestProperty(Connection, Keep-Alive); conn.setRequestProperty(ENCTYPE, multipart/form-data); conn.setRequestProperty(Content-Type, multipart/form-data;boundary= + boundary);// conn.setChunkedStreamingMode(1024); conn.setRequestProperty(content-length, String.valueOf(file.length())); //caused IllegalStateException Already connected locally, but not remotely log(Orignal URL: + conn.getURL()); //conn.connect(); //TODO duplicates url.openConnection() above? conn.getInputStream(); //so we can follow the redirect String redirectedUrl = conn.getHeaderField(Location); log(Redirected URL: + redirectedUrl); //this is horrible and messy but let's get it working then clean it up later conn.disconnect(); url = new URL(redirectedUrl); // Open a new HTTP connection to the URL conn2 = (HttpURLConnection) url.openConnection(); conn2.setDoInput(true); // Allow Inputs conn2.setDoOutput(true); // Allow Outputs conn2.setUseCaches(false); // Don't use a Cached Copy conn2.setInstanceFollowRedirects(false); conn2.setRequestMethod(POST); conn2.setRequestProperty(Connection, Keep-Alive); conn2.setRequestProperty(ENCTYPE, multipart/form-data); conn2.setRequestProperty(Content-Type, multipart/form-data;boundary= + boundary); conn2.setChunkedStreamingMode(maxBufferSize); conn2.setRequestProperty(Content-Length, String.valueOf(file.length())); conn2.connect(); dos = new DataOutputStream(conn2.getOutputStream()); dos.writeBytes(twoHyphens + boundary + lineEnd); dos.writeBytes(Content-Disposition: form-data; name=\myFile\;filename=\+file.getName()+\ + lineEnd); dos.writeBytes(lineEnd); // create a buffer of maximum size bytesAvailable = fileInputStream.available(); bufferSize = Math.min(bytesAvailable, maxBufferSize); buffer = new byte[bufferSize]; // read file and write it into form... bytesRead = fileInputStream.read(buffer, 0, bufferSize); while (bytesRead 0) { dos.write(buffer, 0, bufferSize); bytesAvailable = fileInputStream.available(); bufferSize = Math.min(bytesAvailable, maxBufferSize); bytesRead = fileInputStream.read(buffer, 0, bufferSize); } // send multipart form data necesssary after file data... dos.writeBytes(lineEnd); dos.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd); // Responses from the server (code and message) int serverResponseCode = conn2.getResponseCode(); String serverResponseMessage = conn2.getResponseMessage(); //we are expecting another
[google-appengine] naked custom domains and SSL, Google Apps for Business, etc.
True or False? There's ABSOLUTELY NO WAY to have https://example.com/ for my app engine application because Google Apps for Business is the only way to enable SSL for a custom domain, and it does not support naked domains. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] [ERROR]in app.yaml,please help ASAP
app.yaml application: rohanpota1 version: 1 runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: .* script: main.app libraries: - name: webapp2 version: 2.5.2 -name: jinja2 version: 2.6 ERROR: appcfg.py: error: Error parsing C:\Users\Blue\Desktop\rohanpota1\app.yaml: while parsing a block mapping in C:\Users\Blue\Desktop\rohanpota1\app.yaml, line 1, column 1 expected block end, but found 'block mapping start' in C:\Users\Blue\Desktop\rohanpota1\app.yaml, line 18, column 2. 2014-06-13 22:55:12 (Process exited with code 2) -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] google app engine, how to make a page admin access only?
I have a google app engine web site. this site is using golang. There's a page Post, only admin allowed to access it and post articles. in app.yaml file: handlers: - url: /post script: _go_app login: admin here's the problem. I have 2 gmail accounts, one is ab...@gmail.com, one is ab...@gmail.com. I login as admin and post articles using both accounts, I am afraid that as long as you have a valid gmaile account, you can post articles. I only want one account to be admin. how do i do that? -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Errors with OpenID2 in the users API on a custom domain
I'm currently developing a Google App Engine app and have it setup with a custom domain. Recently, I've been working on switching login over to the OpenID 2 system built into the users API. Everything works fine until I try it through my custom domain (codecloud.byte-games.com). The first issue was Google displaying a 400 error when requesting OpenID login with Google as the provider. I managed to fix that by asking Miguel Andres register the domain manually on the deprecated Google OpenID 2 system. (https://groups.google.com/d/msg/google-federated-login-api/eIz-i1UYhQY/1LcD2tBxUAMJ) After that was fixed I continued my testing and found a similar issue, this time when loging in with a non-Google OpenID on the custom domain. I managed to implement a temp fix by redirecting users to the appspot domain but that is far from ideal. Basically, whenever the user finishes login with the OpenID provider and returns to my app at the http://codecloud.byte-games.com/_ah/openid_verify?continue=http://codecloud.byte-games.com/ URL it displays the 500 App Engine server error page. When I do the exact same thing except from the appstop domain it works fine. Nothing gets logged in the logs and I have no way of controlling that so it seems to be an error in App Engine itself. I would contact support about this but I'm using the bronze level so I can't do that. It would be *AWESOME* if someone at Google could look into this. Thanks! Joel -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Issues with OpenID 2 for app running on a custom domain
I'm using the OpenID option for the Users API in my web app. When I test it on my app it works fine in the appspot domain but crashes on the custom one that I added through the control panel. I managed to get the login with Google Accounts working by registering the domain here https://groups.google.com/d/msg/google-federated-login-api/eIz-i1UYhQY/1LcD2tBxUAMJ but the login for any other account still crashes to an app engine 500 page. It seems that the app engine API just isn't expecting calls from this domain. Any suggestions? Thanks! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Will ignoring the google recommended setting for a cname (www) come back and bite me?
Hi, I've pointed my naked domain, .com, to my appspot address - I am not using Google Apps. I then went on to add www..com and the google wizard told me to: * 1. Create a resource record for the .com domain using values as shown:- Type: CNAME- Alias: www- Canonical name: ghs.googlehosted.comNow the problem was that my registrar dns console gave an undescribed error when I tried to use ghs.googlehosted.com.So, being completely ignorant about these things I created a CNAME that just points www..com to .com and it seems to have worked - I can now access my app via my custom domain and via the www subdomain.But now I am worried - what problems have I created for the future by not using ghs.googlehosted.com?David* -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] AppEngine MapReduce tutorials
Hi everyone, For anyone curious I've wrote a series of tutorials for getting started with the App Engine MapReduce API (Python). If you find any of this useful or have any questions don't hesitate to ask. Kevin - Part 1: The Basics http://sookocheff.com/posts/2014-04-15-app-engine-mapreduce-api-part-1-the-basics/ - Part 2: Running a MapReduce Job Using mapreduce.yaml http://sookocheff.com/posts/2014-04-22-app-engine-mapreduce-api-part-2-running-a-mapreduce-job-using-mapreduceyaml/ - Part 3: Programmatic MapReduce using Pipelines http://sookocheff.com/posts/2014-04-30-app-engine-mapreduce-api-part-3-programmatic-mapreduce-using-pipelines/ - Part 4: Combining Sequential MapReduce Jobs http://sookocheff.com/posts/2014-05-13-app-engine-mapreduce-api-part-4-combining-sequential-mapreduce-jobs/ - Part 5: Using Combiners to Reduce Data Throughput http://sookocheff.com/posts/2014-05-20-app-engine-mapreduce-api-part-5-using-combiners-to-reduce-data-throughput/ -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Problem with instantiate Provider
Hello, I have strange problem with instantiate Provider. This situation appears only on remote environment. My REST API app tries to make request to e-bay api, but I receive mapMappableContainerException: com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider com.sun.xml.ws.spi.ProviderImpl could not be instantiated: java.lang.ExceptionInInitializerError at java.util.ServiceLoader.fail(ServiceLoader.java:224 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=java%2Futil%2FServiceLoader.javaline=224authuser=1) at java.util.ServiceLoader.access$100(ServiceLoader.java:181 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=java%2Futil%2FServiceLoader.javaline=181authuser=1) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=java%2Futil%2FServiceLoader.javaline=377authuser=1) at java.util.ServiceLoader$1.next(ServiceLoader.java:445 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=java%2Futil%2FServiceLoader.javaline=445authuser=1) at javax.xml.ws.spi.Provider.getProviderUsingServiceLoader(Provider.java:165 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=javax%2Fxml%2Fws%2Fspi%2FProvider.javaline=165authuser=1) at javax.xml.ws.spi.Provider.provider(Provider.java:125 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=javax%2Fxml%2Fws%2Fspi%2FProvider.javaline=125authuser=1) at javax.xml.ws.Service.init(Service.java:77) at javax.xml.ws.Service.create(Service.java:707 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=javax%2Fxml%2Fws%2FService.javaline=707authuser=1) at com.ebay.common.ClientFactory.getServiceClient(ClientFactory.java:77 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=com%2Febay%2Fcommon%2FClientFactory.javaline=77authuser=1) at com.ebay.services.client.FindingServiceClientFactory.getServiceClient( FindingServiceClientFactory.java:34 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=com%2Febay%2Fservices%2Fclient%2FFindingServiceClientFactory.javaline=34authuser=1) at api.SearchEBay.getSearchResultsSimple(SearchEBay.java:202 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=api%2FSearchEBay.javaline=202authuser=1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:57 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=sun%2Freflect%2FNativeMethodAccessorImpl.javaline=57authuser=1) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:43 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=sun%2Freflect%2FDelegatingMethodAccessorImpl.javaline=43authuser=1) at java.lang.reflect.Method.invoke(Method.java:45 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=java%2Flang%2Freflect%2FMethod.javaline=45authuser=1) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke( JavaMethodInvokerFactory.java:60 https://console.developers.google.com/project/apps%7Eatomic-oven-613/clouddev/source/resolve_location?appVersion=1-wartimestampNanos=140311597236400file=com%2Fsun%2Fjersey%2Fspi%2Fcontainer%2FJavaMethodInvokerFactory.javaline=60authuser=1) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch( AbstractResourceMethodDispatchProvider.java:185
[google-appengine] Gmail authentification
Hi, I want to use class Transport java.mail that inherits from the class Service to authenticate a user: String host = smtp.gmail.com; Properties props = new Properties(); Session session = Session.getInstance(props); boolean check = false; try { Transport t = session.getTransport(smtps); t.connect(host, username, password); check = true; } catch (NoSuchProviderException e) { System.out.println(e.getMessage()); } catch (MessagingException e) { System.out.println(e.getMessage()); } if (check) { System.out.println( --- Good --- ); return true; } else { System.out.println( --- Invalid username or password --- ); return false; } But does not pass , I have this error : The Socket API will be enabled for this application once billing has been enabled in the admin console. my question is, if i enable the billing it will work or I'll have another problem ? -- This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BRAMS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. -- Ce message et toutes les pieces jointes (ci-apres le message) sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immédiatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BRAMS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Not able to create web app project from eclipse after installing google elipse plugin !!
Not able to create web app project from eclipse after installing google elipse plugin !! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Uploading static files without redeploying whole app?
Can I load static files from my google drive ? On Monday, February 8, 2010 10:08:08 AM UTC+5:30, Geoffrey Spear wrote: No, you can't. There's no way to write to the filesystem without deploying a new version of the app. Really the only options are to store the files in the datastore and have handlers that serve them as if they're static, or to use the Blobstore API to upload and serve them. On Feb 7, 8:33 am, z.bey...@googlemail.com z.bey...@googlemail.com wrote: Hello, I am interested whether you can make GAE to save files (uploaded from a computer or from outside url) without having to upload the whole app. Ideally, I would like to save new static html files compiled from outside URL data and save .swf files to a GAE app engine folder on the GAE server. Yours, Zdravko -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Google App Engine data loss - are there backups or archives or recovery options?
I was using the following application http://sjsuriot.appspot.com A change in the application caused a partial data loss to occur some time after April 10th. Do I have any hope of recovering my data? Even a partial recovery from April or before would be better than a complete loss. The application author is Andrew R agrei...@gmail.com but was not explicitly making backups, so that is why I am turning to Google to try to help me out. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Following a course and have been told to use Google App engine to display a message in the browser - don't know where to start. Guidance?
you want what programmers call a Hello World program: https://developers.google.com/appengine/docs/python/gettingstartedpython27/helloworld On Sunday, June 8, 2014 2:55:52 PM UTC-5, george. wrote: Very annoyed TBH as the course didn't say anything about how I'm meant to this, provide and documentation links or guidance. However - I'm basically meant to create / download / install Google App engine so that the web page displays *Hello, Udacity!* I don't have a clue what I'm doing though. I've created a project from this link : https://appengine.google.com/start/createapp So I've got a Dashboard - but I've no idea where I'm meant to input code - display it in the browser or anything of the sort. I'm a beginner programmer, I've written some C and PHP. I'm meant to be using the Python version. I keep seeing things about the app.yaml file but I don't know what this is, where it's meant to be. Am I meant to create it from scratch / download a template?? Any help very much appreciated -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] async urlfetch causing CancelledError
Hi, I just improved some code that did sequential urlfetch into using the following api: https://developers.google.com/appengine/docs/python/urlfetch/asynchronousrequests It works fine most of the time, and give an improvement in performance. However, 1 out of 3 calls, we get the following exception: File /base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py, line 612, in get_result return self.__get_result_hook(self) File /base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/urlfetch.py, line 375, in _get_fetch_result rpc.check_success() File /base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py, line 578, in check_success self.__rpc.CheckSuccess() File /base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py, line 133, in CheckSuccess raise self.exception CancelledError: The API call urlfetch.Fetch() was explicitly cancelled. I tried looking int the sourcecode of apiproxy_rpx.py and tried googling to find an answer. But i cant find it anywhere. Anybody has an idea why this is happening? -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Will ignoring the google recommended setting for a cname (www) come back and bite me?
In theory it will work fine. The 'issue' arrises, for the naked domain, you've probabyl set a bunch of IPs directly as A records. If for what ever reason there is an issue with those IPs, you are stuck. By cname'ing ghs.googlehosted.com, Google can fix the records to point to new functional IPs automatically. But the chance of something happening is pretty small, because they meant to be maintaining the IPs for use with naked domains anyway. Also its possible the put some more advanced geographical routing via the ghs.googlehosted.com hostname, which you might loose out on. (replying on round robin on the fixed A records) But again its probably not noticable for most purposes. https://www.whatsmydns.net/#A/ghs.googlehosted.com On 17 June 2014 22:53, davidht...@gmail.com wrote: Hi, I've pointed my naked domain, .com, to my appspot address - I am not using Google Apps. I then went on to add www..com and the google wizard told me to: * 1. Create a resource record for the .com http://.com domain using values as shown: - Type: CNAME - Alias: www - Canonical name: ghs.googlehosted.com http://ghs.googlehosted.com Now the problem was that my registrar dns console gave an undescribed error when I tried to use ghs.googlehosted.com http://ghs.googlehosted.com. So, being completely ignorant about these things I created a CNAME that just points www..com http://www..com to .com http://.com and it seems to have worked - I can now access my app via my custom domain and via the www subdomain. But now I am worried - what problems have I created for the future by not using ghs.googlehosted.com http://ghs.googlehosted.com? David * -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] access resouce usage in real time
Is there a way to access usage in real time. The kind of stuff in the dashboard and/or quota use. For example, I want to see how many writes my appid has done. Thanks -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] HTTP 429 Returned for /mapreduce/workerCallback task
The 429 is the mapreduce framework pushing back to the task queue because there is not enough memory on the instance to handle the number of requests it was given. This isn't necessarily a problem, and if there are no other issues, can be safely ignored. However if it is occurring a lot, you could improve performance by lowering max-concurrent-requests in your modules configuration: https://developers.google.com/appengine/docs/java/modules/#Java_Configuration You should be able to see the progress of the shards in the lower right panel of the UI. Provided all of the shards are making progress, you probably have nothing to worry about. On Mon, Jun 9, 2014 at 9:56 AM, Bill Speirs bill.spe...@gmail.com wrote: I'm attempting to run a map-reduce job from Java. The job kicked off and started without a hitch, but now it's stuck waiting on ~34 tasks to finish. The job is stuck in the ExamineStatusAndReturnResult phase, after the ShardedJob phase. I see ~34 tasks in my queue all of the form: POST /mapreduce/workerCallback/map-*hex-numbers* They all say that the previous run returned a 429 Too Many Requests ( http://tools.ietf.org/html/rfc6585#section-4). I'm guessing I've hit some kind of limit/quota, but I cannot tell what/where this quota is. How can I find out what is causing the 429 response code? Thanks! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout. -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Confused about pricing for SSL
I was confused about the inconsistent documentation as well. Related: are we required to have a Google Apps for Business account in order to use SSL for a custom domain? I had set up a trial account, but now I'm being asked to pay $5/month/user, even though I have no interest in Google Apps, because the Google Apps for Business site is where I upload the SSL certificate. So for a small, one-off site, is the minimum cost $5/month for a site with SSL on a custom domain? Or is there a free option that I'm missing? Thanks, Nick On Tuesday, June 3, 2014 12:16:17 AM UTC-7, hummh wrote: Hello, I´m a little bit confused about the pricing model for SSL on GAE. On the following page it is stated that the cost for SSL/VIP is 39 USD (5 certificates): https://developers.google.com/appengine/pricing. On this page I´m getting the information that VIP costs 99 USD per month: https://support.google.com/a/answer/2644336?hl=de. So my question is: what cost information is right? And: is it correct that I also need to an official certificate from verisign (just for an example), or can I use my own certificates generated with openssl when I use VIP? Harald -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] GAE Backups to GCS -- structure explained?
I’m running backups (both a scheduled task as well as a manual backup) from GAE to a GCS bucket. The GAE source datastore has about 45 kinds. The datastore is a small preliminary test store. Both the manual and scheduled task backups exhibit the following characteristics. I’m interested in understanding the 2nd part. The first part of the output in the GCS bucket looks to be (meta)info about the kind backups: for each kind, there is an object ah[long ID #].[kindName].backup_info All of these are of size 1000B. The second part of the output in the GCS bucket contains two to four objects for each kind in the GAE datastore: datastore_backup_[backup name]_[date]_[kindName]-[ID#]-output-[N]-attempt-1 SIZE 0 = N = 3; every kind has at least 2 such objects. The ID# appears to be the same for all 2nd half objects. The SIZE of most of the objects is 0B; Even kinds that I know have no entities in the datastore have at least 2 such objects, though they each have SIZE = 0B. Most of the kinds in the datastore have just one entity recorded. For kinds where there exist entities in the datastore, usually there is only one corresponding object (output-N) where the size is non-zero. For WHICH N the object is non-zero appears to be non-predicable. Also, for the kinds which have multiple entities stored (up to 10-15), 2 corresponding objects are both non-zero. Almost all the SIZE values are multiples of 32KB: 32KB, 64KB, 224KB, 256KB, 352KB, 448KB, 768KB, 1.47MB, 1.75MB Can someone provide an explanation of the structure of this 2nd half? Simple tests show that the backup/restore is working. Generally, the variation in SIZEs of the non-zero objects seems to roughly correspond to the variation in size of the stored corresponding entities in the datastore. But all the 0B objects are confusing, as is the somewhat random mapping on non-zero objects to the output-N entities. If possible, I’d like to understand. Another (small) question: what is the relationship (if any) between the long ID # of the 1st half (backup_info) objects, and the ID# and backup name for the 2nd half objects? Thanks in advance, —Ken Bowen -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Anybody interested in a Datastore Manager for GAE?
If the Admin Console would add support for editing repeated fields I'd be a happy camper. That's the primary reason I have to do custom admin pages. I've also implemented my own bulk upload for HRD... my implementation isn't terribly generic though. On Saturday, June 7, 2014 5:02:35 PM UTC-4, Arvind S wrote: Why dont we guys have a discussion and start a opensource project for this. Either a Eclipse Plugin or Chrome Extension? What you guys think ? -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Issues with OpenID 2 for app running on a custom domain
On Wed, Jun 18, 2014 at 9:26 PM, Joel E java4j...@gmail.com wrote: I'm using the OpenID option for the Users API in my web app. When I test it on my app it works fine in the appspot domain but crashes on the custom one that I added through the control panel. I managed to get the login with Google Accounts working by registering the domain here https://groups.google.com/d/msg/google-federated-login-api/eIz-i1UYhQY/1LcD2tBxUAMJ but the login for any other account still crashes to an app engine 500 page. Are there any errors or error level logs recorded in App Engine logging? - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Gmail authentification
On Tue, Jun 17, 2014 at 5:12 AM, Aniss Serhane aniss.serh...@brams.net wrote: I want to use class Transport java.mail But does not pass , I have this error : The Socket API will be enabled for this application once billing has been enabled in the admin console. my question is, if i enable the billing it will work or I'll have another problem ? Yes, if you enable billing the application should work. App Engine applications can't open sockets until billing is enabled. But instead of requiring a user to input their email username and password to authenticate, it's better from a security standpoint to simply use email verification to verify the account (your application sends an email to the user's given email address, the user has to click a unique URL within the email to verify the account). If you absolutely must have access to a user's Gmail acccount (from your code sample, it looks like you're exclusively connecting to Gmail accounts) you can use OAuth to safely get access to email accounts: https://developers.google.com/gmail/oauth_overview - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Uploading static files without redeploying whole app?
On Fri, Jun 20, 2014 at 12:15 AM, Rakhi Kankan rakhi.krishna...@gmail.com wrote: Can I load static files from my google drive ? From Google Drive as in drive.google.com or static files within your App Engine application? You can read static files in from both, but they require different steps. For Google Drive, you can use the Drive API: https://developers.google.com/drive/web/about-sdk . If you need to read in static files from your application deployment, you'll have to consult the language docs for the proper way to handle it. For example, a Java servlet can read in static files using *this.getServletContext().getResourceAsStream*. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Not able to create web app project from eclipse after installing google elipse plugin !!
On Fri, Jun 20, 2014 at 5:43 AM, Bharath Sn bharathsn0...@gmail.com wrote: Not able to create web app project from eclipse after installing google elipse plugin !! The Google Eclipse plugin should add in a new toolbar, which gives you the option to create a new application. Do you not see it? Can you screenshot your Eclipse screen and post it here? - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Following a course and have been told to use Google App engine to display a message in the browser - don't know where to start. Guidance?
On Sun, Jun 8, 2014 at 2:55 PM, george. georgelen...@gmail.com wrote: Very annoyed TBH as the course didn't say anything about how I'm meant to this, provide and documentation links or guidance. However - I'm basically meant to create / download / install Google App engine so that the web page displays *Hello, Udacity!* I don't have a clue what I'm doing though. So it sounds like you're on Homework 1 of the Udacity course. If you want to see the solution, watch the video here: http://youtu.be/PNmji8qNL0s If you don't want to skip directly to the solution, you can try using the Cloud Playground to immediately deploy an app and play around with. Specifically, look at the first demo app in this list: https://cloud-playground.appspot.com/playground/ - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] [ERROR]in app.yaml,please help ASAP
On Fri, Jun 13, 2014 at 12:25 PM, Rohan Pota potarohan1234567...@gmail.com wrote: libraries: - name: webapp2 version: 2.5.2 -name: jinja2 version: 2.6 ERROR: It looks like your jinja configuration has the dash in the wrong spot. Try this: libraries: - name: webapp2 version: 2.5.2 - name: jinja2 version: 2.6 I only added a space between the dash and the *name: jinja* part, and deleted the beginning space character. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Download logs from another project?
On Sat, Jun 7, 2014 at 11:53 AM, Dave Goldberg d...@wazare.com wrote: I'm using: LogService ls = LogServiceFactory.getLogService(); LogQuery lq = new LogQuery(); This works fine and I can download the logs from the GAE project I make the call from. I'm wondering if I can get logs from a different project? I don't see any way to use OAuth and provide credentials either in the LogService or the LogQuery to get logs from anywhere but the project which is executing. Is this possible? Yes it is possible. You can install the Remote API, authenticate into a different project, and access the logs as usual: https://developers.google.com/appengine/docs/java/tools/remoteapi - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] async urlfetch causing CancelledError
On Thu, Jun 12, 2014 at 8:25 AM, Tjerk Bliep tj...@bliep.nl wrote: I just improved some code that did sequential urlfetch into using the following api: https://developers.google.com/appengine/docs/python/urlfetch/asynchronousrequests It works fine most of the time, and give an improvement in performance. However, 1 out of 3 calls, we get the following exception: I tried looking int the sourcecode of apiproxy_rpx.py and tried googling to find an answer. But i cant find it anywhere. Anybody has an idea why this is happening? Hi Tjerk, Are you still encountering this issue? App Engine URLfetch had some issues (listed in downtime-notify) around the time you posted your email. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] I try to set i18n, and app works well on my computer, but GAE gave me '500 Server Error'
On Sun, Jun 8, 2014 at 12:16 PM, Jemhua p.kim...@gmail.com wrote: I request: ENGLISH http://pang-kimwah.appspot.com/local?lang=en_USpath=http://pang-kimwah.appspot.com/index.jsp | 中文 http://pang-kimwah.appspot.com/local?lang=zh_CNpath=http://pang-kimwah.appspot.com/index.jsp Always got this: Error: Server ErrorProblem: Why GAE gave 500 error and local-run well? How can I fix it? Hi, Are you still experiencing this issue? I clicked your provided links and your site rendered perfectly well in my browser. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] one to many relationship in app engine is not working properly when used in android client
On Wed, Jun 18, 2014 at 1:47 AM, Mark mark.bud...@partnering.sk wrote: Or does anybody have sample project about OneToMany relation mapping in google app engine? This isn't a sample project, but you can see some sample code here: https://groups.google.com/forum/?fromgroups#!topic/google-appengine-java/VMg9xiQv1jM On Wed, Jun 18, 2014 at 1:47 AM, Mark mark.bud...@partnering.sk wrote: Error: 06-17 10:10:43.394: W/System.err(27823): com.google.api.client.googleapis. json.GoogleJsonResponseException: 503 Service Unavailable Do you see any errors in App Engine (the server side component) logging? - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] My buzz got stopped by the mail limit. can i expedite the email quota increase?
On Tue, Jun 10, 2014 at 11:25 AM, Anton Winter sirantonwin...@gmail.com wrote: My site got picked up by a few blogs and it started getting a bit of traffic. The site emails website templates to the end users that signup. I hit the email limit, and now the users aren't getting their templates. I have requested an email quota increase, but from what stackoverflow says, it can take a week! Is there a way to get to expedite this? the website is landingear.me Hi Anton, Are you still encountering this problem? If your email quota hasn't been increased yet, you should consider using Sendgrid to send your emails. Sendgrid's free tier allows 25,000 emails to be sent, so there's some more room to grow. Look up the Free Package on this page: http://sendgrid.com/partner/google If you cannot use Sendgrid for some reason, you could try offering a ZIP download of the templates. What language is your site written in? Your link isn't working for me. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] http 400 error uploading file to blobstore with google app engine
On Wed, Jun 11, 2014 at 1:22 PM, Matt Darwin mattdar...@gmail.com wrote: Against production, my code gets as far as completing the upload, then instead of getting a redirect back to my callback URL When you say the code completes the upload, do you see the completed file in the blobstore? How large is the file being uploaded? - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Google Apps No Longer Free
On Sun, Jun 8, 2014 at 12:00 PM, Basalat Raja basalatr...@gmail.com wrote: This no longer works for me. After 9 attempts to go through the Captcha, I gave up. Yes, literally 9. On the domain mapping page or another page? Can you screenshot the page giving you difficulty and post the image to this thread? - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Android Google App Engine
On Tue, Jun 10, 2014 at 6:53 AM, nedia rawen nedia.ra...@gmail.com wrote: Hi! https://www.google.tn/search?biw=1242bih=607q=Hi!+I%27m+new+in+programming+and+i%27m+looking+for+tutos+wich+combine+between+android+and+google+app+engine+..i+found+just+one+but+it+didn%27t+work.+i+need+your+help+pleasespell=1sa=Xei=UPGWU_3lCeiw0QXz14Eoved=0CCAQvwUoAA I'm new in programming and i'm looking for tutos wich combine between android and google app engine ..i found just one but it *didn't* work. i need *your* help *please* https://www.google.tn/search?biw=1242bih=607q=Hi!+I%27m+new+in+programming+and+i%27m+looking+for+tutos+wich+combine+between+android+and+google+app+engine+..i+found+just+one+but+it+didn%27t+work.+i+need+your+help+pleasespell=1sa=Xei=UPGWU_3lCeiw0QXz14Eoved=0CCAQvwUoAA Which tutorial did you find but didn't work for you? If you're new to programming, diving into a Android and App Engine combined tutorial might be too much. Try learning about one technology at a time. A good first step would be to master Android programming: visit https://developer.android.com/training/basics/firstapp/index.html?hl=p and try building your first Android application. If you insist on tackling Android and App Engine together, you can review this page: https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: App engine billing problems
On Thu, Jun 19, 2014 at 1:09 AM, Rouholla Alizadegan alizade...@gmail.com wrote: Same issue for me. Tried with Chrome and IE accepting all cookies and still the same results. Really frustrating. If you absolutely need to get a billing change through, you can try contacting Google using their billing support form: https://support.google.com/code/contact/cloud_platform_billing But to address your question directly, do you have any plugins or extensions installed in your browsers? If so, try disabling them and trying again. Also try opening up an Incognito/Private Browsing window, only logging in with your admin account, then going to billing setup. - -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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.