I am currently working on google app engine and using datastore to store my data. I am facing an issue in which the entities I am creating through my code is not appearing in the entity section of the console. However, While querying the data return the data but this data is not showing up in the console. Does anyone has any clue to this regard,
Thanks,
I ran into this same issue and was able to fix it by opening the developer tools in the Chrome browser and then "Empty Cache and Hard Reload" the page.
In my case it was a browser caching issue.
Related
I'm using google cloud platform to serve a website. Whenever I update the website (create a build from the terminal and upload it to the Google bucket), users have been reporting site breakages until they hard refresh in browser or clear their caches manually.
Is there a way to configure the bucket to prevent this from happening?
Just to clarify, it's not images/files that are being cached, the whole site stops working when the bucket is updated until a user hard reloads the page in their browser
For some reason my project is not showing logs in the page https://console.cloud.google.com/logs/viewer and I'm prompted with the message:
Welcome to Cloud Logging
View, search, analyze, and download your project's log data, all in one place. This is where you will find the logs for all your projects and Cloud Platform services.
You do not have any logs in your project right now.
However I definitely have logs generated by a google app engine and cloud build, I can access them without a problem using the gcloud command:
gcloud logging read "resource.type=gae_app" --limit 10 --format json
Also, I've enabled error reporting and I can see the logs there for errors, but if I click the label "View Logs" it does nothing.
There's something broken in my project but I'm not sure how to reach support in this case, also has anyone ever experienced something similar ? Is there any action that I can perform that could fix this issue ?
Thank you for any help :)
It magically fixed itself this morning. Yesterday I've enabled stackdriver monitoring in the hope that it could fix the issue, I don't know if that is relevant.
For anyone facing the same problem, best suggestion would be to contact support. For me it fixed automatically after few days :)
I think some other website is using the Google Analytics ID of one of our websites. I recently set up a new Analytics property for a new site but have not yet put the tracking codes in place. Then when I checked our Analytics earlier today, the new property is already reporting visits. How come?
Probably someone hacked our Google Analytics ID. But then we haven't even placed the codes on site so I'm not sure if this is the case. Am I missing something (probably due to a filter set up)?
And if some other website is indeed using our Google Analytics ID, is there a way for me to trace these sites?
I just configured our Analytics to monitor visits that only involve our hostname so hopefully this will solve the issue onwards. But still, are there other possible reasons?
Recently I migrated my application to the High-Replication datastore using the migration tool.
The Datastore Admin page now isnt diplaying correctly:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.
When I visit the Datastore Admin in the old application (the one I migrated from) I get the following notifications:
This application is hidden by an alias. The application lrweb2012 has
an alias that causes it to receive all traffic normally directed at
this one. Unless you are looking for historical data, you probably
want to see that application.
Datastore Admin is disabled. Because lrweb2012 has an alias that
shadows this application the Datastore Admin tool cannot be used.
Can anyone experianced suggest what is going on, and how I may go about resolving this issue?
Cheers,
You migrated your app, so you probably want to be looking at the admin for lrweb2012-hrd (or wherever you migrated it to) instead of the old setup.
Use the drop-down at the top-left corner to pick a different app.
After following the instruction to migrate from a GAE app from Master/Slave to High Replication Datastore(HRD), the app is returning nothing for datastore read. I am able to see the data using the "Datastore Viewer" and they are there (migrated successfully). I have not changed any code. Just wondering if there's anything I need to set or configure for the datastore read to happen. I don't see any error in the "Log Console" on my dev machine and no error on the server's "Logs".
The issue has resolved itself after a few days. Now the app is returning the correct data. It may be just a glitch from the migration. I have another GAE app that's stuck in the middle of the migration. Searching on SO I have found others that are experiencing the same problem.