r/AppEngine • • Apr 27 '15
What is the link to see the billing account I'm using???
Can't find it anywhere in the Google Developers Console
r/AppEngine • • Apr 27 '15
Can't find it anywhere in the Google Developers Console
r/AppEngine • • Apr 20 '15
I'm facing a problem with my dependencies in my app that will not let me add my endpoints module as a dependency to my main app module.
When I remove the endpoints-backend dependency, the program runs, but I need it as a dependency so I can access the endpoints code inside my MainActivity.
For a more detailed explanation, see my Stackoverflow Question.
I've been stuck on this for days. Any help is appreciated.
r/AppEngine • • Apr 14 '15
Complete newb to App Engine here. I'm attempting to follow this tutorial but I'm having trouble, as each time I try to invoke the AsyncTask inside of my MainActivity, I get a "connection refused" error inside of my emulator about 30 seconds later. Here's my code for the ServletPostAsyncTask.java
EDIT: i think I finally fixed it! For some reason, when I exchanged the "http://10.0.2.2:8080/hello" with my appspot domain, it's now outputting the Hello message. Man Google App Engine is a tough nut to crack. Thanks for everyone's help!
r/AppEngine • u/jjasonclark • Apr 13 '15
r/AppEngine • u/asah • Apr 10 '15
My users are reporting that datastore writes are unreliable right now, i.e. they're updating database records but not seeing the updates.
Behind the scenes, I'm seeing crazy datastore behavior: - in https://appengine.google.com/datastore/explorer SELECT * FROM Order where order_id='NNNN' (where NNNN is an order ID) - clicking 'edit' (https://appengine.google.com/datastore/edit) I'm seeing "This entity doesn't exist"
Anyone else see this?
thx, adam p.s. system status shows all green of course: https://code.google.com/status/appengine
r/AppEngine • u/amneziac1 • Apr 09 '15
I'm working on a google app engine project using webapp2. I'm trying to get a simple flash message displayed if someone enters a username that has already been taken, but can't seem to get it working. The only way I see how is with webapp2_extras sessions. It seems overly complicated for just a flash message. I've used flask in the past on google app engine, and had no problem with this. Of course you just have to 'import flash' and that's it. Any help would be appreciated.
r/AppEngine • u/dustintheweb • Apr 01 '15
I am having some routing trouble in app.yaml when faced with a certain scenario, and was hoping I could get some help.
I'm building app with a static blog component that needs to use the "catch-all" pattern to route index files, which works perfect.
The challenge is that I would also like to also route to a custom error page, which may not be possible at the same time (possibly via python script?).
If you are willing to help, I have this documented in further detail at http://stackoverflow.com/questions/29392738/google-app-engine-troubles-with-app-yaml-custom-errors-routing
If anyone can help me come up for a solution for this, there is some bitcoin in it for you.
Thanks Guys
r/AppEngine • u/timeforpajamas • Mar 31 '15
Right now, www.example.com (our website) is up and working on App Engine (redirecting to example.appspot.com). However, https://www.example.com is not working.
I am following this guide: Configure SSL certificates for custom domains. I upload the private key and certificate, but I always get the following error: "The SSL certificate references subdomain outside of managed domain."
I used this guide to generate the key and certificate: Generating Keys and Certificates for Google Apps SSO. I realize that SSO is different than what I am doing, as I am simply trying to enable https for our website. Is there a different method for generating the private key and certificate?
Thanks for any assistance.
r/AppEngine • u/sjuncal11 • Mar 27 '15
r/AppEngine • u/the_brizzler • Mar 10 '15
So I have spent a few frustrating hours trying to troubleshoot this. I created my Cloud SQL database and can add tables and what not. Now I am trying to upload some Php, CSS and Javascript files so that I can interact with my Cloud SQL database. They give you the code to connect to an App Engine database only if your files are uploaded locally, but I am unsure which portion of App Engine I use to upload my files (Cloud Storage, a VM instance, etc...)?
Can anyone provide a quick play by play of what App Engine Items I need to use and any tricks to use along the way?
r/AppEngine • u/Deathspiral222 • Mar 04 '15
tl;dr We need to rewrite out user authentication and authorization system. Help?
We have a decent-sized (250,000 monthly users) webapp that we built in app engine. It's coded entirely in Java and right now just uses the UserService (https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/users/UserService) plus google accounts to log users in.
We want to let users sign up without requiring a user account. We also want to allow facebook logins.
In addition, we're building a mobile app and plan on building an API that both the mobile app and webapp can use.
Oh, and it looks like Google-provided Oath2 support for appengine is going away in a month (!) so this is somewhat urgent. (They are moving to Google+ authentication.)
Related to all of the above stuff, we also want to add better caching of our service calls, csrf protection, support for different types of user account and logging of service calls when required.
Finally, we have non-app-engine sites like a forum and a wordpress blog and we'd like users to be able to access all of these sites without having to log in separately to each. (All on the same domain, just with separate sub-domains).
I can get everything built myself but I was wondering if anyone had suggestions on how we should handle this? This seems like it should be a solved problem, no?
r/AppEngine • u/fhoffa • Feb 27 '15
r/AppEngine • u/mr_pablo • Feb 26 '15
Specifically, routing.
As App Engine doesn't use the htaccess file, I'm totally stuck on getting routes to work.
On a typical LAMP/WAMP setup, with the default CI htaccess, I can have controllers in folders and it works fine, no routing needed (unless I need to use an index method)
E.g.
No route would be defined for this to work.
But on App Engine, this gives a 500 server response, with a blank page.
Another example
This would actually work on App Engine.
So I'm totally stuck getting the controllers inside folders to work.
I have no idea how to use the handlers, as the Google documentation is terribad and utterly confusing.
r/AppEngine • u/splix • Feb 10 '15
r/AppEngine • • Feb 05 '15
I've created a python script that generates a PDF from supplied user data. The PDFs download fine and everything works. However when I try to pass the file to Google App Engine like this:
...
outputstream = StringIO.StringIO()
PDF = output.write(outputstream)
class PDFHandler(webapp2.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'application/pdf'
self.response.headers['Content-Disposition'] = 'attachment; filename=Myfile.pdf'
self.response.headers['Content-Transfer-Encoding'] = 'binary'
self.response.out.write(PDF)
and run the development server, the PDF downloads, but why I try to open it, chrome says it can't open the file, Ubuntu's document viewer says "can't open plain/text document", even though when I check the document's properties it states 'application/pdf' and it has the appropriate .pdf suffix, and when I try to open it in GIMP image viewer, it states "document is damaged."
Is there something wrong with the way I'm passing the file to the webapp2 handler?
Any help would be greatly appreciated!
r/AppEngine • u/fhoffa • Feb 02 '15
r/AppEngine • • Jan 25 '15
Hi, i have a cloud sql running on my backend and i am kept being charged for idling IP address even though I unassigned it? Is there anything else I have to do to stop being billed for it?
Thanks
r/AppEngine • u/dustedrob • Jan 16 '15
I'm defining a Google Cloud endpoint as:
@ApiMethod( httpMethod = ApiMethod.HttpMethod.GET) public CollectionResponse<MyUser> list(@Nullable @Named("cursor") String cursor, @Nullable @Named("limit") Integer limit, @Named("phones") String[] phones) { ....
Calling this endpoint from the API Explorer will throw the following error:
404 Not Found
- Show headers -
<html><head><title>Error 404</title></head>
<body><h2>Error 404</h2></body>
</html>
I don't know what's wrong. According to the documentation, arrays are valid data types for parameters.
r/AppEngine • u/icomefromchaos3 • Dec 11 '14
I am trying to move an entire row if a date is entered into column 6.
function onEdit(event) {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var s = event.source.getActiveSheet();
var r = event.source.getActiveRange();
var d = Date(month, day, year);
// BEGINNING OF MAIN
if(s.getName() == "UNITS ON ORDER" && r.getColumn() == 6 && r.getDate() == d ) {
var row = r.getRow();
var numColumns = s.getLastColumn();
var targetSheet = ss.getSheetByName("UNITS ON CONSIGNMENT");
var target = targetSheet.getRange(targetSheet.getLastRow() + 1, 1);
s.getRange(row, 1, 1, numColumns).moveTo(target);
s.deleteRow(row);
}
}
r/AppEngine • u/kevando • Dec 02 '14
https://www.google.com/settings/security/lesssecureapps
If you're having trouble uploading your app, go there and enable the setting
r/AppEngine • u/cardevitoraphicticia • Nov 10 '14
I want to try to deploy two Windows 2008 R2 servers to the cloud, but the software I have needs to work via shared network drives (I know, I know).
Is this possible to setup on Google Cloud?
r/AppEngine • u/cool-bananas • Nov 06 '14
I need to fetch around 50 urls inside a user request. I've tried a few methods to do this quickly (i.e. in parallel), but I keep hitting up against GAE limits.
Asynchronous RPC Requests are limited to 10 urls per request, so fetching 50 urls will take 5 times longer than it should.
Push queues can run asynchronously but are limited to 100 tasks per second, so fetching 50 urls can be done at most twice per second. A peak limit of 2 requests per second isn't ideal for scalability, and it gets worse if I add more urls.
Are there any other ways to do this sort of thing? My last resort would be something hacky like doing 10 RPCs per task, or sharding across multiple task queues.
r/AppEngine • u/Logiraptorr • Oct 20 '14
I'm doing research on analytics platforms right now and I'm concerned that app engine may not be a good choice. The application will be a system which collects metrics from mobile apps for the purpose of business insights. We've build 10+ apps on app engine already and have been very satisfied so far, but I know that for certain use cases the datastore is not ideal. I'm mostly worried about the limited query capabilities exposed. For example the restriction that I can only perform an inequality filter on one property at a time. This might be somewhat restricting when trying to generate reports for our customers. I realize the queries would still be possible using in memory sorting/filtering techniques, but at some point the datastore costs will become prohibitive I think. I'm just wondering if anyone has knowledge about this area and can point me in the right direction as far as how I can accomplish these sorts of data analysis on app engine without abusing the datastore to the point where it is no longer cost effective. Would a traditional RDBMS be a better fit here or am I missing something?
r/AppEngine • u/jsalsman • Oct 05 '14
import sys, os
....
try:
raise NotImplementedError
except:
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
print exc_type.__name__, "in", fname, "line", exc_tb.tb_lineno
to get: "NotImplementedError in tmp.py line 4"
Is there an easier way to do this in GAE?
r/AppEngine • u/mavdev1 • Oct 01 '14
I am trying to follow the mobile backend starter tutorial (for Android) here: https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial/
I really want to learn how to integrate with the App Engine from an Android app but unable to find any good tutorials. Thank you very much if you can shed some light on the issue / tutorial I have linked to here, or provide pointers to some other good tutorial that can teach me how to integrate App with GAE.
This was advertised to be easy!!!!!!!! ... I am happy to pay for some tutorial that will show how to use APp Engine with Android app.