[google-appengine] Re: AppEngine crashing my webserice randomly with errors

2022-04-25 Thread 'Amit Sinha' via Google App Engine
Hi,

Thank you for sharing this. As it is not showing any other errors in the 
logs, it could be hard to tell the root cause by looking into this. 

So at this point, I would recommend to report this in the issue tracker by 
clicking here 
 
to investigate it further. Please provide as much information as possible. 
Also when turning this issue in private you can share the project ID and 
App Engine version name in the issue tracker link to check further. I hope 
it helps.

On Saturday, April 23, 2022 at 6:24:25 PM UTC-4 rob...@cluemaster.io wrote:

> Hello Darrell.  
>
> No other error's at all in the logs.  The AppEngine stays at about 650MB 
> consistently and the CPU at 5% or less.  Were not sure why it happens 
> unless Google is pushing out Linus OS updates on the instances forcibly in 
> our day times. We don't know where to look next.
>
> We have our app.yaml set to this so we should be ok.
>
> resources:
>   cpu: 2
>   memory_gb: 2.0
>   disk_size_gb: 10
>
> On Thursday, April 21, 2022 at 4:37:00 PM UTC-7 Darrell (Cloud Platform 
> Support) wrote:
>
>> Hi,
>>
>> Are there any other relevant error logs? I am asking because there are a 
>> couple of reasons for the shutdown process to occur[1]. I suggest verifying 
>> if your instance is exceeding the maximum memory and checking if there are 
>> any CPU spikes prior to the crashing.
>>
>> I hope this helps!
>>
>> [1] 
>> https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#shutdown
>>
>> On Thursday, April 21, 2022 at 10:29:59 AM UTC-4 rob...@cluemaster.io 
>> wrote:
>>
>>> Were getting random AppEngine instance crashing ever so many days. It 
>>> seems this year to happen allot more then usual.
>>>
>>> We get these shutdown errors when it happens in the log console. Any 
>>> ideas on why this happens?  Is this Google updating the Linux kernel os 
>>> behind the scenes?  Any way to stop that or set updates only on off hours?
>>>
>>> {
>>>   "insertId": "0",
>>>   "jsonPayload": {
>>> "@type": "type.googleapis.com/cloud_integrity.IntegrityEvent",
>>> "shutdownEvent": {},
>>> "bootCounter": "25"
>>>   },
>>>   "resource": {
>>> "type": "gce_instance",
>>> "labels": {
>>>   "instance_id": "",
>>>   "zone": "us-central1-c",
>>>   "project_id": ""
>>> }
>>>   },
>>>   "timestamp": "2022-04-20T21:07:52.780477835Z",
>>>   "severity": "NOTICE",
>>>   "logName": "projects//logs/compute.googleapis.com
>>> %2Fshielded_vm_integrity",
>>>   "receiveTimestamp": "2022-04-20T21:07:54.811246896Z"
>>> }
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c067967e-b6b9-484c-bf3c-30f8d142e416n%40googlegroups.com.


Re: [google-appengine] Digest for google-appengine@googlegroups.com - 2 updates in 1 topic

2022-04-18 Thread 'Amit Sinha' via Google App Engine
Hi, 

Could you please check if you are using this 
 plugin? 
Also what is the error that is given while using if you are using this? I 
am looking for more context to know 'why'. 

In addition did you try the solution that was provided in the link 
 you shared? 
Does it work? 

On Saturday, April 16, 2022 at 6:24:26 PM UTC-4 tim_mac...@yahoo.co.uk 
wrote:

> Hot restart works as described above.
> The old maven plugin enabled hot swap,
> but with the Cloud SDK-based maven plugin that doesn't work,
> anyone know why ?
>
>
> On Saturday, 16 April 2022, 19:54:30 BST, google-a...@googlegroups.com <
> google-a...@googlegroups.com> wrote: 
>
>
> google-a...@googlegroups.com Google Groups 
> 
>  
> 
>  
> Topic digest 
> View all topics 
>
>- hot reload: mvn google cloud sdk 
><#m_7069162630921065152_group_thread_0> - 2 Updates 
>
> hot reload: mvn google cloud sdk 
> 
>  
> Rajesh G : Apr 16 05:20PM +0530 
>
> Hello,
> I have created a simple java appengine using maven archetypes.
> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>  
> I run the server using
> mvn appengine:run
>  
> Then I do simple changes to a servlet. Then another window, I run
> mvn:compile. It compiles into the target/snapshot folder
>  
> However, I am not seeing the changes on the server. The latest servlet
> changes is not reflected
>  
> I tried the following settings also in the pom.xml file. The server is not
> restarted
>  
> 
> true
> 
>  
>  
> --
> Support Team
> www.servicefolder.com
> <
> https://mailtrack.io/trace/link/d3f22bd739b3718e12c68c5b86438ca61f830fa3?url=https%3A%2F%2Fwww.servicefolder.com&userId=6615365&signature=f4810861ea559986
> >
> *Field Service Software on Google Cloud Platform and Mobile*
> Ludovic Champenois : Apr 16 09:50AM -0700 
>
> Hi,
> Almost there, I think you are missing this critical line in your pom.xml:
> 
>
>
> target/${project.artifactId}-${project.version}/WEB-INF/classes
> 
> ...
>  
> This way, the compile on save is put the changed class in the correct web 
> app location.
> At least, I tested it in NetBeans and it works great as NetBeans can do 
> compile automatically when you save a java file, even in the Maven project.
> Ludo
>  
>  
> On Saturday, April 16, 2022 at 4:50:43 AM UTC-7 
> Back to top <#m_7069162630921065152_digest_top> 
> You received this digest because you're subscribed to updates for this 
> group. You can change your settings on the group membership page.
> To unsubscribe from this group and stop receiving emails from it send an 
> email to google-appengi...@googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d6992db6-2c92-494c-a97b-53049e5fe52dn%40googlegroups.com.


[google-appengine] Re: Manual/basic GAE instance in Java11 gets 403 on start

2022-03-29 Thread &#x27;Amit Sinha' via Google App Engine


Hello Eduardo, 

If I understand the issue correctly, when you are changing the app.yaml 
file to change the scaling type 

 
from dynamic, it starts to give the error. Is my understanding correct? 
Could you please confirm if you are using this serverless VPC access 

?
Internally, I didn't see anything reported related to this.Please note, 
Google Group is intended to provide general information about the Google 
Cloud Platform. If you believe this issue is related to the product, I 
would recommend that you open a private issue 
 and provide more 
details with the error logs so that we can investigate this further. I hope 
it will be helpful.

On Tuesday, March 29, 2022 at 9:45:36 AM UTC-4 eduardo@versia.com wrote:

> Hello,
>
> Migrating from dynamic instances in Java11 GAE to manual/basic instances 
> results in 403 error when Google services (from IP 0.1.0.3) performs a 
> "/_ah/start" request.
>
> App Engine is configured with Private Service Access and is only 
> accessible from the VPC and specific IP's. No firewall rules apply because 
> it's an internal request from Google but rules were configured for testing 
> purposes. Either in manual or basic mode the result is the same, if we roll 
> back to the dynamic mode it works fine.
>
> Does anyone with a similar problem? Thank you in advance.
>
> Eduardo Moraleja
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e20f282f-e319-41ab-bcaa-d7752af97483n%40googlegroups.com.


[google-appengine] Re: New weird error.

2022-03-23 Thread &#x27;Amit Sinha' via Google App Engine


Hi Joshua,

As you mentioned, this started to happen recently, could you please confirm 
if you still have this issue? I was trying to find any recently reported 
issues related to the error, but it seems like nothing has been reported 
yet. By mentioning the NDB datastore , are you referring to this [0]?

After doing some research on this error, it seems like a very generic error 
statement. I can see a couple of other reports with the same types of “
AttributeError” [1]. So it could be hard to find the solution without 
investigating in detail. At this point, I would like to note that Google 
Group is intended for very general purpose questions. If you believe this 
could be an error related to the library, you could report this to Issue 
Tracker by creating a private issue [4] with all details (project ID , App 
Engine version name etc). In general troubleshooting coding errors are best 
to report in Stackoverflow [5] where it can be visible to other developers 
to get the best feedback.   


[0] https://cloud.google.com/appengine/docs/standard/python/ndb

[1] 
https://stackoverflow.com/questions/8949252/why-do-i-get-attributeerror-nonetype-object-has-no-attribute-something

[2] 
https://stackoverflow.com/questions/54474655/error-nonetype-object-has-no-attribute-call

[3] https://github.com/googleapis/google-cloud-python/issues/10619

[4] https://cloud.google.com/support/docs/issue-trackers

[5] https://cloud.google.com/support/docs/stackexchange


On Wednesday, March 23, 2022 at 9:00:56 AM UTC-4 Joshua Smith wrote:

> (See full stack trace at the end)
>
> Anyone else seeing datastore errors over the last few hours? Most recent 
> was 2.5 hours ago...
>
> The line that's throwing the exception (srv/main.py:989) is:
>
> if WebMQueueModel.gql("WHERE status = :1", "running").get():
>
> My best guess is that there's some intermittent issue with the NDB 
> datastore which is bubbling up as this exception.
>
> It's happening the same time as this:
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e8f7523e-4798-4f4e-a560-bf2426ac744fn%40googlegroups.com.


[google-appengine] Re: Problem Upgrading from 354.0.0

2021-11-23 Thread &#x27;Amit Sinha' via Google App Engine
At this point, I would recommend to create an issue to investigate further 
using this <https://cloud.google.com/support/docs/issue-trackers> issue 
tracker. 

On Tuesday, November 23, 2021 at 2:01:07 PM UTC-5 ron...@gmail.com wrote:

> Windows environment variables seem to be clean.
>
> On Monday, November 22, 2021 at 11:02:45 AM UTC-8 amit...@google.com 
> wrote:
>
>> Hi, does your windows environment contain any non-ascii / unicode data? 
>> It is most likely due to python 2 mishandling of non-ascii chars in an 
>> environment name or value. As an workaround, you could check if you can 
>> change or remove those env variable?
>>
>> On Friday, November 19, 2021 at 3:49:38 PM UTC-5 ron...@gmail.com wrote:
>>
>>> When I have attempted to upgrade from version 354.0.0 to 364.0.0 or to 
>>> 365.0.00 on Windows 7 with python 2.7 installed the upgrade finishes 
>>> without error, but I have the issue below. If I revert my installation back 
>>> to 354.0.0 it works fine.
>>>
>>> I can execute dev_appserver.py app.yaml without issue,  But when I open 
>>> my browser and goto http://localhost:8080/ I receive the following 
>>> messages:
>>>
>>> C:\www\test>dev_appserver.py app.yaml
>>> INFO 2021-11-19 12:09:26,140 devappserver2.py:316] Skipping SDK 
>>> update check.
>>> INFO 2021-11-19 12:09:26,875 :383] Starting API server at: 
>>> http://localhost:63789
>>> INFO 2021-11-19 12:09:27,045 dispatcher.py:281] Starting module 
>>> "default" running at: http://localhost:8080
>>> INFO 2021-11-19 12:09:27,048 admin_server.py:150] Starting admin 
>>> server at: http://localhost:8000
>>> INFO 2021-11-19 12:09:32,921 instance.py:294] Instance PID: 6876
>>> ERROR:root:Failure to start PHP with: 
>>> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\g
>>> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
>>> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
>>> \\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
>>> 'C:\\www\\test', '-d', 'zend
>>> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
>>> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
>>> 'extension="php_gae_runtime_module.dll"', '-d', 
>>> 'extension_dir="C:\\Users\\Ron
>>> \\AppData\\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.5-Win32-VC11-x86"']
>>> Traceback (most recent call last):
>>> INFO 2021-11-19 12:09:33,921 module.py:883] default: "GET /_ah/start 
>>> HTTP/1.1" 500 754
>>>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
>>> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
>>> vappserver2\php\runtime\runtime.py", line 269, in __call__
>>> stdout=subprocess.PIPE)
>>>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
>>> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
>>> vappserver2\safe_subprocess.py", line 84, in start_process
>>> shell=shell)
>>>   File "C:\Python27\lib\subprocess.py", line 394, in __init__
>>> errread, errwrite)
>>>   File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
>>> startupinfo)
>>> TypeError: environment can only contain strings
>>> ERROR:root:Failure to start PHP with: 
>>> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\g
>>> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
>>> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
>>> \\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
>>> 'C:\\www\\test', '-d', 'zend
>>> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
>>> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
>>> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
>>> 'extension="php_gae_runtime_module.dll"', '-d', 
>>> 'extension_dir="C:\\Users\\Ron
>>> \\AppData\\Local\\Google\\Cloud 
>>> S

[google-appengine] Re: Problem Upgrading from 354.0.0

2021-11-22 Thread &#x27;Amit Sinha' via Google App Engine
Hi, does your windows environment contain any non-ascii / unicode data? It 
is most likely due to python 2 mishandling of non-ascii chars in an 
environment name or value. As an workaround, you could check if you can 
change or remove those env variable?

On Friday, November 19, 2021 at 3:49:38 PM UTC-5 ron...@gmail.com wrote:

> When I have attempted to upgrade from version 354.0.0 to 364.0.0 or to 
> 365.0.00 on Windows 7 with python 2.7 installed the upgrade finishes 
> without error, but I have the issue below. If I revert my installation back 
> to 354.0.0 it works fine.
>
> I can execute dev_appserver.py app.yaml without issue,  But when I open my 
> browser and goto http://localhost:8080/ I receive the following messages:
>
> C:\www\test>dev_appserver.py app.yaml
> INFO 2021-11-19 12:09:26,140 devappserver2.py:316] Skipping SDK update 
> check.
> INFO 2021-11-19 12:09:26,875 :383] Starting API server at: 
> http://localhost:63789
> INFO 2021-11-19 12:09:27,045 dispatcher.py:281] Starting module 
> "default" running at: http://localhost:8080
> INFO 2021-11-19 12:09:27,048 admin_server.py:150] Starting admin 
> server at: http://localhost:8000
> INFO 2021-11-19 12:09:32,921 instance.py:294] Instance PID: 6876
> ERROR:root:Failure to start PHP with: 
> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\g
> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
> \\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
> 'C:\\www\\test', '-d', 'zend
> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
> 'extension="php_gae_runtime_module.dll"', '-d', 
> 'extension_dir="C:\\Users\\Ron
> \\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.5-Win32-VC11-x86"']
> Traceback (most recent call last):
> INFO 2021-11-19 12:09:33,921 module.py:883] default: "GET /_ah/start 
> HTTP/1.1" 500 754
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\php\runtime\runtime.py", line 269, in __call__
> stdout=subprocess.PIPE)
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\safe_subprocess.py", line 84, in start_process
> shell=shell)
>   File "C:\Python27\lib\subprocess.py", line 394, in __init__
> errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
> startupinfo)
> TypeError: environment can only contain strings
> ERROR:root:Failure to start PHP with: 
> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\g
> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
> \\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
> 'C:\\www\\test', '-d', 'zend
> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
> 'extension="php_gae_runtime_module.dll"', '-d', 
> 'extension_dir="C:\\Users\\Ron
> \\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.5-Win32-VC11-x86"']
> INFO 2021-11-19 12:09:33,940 module.py:883] default: "GET / HTTP/1.1" 
> 500 754
> Traceback (most recent call last):
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\php\runtime\runtime.py", line 269, in __call__
> stdout=subprocess.PIPE)
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\safe_subprocess.py", line 84, in start_process
> shell=shell)
>   File "C:\Python27\lib\subprocess.py", line 394, in __init__
> errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
> startupinfo)
> TypeError: environment can only contain strings
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/72038eb1-dad6-4190-be31-4c7f023cbdf2n%40googlegroups.com.


[google-appengine] Re: Google Translate API & Permissions

2020-11-19 Thread &#x27;Amit Sinha' via Google App Engine


*Hello Joshua, could you try to add the “Cloud Translation API User” role 
in the service account from IAM? As of this [1] documentation, it includes 
the permission that showing in the error.[1] 
https://cloud.google.com/iam/docs/understanding-roles#cloud-translation-roles*
On Monday, November 16, 2020 at 2:23:03 PM UTC-5 Joshua Smith wrote:

> I don’t think Google could have come up with a more confusing and 
> convoluted system for API permission management if they tried.
>
> So I’ve enabled the “cloud translation” API within my project.
>
> I have some Python (2.7, old school) code that goes:
>
> credentials = 
> ServiceAccountCredentials.from_json_keyfile_name(CLIENT_SECRETS_FILE, 
> scopes=['https://www.googleapis.com/auth/cloud-platform’])
> http_auth = credentials.authorize(Http())
> service = build("translation", "v3", http=http_auth)
> service.projects().translateText(parent=“projects/*my-project-id-here*",body={"contents":"bonjour",
>  
> "targetLanguageCode":"en"}).execute()
>
> And I get:
>
> googleapiclient.errors.HttpError:  https://translation.googleapis.com/v3/projects/*my-project-id-here*:translateText?alt=json
>  
> returned "Cloud IAM permission 'cloudtranslate.generalModels.predict' 
> denied.">
>
> So it seems like I need to check some box somewhere to make this work, but 
> I can’t figure out where.
>
> The service account in the client secrets file is working fine when I use 
> it to hit Google Analytics from the same app. And in fact, my code to 
> access GA is almost identical except the scope and service call.
>
>
> Any ideas?
>
>
> -Joshua
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/38511647-af55-4440-b8a9-47a2d26e1f42n%40googlegroups.com.


[google-appengine] Re: GAE started saying This version has no instances deployed

2020-11-02 Thread &#x27;Amit Sinha' via Google App Engine
Hello, 

Thank you for your update. I am glad that the issue is already resolved. 
Please let us know if you any other questions or concerns. 

On Monday, November 2, 2020 at 4:58:21 AM UTC-5 vaju...@gmail.com wrote:

> This was fixed. This was some sort of network issue. Somehow every device 
> connected to the same ISP were not able to access the ".appspot.com" 
> endpoint. I tried with another ISP and found this is fixed. Thanks.
>
> On Monday, 2 November 2020 at 15:23:22 UTC+5:30 Vajahath Ahmed wrote:
>
>> GAE asia-south1 (MUMBAI) running in node.js 12.
>> It was actually working yesterday.
>> app.yaml
>> runtime: nodejs12
>> env_variables:
>>   NODE_ENV: staging
>>
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/67661f90-32a8-4b5a-8a6c-8be3234548e3n%40googlegroups.com.


[google-appengine] Re: Slow Cloud SQL access from GAE when compared to Cloud Run

2020-10-29 Thread &#x27;Amit Sinha' via Google App Engine
Hello,

By going through the details you provided and relevant documentation for 
the settings [1,2], I believe the configuration for both are same. During 
my research, I am yet to find any reason to believe that App Engine takes 
more time for the connection. Just wondering, are you able to test it using 
the public IP? Did you find any connection drop from App Engine in the 
logs?

[1] 
https://cloud.google.com/sql/docs/postgres/connect-app-engine-standard#configuring
[2] https://cloud.google.com/sql/docs/postgres/connect-run#configuring

On Thursday, October 29, 2020 at 10:20:22 AM UTC-4 jonmiddl...@gmail.com 
wrote:

> Is it expected that AppEngine Standard performs significantly slower than 
> Cloud Run when a connection to Cloud SQL (Postgres) is involved?
>
> Testing whether to move away from AWS and which GCP solution to move to 
> and have fired up instances of Cloud Run and AppEngine to test a NestJS API.
> Having added logging to isolate just the time taken to query the DB as 
> part of an API call, the same GET request that takes 400ms query time on 
> average in Cloud Run takes 2100ms in AppEngine.
> To clarify this is the same source, same build deployed to both and these 
> are the times once warm so I'm excluding the first few requests.
>
> For any code not talking to my Cloud SQL instance, i.e. a dummy javascript 
> method to chew up some CPU time, the performance is more or less identical
>
> Cloud SQL, AppEngine and Cloud Run are all set up in the same region 
> (australia-southeast1), and connection from GAE and Cloud Run to Cloud SQL 
> is for both via Private IP and Serverless VPC.
>
> Since I'm in free tier whilst trialing my options, I tried chat support 
> and basically got down to (verbatim) "cloud run is design to handle data 
> from apis with cloud sql" while "app engine is recommended for webhosting".
>
> I'm assuming this is wrong and and a 3-5x slower query performance to 
> Cloud SQL from GAE isn't an expectation? Any pointers in terms of where 
> this may be failing?
> I haven't yet tried via Public IP and wasn't keen to but I will likely 
> repeat my tests on both to see if that makes any difference and post my 
> updates here.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8d0554cf-8cc3-4ac9-a9a3-7ed31d32a5d5n%40googlegroups.com.


[google-appengine] Re: Wordpress + Google domain

2020-08-27 Thread &#x27;Amit Sinha' via Google App Engine


Hello, 

I have found this [1] tutorial explaining the details about the wordpress 
hosting in GCP. All steps are well explained. Please note this is not an 
official video but good to answer all the questions. To know more about the 
SSL certificate, I would recommend checking this [2] documentation for 
available options.

[1] https://www.youtube.com/watch?v=cG9kv5-5bPI
[2] https://support.google.com/domains/answer/7630973?hl=en

On Wednesday, August 26, 2020 at 12:27:58 PM UTC-4 irinelch...@gmail.com 
wrote:

> Hi,
> I created WordPress on google cloud. It works properly. Statito IP set. 
> Created my zone with all www and not IP addresses. I changed the NS of my 
> domain on google pointing them to those of google cloud.
> Did I do everything right? Will the SSL certificate be issued 
> automatically since my domain is registered on Google domains or not? How 
> do I change the address within WordPress? Thank you. Is the procedure I 
> have done correct?
>
> (Sorry for my English)
>
> Irinel
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/30e31256-cadf-4fe9-ba6f-1a3ff7636e76n%40googlegroups.com.


[google-appengine] Re: Getting an error in the php zip module

2020-08-25 Thread &#x27;Amit Sinha' via Google App Engine
Hello,

To clarify, could you please confirm if you use this [1] service to deploy 
the Wordpress? Also please let us know if you are getting this error while 
deploying the instance?

[1] https://cloud.google.com/wordpress

On Tuesday, August 25, 2020 at 3:37:31 AM UTC-4 suhenda...@gmail.com wrote:

> Thanks for your attentions
>
> I use Google Cloud Compute with instances installed in wordpress. 
> I have also read that the php zip module is already active on GCP. But I 
> have tried on several wordpress themes. The notification is the same. 
>
> "ZipArchive Support: No ZipArchive is required for plugins installation 
> and pre-made websites import. Please contact your hosting provider."
> Pada Selasa, 25 Agustus 2020 pukul 01.38.23 UTC+7 David (Cloud Platform 
> Support) menulis:
>
>> Could you specify if you are using App Engine standard or flexible?
>> Zip should be enabled by default in both App Engine Standard 
>> 
>>  
>> and Flexible 
>> .
>>   
>> However, if you believe this is a Wordpress specific issue, you may benefit 
>> from asking this within the Wordpress Community Forums 
>> .
>> On Saturday, August 22, 2020 at 2:53:58 PM UTC-4 suhenda...@gmail.com 
>> wrote:
>>
>>> Hi,
>>>
>>> Firstly can I thank you for offering this community support - it's 
>>> invaluable.
>>>
>>> My question is how to enable the php zip module on php runtime?
>>>
>>> Many thanks in advance for your help.
>>>
>>> Suhendar
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/118d5c34-241a-4580-ae65-f0635b8c17ccn%40googlegroups.com.


[google-appengine] Re: Getting an error in the php zip module

2020-08-25 Thread &#x27;Amit Sinha' via Google App Engine
Hello,

To clarify, could you please confirm if you use this [1] service to deploy 
the Wordpress? 

[1] https://cloud.google.com/wordpress

On Tuesday, August 25, 2020 at 3:37:31 AM UTC-4 suhenda...@gmail.com wrote:

> Thanks for your attentions
>
> I use Google Cloud Compute with instances installed in wordpress. 
> I have also read that the php zip module is already active on GCP. But I 
> have tried on several wordpress themes. The notification is the same. 
>
> "ZipArchive Support: No ZipArchive is required for plugins installation 
> and pre-made websites import. Please contact your hosting provider."
> Pada Selasa, 25 Agustus 2020 pukul 01.38.23 UTC+7 David (Cloud Platform 
> Support) menulis:
>
>> Could you specify if you are using App Engine standard or flexible?
>> Zip should be enabled by default in both App Engine Standard 
>> 
>>  
>> and Flexible 
>> .
>>   
>> However, if you believe this is a Wordpress specific issue, you may benefit 
>> from asking this within the Wordpress Community Forums 
>> .
>> On Saturday, August 22, 2020 at 2:53:58 PM UTC-4 suhenda...@gmail.com 
>> wrote:
>>
>>> Hi,
>>>
>>> Firstly can I thank you for offering this community support - it's 
>>> invaluable.
>>>
>>> My question is how to enable the php zip module on php runtime?
>>>
>>> Many thanks in advance for your help.
>>>
>>> Suhendar
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/93924ec4-583d-48cb-b410-52e1e0560835n%40googlegroups.com.


[google-appengine] (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas were exceeded: IN_USE_ADDRESSES (quota: 4, used: 4 + needed: 2)

2020-05-06 Thread Amit Singh
Earlier I was unable to deploy project to GCP but today I'm getting stuck 
with this* (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas were 
exceeded: IN_USE_ADDRESSES (quota: 4, used: 4 + needed: 2) *error.
Why this error is coming  while deploying to GCP? 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/223d145f-a6a2-4593-948f-4cfee7b6a196%40googlegroups.com.


[google-appengine] deploy failed: Non zero exit: 1

2020-05-05 Thread Amit Singh
Hey, This side amit here. 
I am trying to deploy spring boot application as JAR file to Google Cloud 
Platform (GCP) using mvn package appengine:deploy -X command line.
This command working fine and does not return any error. But in past 2-3 
days I'm getting error in deploying the application. I thought may be it's 
bug then i decided to deploy it again after few hour but still I'm unable 
to resolve the issue.
The error is : * Caused by: 
org.apache.maven.plugin.PluginExecutionException: Execution default-cli of 
goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy failed: Non 
zero exit: 1*

*Can anyone help?*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2d3f236e-a1bf-447d-86a1-ef2424e760f2%40googlegroups.com.


[google-appengine] 502 Bad Gateway (nginx)

2020-05-05 Thread Amit Singh
I am getting 502 Bad Gateway (nginx) error. I have deployed spring boot 
application as jar file to GCP. But it give me error as 502 bad getway when 
I tried to access the url. 
Why I'm getting such type of issue. Here i'm also attaching image. 

[image: 502 Bad Gateway.png]
Can anyone help?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4f9bcf09-cab2-47ad-af46-736261b36c0b%40googlegroups.com.


Re: [google-appengine] PHP project deployment generates unknown errors suddenly

2020-02-04 Thread Amit Lahiri
Hi Mua.

I have updated the Google Cloud SDK Shell by command,
gcloud components update

But still issue persists. What am I supposed to do?


Thank you,
Amit Kumar Lahiri
Full Stack Developer
M. +91-9836178574
E. alah...@nuundigital.com
[cid:aa2df38d-b559-44d1-8ae3-0c22d0f9c9e3]
Nuun Digital
https://www.nuundigital.com/
Synchronizing Technology, Strategy, Design and Marketing to Solve Complex 
Problems.


From: google-appengine@googlegroups.com  on 
behalf of Mua Rachmann 
Sent: Tuesday, February 4, 2020 7:19 AM
To: google-appengine@googlegroups.com 
Subject: Re: [google-appengine] PHP project deployment generates unknown errors 
suddenly

Hi,

Did you upgrade the gcloud sdk and tools/components... Looks like it is 
something with ur python version and also it is worth nothing that the gcloud 
updated to python 3 since python 2 is at EOL, and that works fine. You might 
want to re-install the sdk with python3 and try again.


Regards,
Mua

On Tue, 4 Feb 2020 at 16:01 Amit Lahiri 
mailto:alah...@nuundigital.com>> wrote:
Till yesterday, everything was good, able to deploy simple PHP project 
successfully from Google Cloud SDK Shell. But suddenly, receive the below 
errors list at the end. Do not understand why this happens. Also, do not 
understand why Python erros are showing.

File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 
466aef5a-213e-41c2-a6c9-e61ec6b09631 status: FAILURE.
Error ID: F220AEAA.
Error type: BuildError.
Error message: INFO FTL version php-v0.17.0
INFO Beginning FTL build for php
INFO FTL arg passed: exposed_ports None
INFO FTL arg passed: cache_repository 
us.gcr.io/phpdemo-264019/app-engine-tmp/build-cache/ttl-7d<http://us.gcr.io/phpdemo-264019/app-engine-tmp/build-cache/ttl-7d>
INFO FTL arg passed: tar_base_image_path None
INFO FTL arg passed: export_cache_stats False
INFO FTL arg passed: builder_output_path ""
INFO FTL arg passed: name 
us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36<http://us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36>
INFO FTL arg passed: ttl 168
INFO FTL arg passed: global_cache False
INFO FTL arg passed: cache True
INFO FTL arg passed: upload True
INFO FTL arg passed: sh_c_prefix False
INFO FTL arg passed: fail_on_error True
INFO FTL arg passed: base 
us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00<http://us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00>
INFO FTL arg passed: output_path None
INFO FTL arg passed: cache_key_version v0.17.0
INFO FTL arg passed: cache_salt
INFO FTL arg passed: directory /workspace
INFO FTL arg passed: entrypoint None
INFO FTL arg passed: additional_directory /.googleconfig
INFO FTL arg passed: destination_path /srv
INFO FTL arg passed: verbosity NOTSET
INFO starting: full build
INFO starting: builder initialization
INFO Loading Docker credentials for repository 
'us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00<http://us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00>'
INFO Loading Docker credentials for repository 
'us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36<http://us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36>'
INFO builder initialization took 0 seconds
INFO starting: build process for FTL image
INFO starting: rm_vendor_dir
INFO rm_vendor_dir rm -rf /workspace/vendor
INFO `rm_vendor_dir` stdout:

INFO rm_vendor_dir took 0 seconds
INFO build process for FTL image took 0 seconds
INFO full build took 0 seconds
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/local/bin/ftl.par/__main__.py", line 65, in 
  File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
  File "/usr/local/bin/ftl.par/__main__/ftl/php/builder.py", line 49, in Build
  File "/usr/local/bin/ftl.par/__main__/ftl/php/layer_builder.py", line 57, in 
BuildLayer
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 4 column 5 (char 59).


--
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe fr

[google-appengine] PHP project deployment generates unknown errors suddenly

2020-02-04 Thread Amit Lahiri
Till yesterday, everything was good, able to deploy simple PHP project 
successfully from Google Cloud SDK Shell. But suddenly, receive the below 
errors list at the end. Do not understand why this happens. Also, do not 
understand why Python erros are showing. 

File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 
466aef5a-213e-41c2-a6c9-e61ec6b09631 status: FAILURE.
Error ID: F220AEAA.
Error type: BuildError.
Error message: INFO FTL version php-v0.17.0
INFO Beginning FTL build for php
INFO FTL arg passed: exposed_ports None
INFO FTL arg passed: cache_repository 
us.gcr.io/phpdemo-264019/app-engine-tmp/build-cache/ttl-7d
INFO FTL arg passed: tar_base_image_path None
INFO FTL arg passed: export_cache_stats False
INFO FTL arg passed: builder_output_path ""
INFO FTL arg passed: name 
us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36
INFO FTL arg passed: ttl 168
INFO FTL arg passed: global_cache False
INFO FTL arg passed: cache True
INFO FTL arg passed: upload True
INFO FTL arg passed: sh_c_prefix False
INFO FTL arg passed: fail_on_error True
INFO FTL arg passed: base 
us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00
INFO FTL arg passed: output_path None
INFO FTL arg passed: cache_key_version v0.17.0
INFO FTL arg passed: cache_salt
INFO FTL arg passed: directory /workspace
INFO FTL arg passed: entrypoint None
INFO FTL arg passed: additional_directory /.googleconfig
INFO FTL arg passed: destination_path /srv
INFO FTL arg passed: verbosity NOTSET
INFO starting: full build
INFO starting: builder initialization
INFO Loading Docker credentials for repository 
'us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00'
INFO Loading Docker credentials for repository 
'us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36'
INFO builder initialization took 0 seconds
INFO starting: build process for FTL image
INFO starting: rm_vendor_dir
INFO rm_vendor_dir rm -rf /workspace/vendor
INFO `rm_vendor_dir` stdout:

INFO rm_vendor_dir took 0 seconds
INFO build process for FTL image took 0 seconds
INFO full build took 0 seconds
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/local/bin/ftl.par/__main__.py", line 65, in 
  File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
  File "/usr/local/bin/ftl.par/__main__/ftl/php/builder.py", line 49, in 
Build
  File "/usr/local/bin/ftl.par/__main__/ftl/php/layer_builder.py", line 57, 
in BuildLayer
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 4 column 5 (char 59).

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3a7a748d-1d38-4d0d-9368-500034423cf3%40googlegroups.com.


[google-appengine] Re: Allow app engine access only from a specific website?

2020-01-08 Thread &#x27;Amit Sinha' via Google App Engine


Hello John,

In GCP, you can restrict the access using App Engine firewall rules. As it 
accepts only the IP range, this might not be useful in your case. However, 
I think you can configure the app's landing page simply perform a request 
check and make sure it's from that domain [1] before allowing it (otherwise 
redirect to an error page).  Alternatively, it might be possible to set 
some sort of authentication string in a post payload to determine 
eligibility (similarly if the string is not there, simply redirect to error 
page). I hope it helps. 

[1]  https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer


On Monday, January 6, 2020 at 4:31:15 PM UTC-5, Mapperkids wrote:
>
> Hi,
>
> We want to set up our app engine to only allow access from specific public 
> domain like www.whatever.com ( it is an external public available 
> website), how can I do that which is not by IP range level so I can't do it 
> using the app engine firewall setting.
>
> Our app is written in Python and the app engine services are in both 
> standard / flex environment.
>
> The flow will be like someone clicking a link on the www.whatever.com and 
> it will redirect to our app front end to show a page, but we would like to 
> make sure the request is come from www.whatever.com otherwise, should 
> give them like 500 server error or something.
>
>
> Any ideas how can I do that?
>
> Thanks in advance.
> John
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/555cdec1-c694-4535-8ae1-24aaf26b0400%40googlegroups.com.


[google-appengine] Re: gcloud app deploy ERROR

2020-01-07 Thread &#x27;Amit Sinha' via Google App Engine


Hello Benoit,

Thank you for using Google Groups. By going through the status page [1], it 
seems like you are affected by a known issue mentioned for App Engine. I am 
glad that the issue is resolved for you. Please do not hesitate to ask if 
you have any other questions or concerns regarding this.

[1] https://status.cloud.google.com/incident/cloud-functions/20001

On Tuesday, January 7, 2020 at 2:56:35 PM UTC-5, Benoit Laforet wrote:
>
> It is finnaly working.
>>
> I guess it was a Goolge sever issue. 
>
>>  
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b8ad048b-a558-4b7c-9ea6-d47d5b752999%40googlegroups.com.


[google-appengine] Re: Prophet Facebook

2019-10-29 Thread &#x27;Amit Sinha' via Google App Engine
Hello Eduard,

Glad to know that it helps. Please let us know if you have any other 
questions or concerns regarding this. 


On Tuesday, October 29, 2019 at 4:45:24 PM UTC-4, Eduard Arán Calonja wrote:
>
> Okay! thank you for the suggestion!!
>
>
> El lunes, 28 de octubre de 2019, 17:49:41 (UTC+1), George (Cloud Platform 
> Support) escribió:
>>
>> Hello Eduard, 
>>
>> You also need a appengine_config.py file, and other configuration 
>> settings to install your library, as detailed on the "Using Python 2 
>> libraries" documentation page 
>> 
>> . 
>>
>> Are there enough resources available? If you are using a VM, be aware 
>> that you will need at least 4GB of memory to install fbprophet 
>> , and at 
>> least 2GB of memory to use fbprophet. 
>>
>> This discussion group is oriented more towards general opinions, trends, 
>> and issues of general nature touching the app engine. For coding and 
>> program architecture, as well as importing third-party Python libraries, 
>> you may be better served in dedicated forums such as stackoverflow, where 
>> experienced programmers are within reach and ready to help. 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/71b47542-b370-4842-b70d-20574293281b%40googlegroups.com.


[google-appengine] Re: Is the Memcache Service deprecated? (2nd generation runtime migration question)

2019-10-28 Thread &#x27;Amit Sinha' via Google App Engine
Hello Ken, I glad that it helps you. Please let us know if you have any 
other questions or concerns. 

On Friday, October 25, 2019 at 9:41:02 PM UTC-4, Ken Bailey wrote:
>
> Ah, I see; that comment on the issue tracker was exactly the type of 
> information I was looking for. Seems pretty explicit. Thanks for you help!
>
> On Friday, October 25, 2019 at 12:23:19 PM UTC-4, Yasser Karout wrote:
>>
>> For flexible environments, a memcache service will be available at some 
>> point as mentioned in the doc you linked.
>>
>> For standard environments, using Cloud Memorystore (via VPC Connect) is 
>> the only supported cache path for 2nd Generation runtimes as mentioned here 
>> by the App Engine Team [1].
>>
>> [1] https://issuetracker.google.com/113127309
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/45700b4b-3fc3-4a7f-b1ff-7fe52c3075e5%40googlegroups.com.


[google-appengine] Re: GAE outage in EU

2019-10-16 Thread &#x27;Amit Sinha' via Google App Engine


Hello Doug, 

Are you having the same issue now? If Yes, I would recommend to open a 
private App Engine issue in issue tracker 
 
providing more details along with the version number so we can investigate 
further. 

On Tuesday, October 8, 2019 at 10:47:44 AM UTC-4, Doug Stoddart wrote:
>
> Since 9am CEST today we've had huge server problems on GCP - GAE/J in EU.
>
> time out errors
> seems to be a problem with instance scaling from that I can see...
>
> any info please?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fcc85c79-1008-4625-be9f-f439addfd367%40googlegroups.com.


[google-appengine] Re: AppEngine Trouble in Deploying?

2019-06-28 Thread &#x27;Amit Sinha' via Google App Engine


Hello Hassan, 

After doing some research on it, I didn't find any incidents reported 
related to this issue during the timeframe you mentioned. Are you still 
having the same issue? If yes and believe that it might be an issue in 
Google Cloud Platform, you can report it to issue tracker 
 
for further investigation. Please provide a complete reproduction steps 
including the output of “gcloud app deploy 
“ command with 
the “--verbosity=debug” flag. 

On Thursday, June 27, 2019 at 5:55:57 PM UTC-4, Hassan Naqawi wrote:
>
> Anyone else has difficulty deploying a custom image to GAE Flex today? It 
> was all fine in the morning (Eastern Time) but now stuck on "Building and 
> pushing image for service [...]." I don't get any errors either! 
>
> --
> IMPORTANT NOTICE: This e-mail and any files transmitted with it are 
> confidential and intended solely for the use of the individual or entity to 
> which it is addressed. The message may contain information that is private 
> and confidential. If you have received this communication in error, please 
> notify the sender immediately and delete this e-mail and any responses to 
> this e-mail from you system. Any dissemination, distribution, copying of 
> this communication or taking any action in reliance on the contents of this 
> information is strictly prohibited.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6885b526-d0ff-421d-8454-34cae2b51c65%40googlegroups.com.


[google-appengine] Re: GCS Authentication issue

2019-06-28 Thread &#x27;Amit Sinha' via Google App Engine


Hello Friso,  

In a nutshell, it seems like an authentication issue. Are you using any 
browser along with this script call? If yes, I would recommend to make sure 
you logged out from all browsers or clear all cache might help. You can 
also try to switch the bucket to see if it is specifically issue with the 
bucket you are using. I hope it helps.

On Thursday, June 27, 2019 at 10:59:09 PM UTC-4, Friso Kluit wrote:
>
> Using App Engine Python 2.7 Standard
>
> Since about two hours, my operation to create a zip file on GCS is 
> failing. Before this, it was working fine. 
> The following line 
>
> import cloudstorage as gcs
> ...
> with gcs.open(new_zf.gcs_filename, 'w', content_type=b'multipart/x-zip',
>   options={b'x-goog-acl': b'public-read', 
> b'cache-control': b'private, max-age=0, no-cache'}) as nzf:
>
> triggers this error
>
> InvalidAuthenticationThe provided 
> authentication header is invalid.Cannot use OAuth 
> Authorization header with form POST.". Extra info: None.
>
> I have tried to change permissions on my roles on GCS from Storage Legacy 
> Owner to Storage Admin
>
> but I get a 'Sorry, there’s a problem. If you entered information, check 
> it and try again. Otherwise, the problem might clear up on its own, so 
> check back later.'  error
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d124dde7-a7c7-49b5-b589-47f838ba9b07%40googlegroups.com.


[google-appengine] Re: Can't open different version of appengine in flexible environment

2019-06-13 Thread &#x27;Amit Sinha' via Google App Engine


Hello Peter, 

As Nicolus mentioned, this error usually related to app.yaml file 
configuration issue. However, I would recommend to check any other 
configuration file if you have, such as dispatch.yaml [1] 

By looking at the errors, it seems like request reached to the application. 
If this is the case, you can investigate the logs from Stackdriver Logging. 
I would say check the Stackdriver Logging to find any request with ‘404’ 
status in your particular App Engine version which might help you to figure 
out the issue. 

[1] 
https://cloud.google.com/appengine/docs/flexible/nodejs/reference/dispatch-yaml


On Thursday, June 13, 2019 at 8:10:50 AM UTC-4, Peter Chen wrote:
>
> That's not the reason, I tried the url set in the urls file, still same 
> error with a different request url.
>
> On Wednesday, June 12, 2019 at 1:38:37 AM UTC+2, Nicolas (Google Cloud 
> Platform Support) wrote:
>>
>> Hi Peter,
>>
>> Thank you for your report,
>>
>> You can access different versions of your app in App Engine by clicking 
>> on the Version number/name in the console. My assumption is the issue 
>> originated from how up your app.yaml file is set up just like in this 
>> thread 
>> 
>> .
>>
>> Also please note that these types of questions are better addressed on 
>> StackOverflow where you have access to a large community of enthusiasts and 
>> experts to share ideas with and get support from. Please make sure to 
>> include all relevant details and error messages which would help the 
>> community troubleshoot.
>>
>>
>> On Tuesday, June 11, 2019 at 3:47:24 PM UTC-4, Peter Chen wrote:
>>>
>>> I deployed several versions of a Django app on appengine flexible 
>>> environment, but when I click on the version number, it says
>>>
>>> Error: Not FoundThe requested URL / was not found on this server.
>>>
>>> How can I visit different versions of the app?
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e8276a0e-a664-446c-bca2-68eaf838eff6%40googlegroups.com.


[google-appengine] error in deploying python app

2019-03-11 Thread Amit kumar
ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation 
projects/gsoc19/regions/asia-south1/operations/8 
error [INTERNAL]: An internal error occurred while processing task 
/appengine-flex-v1/insert_flex_deployment/flex_create_resources>2019-03-11T04:59:16.476Z7267.oj.12:
 
Deployment Manager operation 
gs19oc/operation-1552280358009-583c***b5f2a4-d7389887 
errors: [code: "RESOURCE_ERROR"
location: 
"/deployments/aef-default-20190311t101423/resources/aef-default-20190311t101423-hcs"
message: 
"{\"ResourceType\":\"compute.v1.httpsHealthCheck\",\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"Invalid
 
value for field \'resource.timeoutSec\': \'20\'. TimeoutSec should be less 
than checkIntervalSec.\",\"reason\":\"invalid\"}],\"message\":\"Invalid 
value for field \'resource.timeoutSec\': \'20\'. TimeoutSec should be less 
than checkIntervalSec.\",\"statusMessage\":\"Bad 
Request\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/gsoc19/global/httpsHealthChecks\",\"httpMethod\":\"POST\"}}";

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d780b264-ba17-4427-87e1-bb377c851caa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Django app on GAE

2019-03-11 Thread Amit kumar
Hi everyone I have build a django app which is working fine locally even I 
have dockerized it but when I pushed it on google cloud , it is showing 502 
gateway error  here is the link of the app gsoc19.appspot.com , if you have 
any idea on this to solve please share , I have checked online solution but 
none of them are working. 

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/26f87083-155d-460f-a00d-8cfb6853d64e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] 502 Bad Gateway

2019-03-11 Thread Amit kumar
Locally django app is working fine but on being deployed with docker on 
GAE, it is giving 502 Bad Gateway error. 

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/79895b5d-6a3c-40fc-a8b3-6f1cedd51031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Background jobs in App engine Flex environment

2018-12-06 Thread Amit Chavan

We're using App engine Flex environment where we want to deploy application 
with celery jobs & queues. So, How to configure App Engine project to 
manage background jobs with app.yaml. I understand that google has separate 
service called as "task queue" for this use case, but task queues support 
only "Standard environment". Kindly help. 

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/71372217-9a40-4b00-aac9-84846ef45238%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Implementing Background Jobs in App engine Flex

2018-12-06 Thread Amit Chavan
We want to implement background jobs (either through celery or any other 
python supported lib) in App engine Flex environment. On googling we found 
that it's impossible to deploy celery like queues on App engine. GCP has 
service called Task queue for such scenario but it supports Standard 
environment of App engine. So how to implement this. Kindly help.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/32812c96-f382-4f98-8973-a9c6786b95de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Global app engine as described in the article

2018-11-30 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
Hi Aron,

Thank you for pointing it out. I have forwarded this to App Engine 
engineering team. All future updates related to this will be posted here 
. 

On Wednesday, November 28, 2018 at 11:32:25 PM UTC-5, Aron Suarez wrote:
>
> Here is the link,
>
>
> https://stackoverflow.com/questions/53467607/global-deployment-of-nodejs-with-app-engine-as-described-in-the-docs?noredirect=1#comment93873390_53467607
>
> is there any plan to make this szenario possible in the neqr future?
>
> Best Aron
>
> On Thu, Nov 29, 2018, 05:14 Attila-Mihaly Balazs  wrote:
>
>> Hi Aron,
>>
>> Could you please provide the stackoverflow link? We're having a similar 
>> internal discussion and would love to see the discussion over there.
>>
>> All the best,
>> Attila
>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/95ac72ab-d840-44ea-97b6-4a00bc189845%40googlegroups.com
>>  
>> 
>> .
>> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/359ed6b4-bafb-4007-adcb-de6f888bd6ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Basic Scaling

2018-11-29 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
Hello Andrew

Thank you for your clarification. If you have any other queries, please let 
us know.

On Thursday, November 29, 2018 at 4:03:21 AM UTC-5, Andrew Hoy wrote:
>
> Hey Omair,
>
> Appreciate you getting back to me.
>
> Great, this is exactly what I wanted to use basic scaling for - thanks for 
> confirming. I Have reported the bug on the issue tracker.
>
> On Wednesday, November 28, 2018 at 10:23:06 PM UTC, Omair (Cloud Platform 
> Support) wrote:
>>
>> Hi Andrew,
>>
>> You are using basic scaling which is different from manual scaling. In 
>> basic scaling instances are created on demand to handle request and 
>> automatically turned down when idle. The maximum number of instances that 
>> can be created is defined in the max_instances parameter. To read about 
>> types of scaling available in App Engine Standard please visit the link on 
>> [1]. Having said that, it does seem like a bug to me that the maximum 
>> instances is showing as auto. You can report this on  Issue Tracker 
>> 
>>  
>> as a bug. 
>>
>>
>>
>> [1]
>> https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed#instance_scaling
>>
>>
>> On Wednesday, November 28, 2018 at 9:57:30 AM UTC-5, Andrew Hoy wrote:
>>>
>>> Hi all,
>>>
>>> I have a query regarding max_instances when using basic scaling in the 
>>> App Engine Standard environment (Node.js). Im my app.yaml file, I set 
>>> max_instances to 1. This appears in the config section under App Engine > 
>>> Versions in this UI:
>>>
>>> runtime: nodejs8
>>> env: standard
>>> instance_class: B4_1G
>>> handlers:
>>>   - url: '.*'
>>> script: auto
>>> basic_scaling:
>>>   idle_timeout: 600s
>>>   max_instances: 1
>>> network: {}
>>>
>>> All of the above looks correct. However, when I add the 'Max Instances' 
>>> column, the value is set to 'auto' (see attachment). Can someone please let 
>>> me know what I'm doing wrong here? Why is the UI showing 'auto' even though 
>>> the config section shows max_instances set to 1?
>>>
>>>
>>> Thanks,
>>>
>>> Andy
>>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6eac6b36-66c2-4d2f-abd5-8fa506fc324b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to delete 800 mln records from Datastore?

2018-11-28 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Kuba, 

As I can see from the link [1] Mohammad shared, it provided the steps on 
how to setup the Cloud Dataflow to create a job to delete entities in bulk. 
I can see you are on the right track already. After selecting the 
‘Datastore to Datastore Delete’ , you need to put that query if 
‘Transaction’ is your entity name. You can monitor the progress using Cloud 
Dataflow Monitoring Interface. For more details regarding this , please 
check this link [2]. 

[1] 
https://cloud.google.com/datastore/docs/bulk-delete#deleting_entities_in_bulk

[2] https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf


On Tuesday, November 27, 2018 at 6:42:31 AM UTC-5, Kuba Włodarczyk wrote:
>
> Thanks Attila-Mihaly,
>
> That's not a problem if cost will around what Vitaly said. Regarding your 
> solution I've tried "Datastore Admin" but delete tasks behave weird.
> The job on the list says "(0 steps completed, 1 active) "
> Going to details gives me this - please see screenshot attached.
>
> Mohammad, thanks for your suggestions. I've tried this as well, however I 
> couldn't track progress, so I stoped this task after 7h. Also I wasn't sure 
> how to set up this task. I couldn't find any guide. I've entered query like 
> "SELECT * from Transaction" - is that ok? Transaction is my entity I would 
> like to remove totally.
>
>
> Jakub
>
>
>
> W dniu wtorek, 27 listopada 2018 06:07:50 UTC+1 użytkownik Attila-Mihaly 
> Balazs napisał:
>>
>> AFAIK the simplest way to delete them which requires *no code to be 
>> written* is the deprecated but still working datastore admin. In your 
>> Google Cloud Console go to Datastore > Admin click on "Open Datastore 
>> Admin", select the entity kind you want to delete and click "Delete 
>> Entities". This will kick off a distributed, fan-out map reduce job which 
>> will delete the entities in a couple of hours.
>>
>> Of course, as Vitaly said, this will cost you money.
>>
>> Attila
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0f7468d3-4c51-4d3d-a2a7-618eef63a9c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: A bit off-topic: When is domain validation required?

2018-11-28 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Mark,

You are right. Since you are the person who validates the domain, the first 
time you need to deploy the API. And after that the members with ‘Editor’ 
permission are able to access that API or deploy a new one. And regarding 
domain validation record add up, I think you are on the right track

On Saturday, November 24, 2018 at 9:17:06 AM UTC-5, Mark Drummond wrote:
>
> I just confirmed that the verification record must have been removed. The 
> "Webmaster Central" page provides a very convenient history of events for 
> your domains, even if they have been removed. I'll have my ops folks re-add 
> the associated verification records.
>
> [image: Screenshot 2018-11-24 09.14.36.png]
>
>
> On Saturday, November 24, 2018 at 9:13:02 AM UTC-5, Mark Drummond wrote:
>>
>> Hi Mohammad,
>>
>> Thanks for the feedback. Very helpful.
>>
>> Given the following:
>>
>> Only the user account that has verified ownership of the domain name can 
>>> deploy the API initially. After that first API deployment, project members 
>>> with *Editor* permissions can deploy it.
>>>
>>
>> I read that as meaning, since I am the one who usually validates our 
>> domains, I should be the one to enable the API for any given project. If 
>> someone else has tried to enable the API, I should disabled it and then 
>> re-enable it myself. As long as I am the one to enable the API, the project 
>> Owners and Editors will be able to use the domains I have previously 
>> validated.
>>
>> Regarding the missing domains, it may be the case that someone removed 
>> the associated validation records. They may not have realized the records 
>> must remain in place and thought they were "cleaning up" old records that 
>> don't resolve to anything (we usually use CNAME validation records as I 
>> have found the TXT records to be unreliable).
>>
>>
>> On Friday, November 23, 2018 at 4:02:37 PM UTC-5, Mohammad I (Cloud 
>> Platform Support) wrote:
>>>
>>> Once you have verified as a domain owner in Web Central, it is possible 
>>> for you to delegate subdomains to developers within the organization to do 
>>> their tasks without having to verify domain ownership themselves[1]. For 
>>> more information on delegating, see Managing users, owners, and 
>>> permissions 
>>> 
>>> . 
>>>
>> The domain name verification is automatically re-confirmed about every 30 
>>> days. In case the verification string from your DNS settings is removed for 
>>> some reason, it will restrict your ability to change the configuration 
>>> within the Google Cloud Platform Console. This restriction does not change 
>>> the serving setup for the domain and app continues to serve over the 
>>> domain[2,3]. Verifying your domain primarily just proves to Google that 
>>> your application is in fact allowed to receive all the traffic for domain 
>>> because you've shown that you "own" it[4]. 
>>>
>>> [1]
>>> https://cloud.google.com/endpoints/docs/openapi/verify-domain-name#delegating_to_developers
>>>  
>>>
>>> [2]
>>> https://cloud.google.com/endpoints/docs/openapi/verify-domain-name#verifying_ownership
>>>
>>> [3]
>>> https://cloud.google.com/appengine/docs/standard/python/mapping-custom-domains#adding_a_custom_domain_for_your_application
>>>  
>>>
>>> [4]
>>> https://groups.google.com/d/msg/google-appengine/jhJkoUf4p8M/EuMBw_nbDQAJ 
>>>
>>>
>>> On Friday, November 23, 2018 at 8:27:52 AM UTC-6, Mark Drummond wrote:

 Two related issues from the last ~24 hours or so:

 1. I saw one of our developers ask our infrastructure folks to add a 
 domain validation record to our (non-google) DNS, for a domain that I had 
 already validated (we already have many App Engine hosted services using 
 hostnames under that domain). Why would App Engine ask to validate a 
 domain 
 that is already validated?

 2. A domain I previously validated no longer appears in the list of 
 options when I go to add a hostname to a new App Engine app. There are 
 already apps using hostnames under that domain, so why would the domain no 
 longer show up in the list of options when adding a new name to an App 
 Engine app?

 And a general question: Do domain validation records need to stay in 
 place? Or can they be deleted after the domain is validated? If the 
 records 
 need to be left in place and our infrastructure team removed them, that 
 might explain my second Q above.


 Thanks,
 Mark

>>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.g

[google-appengine] Re: "appcfg.py rollback" doesn't work now.

2018-11-26 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
Hi Tapir

Thank you for your update. I am glad to know that the issue has been 
resolved for you. Please let us know if you have any other questions.

On Sunday, November 25, 2018 at 1:00:04 AM UTC-5, Tapir wrote:
>
> The last update succeeded.
> Maybe it is a fault from my side, but I can't confirm it.
>
> On Saturday, November 24, 2018 at 12:12:14 PM UTC-4, Tapir wrote:
>>
>> Today, I uploaded a new version for one of my GAE project.
>> For some reason. the uploading was stopped before it was finished.
>> When I uploaded it again, it prompts
>>
>> Error 409: --- begin server output ---
>> Another transaction by user  is already in progress for app: 
>> s~, version: v2. That user can undo the transaction with 
>> "appcfg rollback".
>> --- end server output ---
>>
>> I encountered this situation many times before, so I I just run the 
>> "appcfg.py rollback" command, it run okay with any problems:
>>
>> 12:00 PM Application: 
>> 12:00 PM Host: appengine.google.com
>> 12:00 PM Rolling back the update.
>>
>> But after the rollback, the "appcfg.py update" command still reports the 
>> error shown above.
>>
>> Bug?
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fb7851a9-50b0-4664-a505-22929a6538b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Unable to complete Tutorial on Google Compute Engine

2018-11-12 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Dos,

Did you follow any official tutorial / documentation  from Google? if Yes, 
Please provide us the link so we can check and take necessary action to 
change the wrong information or update if required.   


On Friday, November 9, 2018 at 4:51:23 PM UTC-5, Dos Branding wrote:
>
> Hi Amit. Then the tutorial should be updated so that it works from the get 
> go. 
> On Thu, Nov 1, 2018 at 9:56 AM 'Amit (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Dos,
>>
>> By looking at your given error, it seems like the default port you are 
>> using to connect mongoDB is native driver port, not HTTP connection port. 
>> As I went through some community posts [1,2] related to this error, It 
>> seems like MongoDB version 3.6 
>> <https://docs.mongodb.com/manual/release-notes/3.6-compatibility/index.html#http-interface-and-rest-api>
>>  
>> removes the deprecated HTTP interface and REST API connection. So if you 
>> are using this version, you will need to use any mongodb driver,such as 
>> this <https://github.com/mongodb/node-mongodb-native>, to access the 
>> database, you won't do any ‘POST’ command for this version. Additionally, 
>> you can also follow this 
>> <https://cloud.google.com/solutions/deploy-mongodb> article regarding 
>> deploying Mongodb on Google Compute Engine.   
>>
>> [1] 
>> https://stackoverflow.com/questions/23446876/cannot-access-mongodb-through-browser-it-looks-like-you-are-trying-to-access-m
>>
>> [2] https://groups.google.com/forum/#!topic/mongodb-user/S0-9Al9sd9w
>>
>>
>>
>> On Wednesday, October 31, 2018 at 11:35:42 AM UTC-4, Dos Branding wrote:
>>>
>>> Following the tutorial on Google Compute Engine, I am having trouble 
>>> completing the tutorial because it doesn't show how to add ports. 
>>>
>>> I created 2 instances, one backend and one front end. 
>>>
>>> However if I click on the external ip, it says the site is not working. 
>>>
>>> I have attached my links as well as the error I was receiving. 
>>>
>>> http://104.196.177.94 is my backend instance
>>>
>>> http://104.196.223.176 is my frontend instance. 
>>>
>>> Also are there any videos showing how to do this?  
>>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/cf15374d-f240-407d-abb8-c5e693f2facc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/cf15374d-f240-407d-abb8-c5e693f2facc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3b218414-0a65-4bd2-aaba-a4adb0703ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Memorystore connection issues during laravel app deployment

2018-11-07 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Brad,

>From nutshell, it seems like the issue is related to the composer.json file 
which executed during the build steps. I have seen you already posted the 
StackOverflow 
question 
 for 
this issue, please kindly note that Google Groups is intended for 
discussing about general product discussions, in StackOverflow you can get 
more help from the community experts. 

>From the last message in your StackOverflow post, it seems the issue stems 
from some changes on Cloud Platform and due to that, I would recommend that 
you create a private issue by following this Issue Tracker 
 
link with  provide as much detail as possible of your issue, including your 
project ID, App Engine deployment debug logs (with using --verbosity=debug 
), Cloud Build 
logs,the reproduction steps, etc as this will allow us to check the 
relevant logs inside of your project, potentially reproduce the issue and 
investigate it further.


On Monday, November 5, 2018 at 8:38:54 AM UTC-5, Brad Kilshaw wrote:
>
> I'm using GAE for a Laravel PHP site and using flex instances. I've always 
> had no problem doing a "gcloud app deploy" to get my app deployed. However, 
> for the last 24 hours or so when I attempt to deploy I get the following 
> error:
>
>
> Step #1: Package manifest generated successfully.
> Step #1: > chmod -R 755 bootstrap/cache
> Step #1: > php artisan cache:clear
> Step #1: 
> Step #1: In AbstractConnection.php line 155:
> Step #1:   
> Step #1:   Connection timed out [tcp://1.2.3.4:6379]  
> Step #1:   
> Step #1: 
> Step #1: Script php artisan cache:clear handling the post-install-cmd 
> event returned with error code 1
> Step #1: The command '/bin/sh -c /build-scripts/composer.sh' returned a 
> non-zero code: 1
> Finished Step #1
> ERROR
> ERROR: build step 1 "gcr.io/cloud-builders/docker@sha256:12345" failed: 
> exit status 1
> Step #1: 
>
> --
> ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://
> console.cloud.google.com/gcr/builds/12345?project=1234 Failure status: 
> UNKNOWN: Error Response: [2] Build failed; check build logs for details
>
>
>
>
>
>
>
> For reference, here is the relevant section of the composer.json:
>
>
> "scripts": {
> "post-root-package-install": [
> "php -r \"copy('.env.example', '.env');\""
> ],
> "post-create-project-cmd": [
> "php artisan key:generate"
> ],
> "post-autoload-dump": [
> "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
> "@php artisan package:discover"
> ],
> "post-install-cmd": [
> "Illuminate\\Foundation\\ComposerScripts::postInstall",
> "chmod -R 755 bootstrap/cache",
> "php artisan cache:clear",
> "php artisan config:clear"
> ]
> }
>
>
>
> I have a Memorystore (redis) instance I use since GAE memcache isn't 
> available on flex instances yet. My app uses redis as a cache, so as you 
> can see above, once the new code is deployed composer is configured to 
> clear the cache, which is where it's timing out and failing.
>
>
> If I SSH into an existing instance, I can run php artisan cache:clear no 
> problem. However, it's failing on deploy. It's a pretty simple code change 
> that's only UI tweaks (html/javascript) so none of the redis or connection 
> code has changed.
>
>
> Any ideas?
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f833caaf-60c2-4c47-acb4-6319da47b4d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "cd" was removed in GAE Standard Node.js and broke our app

2018-11-02 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello David

Glad to know that you resolved the issue. From my research, I didn’t find 
any evidence / documentation that lead us to believe that cd’ was 
officially supported before. As mentioned in the documentation you 
referred, you can find the current supported packages in this 

 
link as well as you can request to include new packages from this issue 
tracker link  
if there is no existing request for that.

On Friday, November 2, 2018 at 3:33:02 AM UTC-4, david.spi...@hgv.it wrote:
>
> The start command above was the only script changing path we used. For now 
> we solved it by removing the cd command altogether by restructuring our 
> folders.
>
> {
>  ...,
>  "scripts": {
>"start": "node -r ./ts-paths.js dist/src/server.js"
>  }
> }
>
> I checked the available system packages in the documentation and noticed 
> *cd* is not part of them.
>
> https://cloud.google.com/appengine/docs/standard/nodejs/reference/system-packages
>
> Could it  be never officially supported and got removed altogether on the 
> day our app broke?
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cc4e87c3-6f65-4059-aab1-d36e8dc11465%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Unable to complete Tutorial on Google Compute Engine

2018-11-01 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Dos,

By looking at your given error, it seems like the default port you are 
using to connect mongoDB is native driver port, not HTTP connection port. 
As I went through some community posts [1,2] related to this error, It 
seems like MongoDB version 3.6 

 
removes the deprecated HTTP interface and REST API connection. So if you 
are using this version, you will need to use any mongodb driver,such as this 
, to access the database, 
you won't do any ‘POST’ command for this version. Additionally, you can 
also follow this  
article regarding deploying Mongodb on Google Compute Engine.   

[1] 
https://stackoverflow.com/questions/23446876/cannot-access-mongodb-through-browser-it-looks-like-you-are-trying-to-access-m

[2] https://groups.google.com/forum/#!topic/mongodb-user/S0-9Al9sd9w



On Wednesday, October 31, 2018 at 11:35:42 AM UTC-4, Dos Branding wrote:
>
> Following the tutorial on Google Compute Engine, I am having trouble 
> completing the tutorial because it doesn't show how to add ports. 
>
> I created 2 instances, one backend and one front end. 
>
> However if I click on the external ip, it says the site is not working. 
>
> I have attached my links as well as the error I was receiving. 
>
> http://104.196.177.94 is my backend instance
>
> http://104.196.223.176 is my frontend instance. 
>
> Also are there any videos showing how to do this?  
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cf15374d-f240-407d-abb8-c5e693f2facc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Why App engine increase usage memory instantly?

2018-10-31 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Nguyen,

By doing some internal research, I didn't find any current bugs related to 
memory leak in App Engine runtime. The code you are using for Cloud SQL 
connection could have some issue and causing this high memory utilization. 
I believe posting in Stack Overflow <https://stackoverflow.com/> using 
‘google-cloud-platform’ and ‘google-app-engine’ tag with the snippet of 
your Cloud SQL connection code including screenshots of your stackdriver 
logs could help you get more information regarding this error. 

On Tuesday, October 30, 2018 at 1:11:31 AM UTC-4, Ky Nguyen wrote:
>
> Hi Amit,
>
> Thanks for your support, I had fixed my api endpoint to avoid memory leak.
> But look like it is not a root cause.
> I deploy new application with the same config and let it run a few day 
> with no traffic, but memory still increase.
>
> I'm confusing if the problem come from cloud sql connection.
> I'm using Hikaricp to connect to cloud sql (Postgresql) in my web 
> application and I saw in monitor dashboard of memory usage still increase.
>
>
> I saw in Stackdriver log that application connect to cloud sql frequently.
>
>
> I don't have any idea to fix it, can you suggest me a way to connect to 
> cloud sql via Hikaricp ?
> Thanks
>
> On Sat, Oct 27, 2018 at 4:41 AM 'Amit (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Nguyen,
>>
>> From your given description, as your application code does not properly 
>> release memory, you need to find out why it is not releasing the memory 
>> when needed. To do that I would recommend to use this Java Stackdriver 
>> Profiler <https://cloud.google.com/profiler/docs/profiling-java>, 
>> consists of the profiling agent, which collects the data, and a console 
>> interface on Google Cloud Platform, which lets you view and analyze the 
>> data collected by the agent. Profiling heap(memory) consumption helps you 
>> find potential inefficiencies and memory leaks in your programs. 
>>
>> If you see from the Profiler Interface 
>> <https://cloud.google.com/profiler/docs/using-profiler>, your 
>> application’s memory usage doesn’t go up with your instance’s memory usage, 
>> then this would be a sign of bug which should report in issue tracker as 
>> discussed earlier. Otherwise if only the application memory goes up, then 
>> you need to fix the code.
>>
>> On Friday, October 26, 2018 at 1:30:47 AM UTC-4, Ky Nguyen wrote:
>>>
>>> Hi Amit,
>>>
>>> After investigated on my application I found out the reason make memory 
>>> increase.
>>> We had enable google monitoring on Stackdriver with Uptime check. so 
>>> uptime check request from stack driver will call to our endpoint every 5 
>>> minute.
>>> It make application high traffic than before, and the memory also 
>>> increase steadily on every stack diver run uptime check service.
>>> On the endpoint that Uptime check will call, We just implement rest 
>>> client (by spring Resttemplate) to call 3rd party service.
>>> But look like the memory not release on each time endpoint called. I run 
>>> application on my local with jetty embedded server but memory not increase 
>>> too much like on GAE.
>>>
>>> Do you have any idea to help.
>>>
>>> Thanks.
>>>
>>>
>>> On Thu, Oct 25, 2018 at 10:19 PM 'Amit (Google Cloud Support)' via 
>>> Google App Engine  wrote:
>>>
>>>> Hello Nguyễn
>>>>
>>>>
>>>> High memory utilization could happen due to your application handling 
>>>> more traffic than before or higher workloads than before. If you believe 
>>>> your issue is not related to any of this and nothing has changed in your 
>>>> code yet, then I would suggest to open a private issue in issue tracker 
>>>> <https://issuetracker.google.com/issues/new?component=491299&template=1161102>
>>>>  and 
>>>> share all the details of you issue including your project ID, exact 
>>>> timeframe when you observed the issue and any changes you made in your 
>>>> configuration so that we can look into your issue and understand its 
>>>> scope. 
>>>>
>>>>
>>>> On Wednesday, October 24, 2018 at 7:19:33 AM UTC-4, Ky Nguyen wrote:
>>>>>
>>>>> I sure the problem not come from application.
>>>>> because it had been deployed it for long time ago and it just use 
>>>>> memory around 800MB until Oct 07.
>>>>> After 

[google-appengine] Re: GAE Standard PHP72 - syslog() not logging to request_log anymore. What to do?

2018-10-29 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Christian

To visualize your logs,you can export your log using this 
 documentation so that they 
can be used with available external tools. You can also export it to 
BigQuery if you want to analyze the logs from the Google Cloud Platform. 
This 

 
documentation explains how to querying and analyze audit logs, as an 
example, using BigQuery. 

As this 

 
document mentioned, “When your application handles a request, it can write 
its own logging messages to stdout and stderr. Write your application logs 
using stdout for output and stderr for errors. These files are 
automatically collected and can be viewed in the Logs Viewer. Note that 
this does not provide log levels that you can use for filtering in the Logs 
Viewer; however, the Logs Viewer does provide other filtering, such as 
text, timestamp, etc.”, which looks like an intended behavior that 
stackdriver only shows the logs which is written using stderr and stdout 
for PHP[7.2]. To address your second question,I have created a feature 
request , so that the log level 
can be redirected with their severity to the "request_log" list. Please 
note there is no guarantee or ETA for any feature request. Future updates 
will be posted in this feature request. 

On Friday, October 26, 2018 at 10:05:21 AM UTC-4, Christian Wiedemann wrote:
>
>
> Hello,
>
> with GAE runtime php72, logs, that are written using syslog() do not 
> longer appear in the standard Logging overview and are not marked with 
> icons and colors by their severity.
>
> You need to select additional logs in the second dropdown to see what you 
> logged.
>
> Logs sent by PHP itself or by error_log() appear under "stderr" 
> and for custom logs sent by syslog() you need to select "/dev/log" and 
> the error messages are just appearing in JSON format.
>
> In php55 each notice/warning/error could be identified directly by looking 
> on the Logging page or filtering by log level. 
> Now identifying of errors is much harder.
>
> Is there a better way to log custom logs or to visualize the logs (without 
> Stackdriver)?
> Are there plans to redirect logs with their severity to the "request_log" 
> list?
>
> For instance:
> 
> leads to
> {"severity":7,"facility":1,"timestamp":"2018-10-26T13:14:54Z","hostname":"","app_name":"php-fpm","procid":"","msgid":"","structured_data":"","message":"pool
>  
> app: Test"}
>
>
> Yours Christian
>
>
> --
> Rechtlicher Hinweis nach §35a Abs. 1 S. 1 im GmbHG. 
>
> *Wabion GmbH*
> Geschäftsfuehrer: Michael Walther, Volkmar Binder
> GmbH Sitz: Esslingen, HRB 354492 (Amtsgericht Stuttgart)
>
> This e-mail (and/or attachments) is confidential and may be privileged. 
> Use or disclosure of it by anyone other than a designated addressee is 
> unauthorized.
> If you are not an intended recipient, please delete this e-mail from the 
> computer on which you received it. We thank you for notifying us 
> immediately. 
>
> --
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0d1ef4f9-44d5-4b9f-b4b7-34b32e29f017%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Why App engine increase usage memory instantly?

2018-10-26 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Nguyen,

>From your given description, as your application code does not properly 
release memory, you need to find out why it is not releasing the memory 
when needed. To do that I would recommend to use this Java Stackdriver 
Profiler <https://cloud.google.com/profiler/docs/profiling-java>, consists 
of the profiling agent, which collects the data, and a console interface on 
Google Cloud Platform, which lets you view and analyze the data collected 
by the agent. Profiling heap(memory) consumption helps you find potential 
inefficiencies and memory leaks in your programs. 

If you see from the Profiler Interface 
<https://cloud.google.com/profiler/docs/using-profiler>, your application’s 
memory usage doesn’t go up with your instance’s memory usage, then this 
would be a sign of bug which should report in issue tracker as discussed 
earlier. Otherwise if only the application memory goes up, then you need to 
fix the code.

On Friday, October 26, 2018 at 1:30:47 AM UTC-4, Ky Nguyen wrote:
>
> Hi Amit,
>
> After investigated on my application I found out the reason make memory 
> increase.
> We had enable google monitoring on Stackdriver with Uptime check. so 
> uptime check request from stack driver will call to our endpoint every 5 
> minute.
> It make application high traffic than before, and the memory also increase 
> steadily on every stack diver run uptime check service.
> On the endpoint that Uptime check will call, We just implement rest client 
> (by spring Resttemplate) to call 3rd party service.
> But look like the memory not release on each time endpoint called. I run 
> application on my local with jetty embedded server but memory not increase 
> too much like on GAE.
>
> Do you have any idea to help.
>
> Thanks.
>
>
> On Thu, Oct 25, 2018 at 10:19 PM 'Amit (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Nguyễn
>>
>>
>> High memory utilization could happen due to your application handling 
>> more traffic than before or higher workloads than before. If you believe 
>> your issue is not related to any of this and nothing has changed in your 
>> code yet, then I would suggest to open a private issue in issue tracker 
>> <https://issuetracker.google.com/issues/new?component=491299&template=1161102>
>>  and 
>> share all the details of you issue including your project ID, exact 
>> timeframe when you observed the issue and any changes you made in your 
>> configuration so that we can look into your issue and understand its scope. 
>>
>>
>> On Wednesday, October 24, 2018 at 7:19:33 AM UTC-4, Ky Nguyen wrote:
>>>
>>> I sure the problem not come from application.
>>> because it had been deployed it for long time ago and it just use memory 
>>> around 800MB until Oct 07.
>>> After OOM occurred, we just change config on app.yaml to increase from 
>>> memory_gb: 
>>> 1 to memory_gb: 4.
>>>
>>> After add allocated memory on GAE I saw memory usage increase steadily.
>>> Do you have any idea to update?
>>>
>>> On Tue, Oct 23, 2018 at 10:47 PM 'Aref Amiri (Cloud Platform Support)' 
>>> via Google App Engine  wrote:
>>>
>>>> Hello,
>>>>
>>>> This could be a memory leak since you got an Out Of Memory error or 
>>>> possibly related to an update on App Engine. There are many possibilities 
>>>> that could lead to memory leak. All the causes mainly are related to the 
>>>> application itself. These include and not limited to resource memory 
>>>> allocation, as they might not be allocated properly in the application. In 
>>>> addition, I noticed some spikes on the graph provided that could possibly 
>>>> be related to the workload.  As the workload increases, it creates more 
>>>> instances and hence causing memory leak. I would suggest to post the issue 
>>>> on Stackoverflow <https://stackoverflow.com/>and the community can 
>>>> definitely be a great help and propose effective solutions.There are some 
>>>> examples that you can refer to as they are similar cases to yours:
>>>>
>>>> 1: 
>>>> https://stackoverflow.com/questions/46359298/how-to-fix-memory-leak-in-my-application
>>>>
>>>> 2: 
>>>> https://stackoverflow.com/questions/40119/how-to-find-a-java-memory-leak?rq=1
>>>>
>>>> You can also use the Google Stackdriver Debugger 
>>>> <https://cloud.google.com/debugger/docs/using/snapshots>which could be 
>>>> very useful in this case.
>>>>
>>>&g

Re: [google-appengine] Re: Why App engine increase usage memory instantly?

2018-10-25 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Nguyễn


High memory utilization could happen due to your application handling more 
traffic than before or higher workloads than before. If you believe your 
issue is not related to any of this and nothing has changed in your code 
yet, then I would suggest to open a private issue in issue tracker 
 
and 
share all the details of you issue including your project ID, exact 
timeframe when you observed the issue and any changes you made in your 
configuration so that we can look into your issue and understand its scope. 


On Wednesday, October 24, 2018 at 7:19:33 AM UTC-4, Ky Nguyen wrote:
>
> I sure the problem not come from application.
> because it had been deployed it for long time ago and it just use memory 
> around 800MB until Oct 07.
> After OOM occurred, we just change config on app.yaml to increase from 
> memory_gb: 
> 1 to memory_gb: 4.
>
> After add allocated memory on GAE I saw memory usage increase steadily.
> Do you have any idea to update?
>
> On Tue, Oct 23, 2018 at 10:47 PM 'Aref Amiri (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> Hello,
>>
>> This could be a memory leak since you got an Out Of Memory error or 
>> possibly related to an update on App Engine. There are many possibilities 
>> that could lead to memory leak. All the causes mainly are related to the 
>> application itself. These include and not limited to resource memory 
>> allocation, as they might not be allocated properly in the application. In 
>> addition, I noticed some spikes on the graph provided that could possibly 
>> be related to the workload.  As the workload increases, it creates more 
>> instances and hence causing memory leak. I would suggest to post the issue 
>> on Stackoverflow and the community can 
>> definitely be a great help and propose effective solutions.There are some 
>> examples that you can refer to as they are similar cases to yours:
>>
>> 1: 
>> https://stackoverflow.com/questions/46359298/how-to-fix-memory-leak-in-my-application
>>
>> 2: 
>> https://stackoverflow.com/questions/40119/how-to-find-a-java-memory-leak?rq=1
>>
>> You can also use the Google Stackdriver Debugger 
>> which could be 
>> very useful in this case.
>>
>> After checking the solutions, if you believe the issue is related to App 
>> Engine, you could post the issue on Google Issue Tracker 
>> , which would allow us to investigate 
>> the issue further and if necessary, route it to a specialized team.
>>
>> Carl, I have double checked here on my end and could not find any 
>> troublesome updates released on the specified dates. To get information 
>> about current and past outages you can use the Google Cloud Status 
>> Dashboard page. Regarding your 
>> issue, it has been routed to the specialized team and you will be notified 
>> once there is an update.
>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/5a8c3e3f-029f-4d44-811a-7052dfd3389f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> *Nguyễn Lương Kỳ  *
> *-*  
>   
> *   Phone:*  0975 072 768
> *  Skype:   *luongky06 
> *   Email:*   luongk...@gmail.com
> *   Yahoo:*  luo ngk...@yahoo.com.vn 
>  
> -
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bd88cdc4-cb49-4f0c-a16c-501c5a4d4f4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Datastore & Firestore Transaction

2018-10-12 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


You cannot use Cloud Firestore and Cloud Datastore at the same time in 
Google Cloud Platform. 

To use Cloud Firestore database, you need to choose one of two modes, 
Native mode or Datastore mode. Depending on your requirements, you need to 
choose one of it. As you specifically aiming to get the benefit of Cloud 
Firestore  in existing App Engine applications, you could try using Could 
Firestore in Datastore mode. This will allow you to use strongly consistent 
storage layer of firestore as well as Cloud Datastore API support. 
Additionally App Engine client library integration supported in all runtime 
while you are in Cloud Firestore in Datastore mode. Cloud Firestore in 
Native mode do not support Python 2.7 and PHP 5.5 runtimes in the App 
Engine standard environment. However if you need real time updates and 
offline data persistence, you need to use Could Firestore in Native mode 
only. This document 

 
might help you for more information to choose the right one.

On Thursday, October 11, 2018 at 11:56:29 PM UTC-4, Rajesh Gupta wrote:
>
> I am looking to make entry in both datastore and firestore.
>
> Is there a transaction planned between the following
> Firestore in Datastore mode & Firestore in Native mode.
>
> Rajesh
> *www.VeersoftSolutions.com *
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
> Mobile*
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bd423a81-3188-4fc6-af6b-10f0bbda9c3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-11 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Ryan

What is the current Google Cloud SDK version you are using? As of now current 
version  for Google Cloud 
SDK is [220.0.0]. We had a known issue [1] on version [219.0.1] in 
dev_appserver with app-engine-python [1.9.76] which should be resolved in 
the current version where the version of app-engine-python is [1.9.77]. I 
would recommend to update your SDK version using this [2] command and try 
again. If you still having this issue after upgrade and believe this could 
be a bug, please create an issue in issuetracker 
 with details 
description of your issue and provide the output of this [3] command so 
that we know more about your SDK.

[1] https://issuetracker.google.com/117145272

[2] gcloud components update

[3] gcloud info --anonymize


On Wednesday, October 10, 2018 at 6:51:57 PM UTC-4, Ryan B wrote:
>
> fwiw, i've deployed at least one of the affected apps since 
> app-engine-python 1.9.76 was released, and it's still working fine, which 
> implies that the prod runtime isn't similarly affected. (i did that deploy 
> with gcloud sdk 218, purely out of superstition, but i didn't really expect 
> it to matter much one way or the other.)
>
> On Wednesday, October 10, 2018 at 3:50:02 PM UTC-7, Ryan B wrote:
>>
>> hi all! i'm debugging a dev_appserver problem that seems to have been 
>> introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
>> now all resolved as absolute instead of relative. does that sound familiar?
>>
>> for example, i use the future library  in 
>> many of my apps, which has this line of code 
>> 
>> :
>>
>> import test
>>
>> on gcloud sdk 218 / app-engine-python 1.9.75 and before, this worked 
>> fine. it resolved the import relative to the containing source file, in 
>> local/lib/python2.7/site-packages/future/... , a virtualenv, which i set 
>> up with vendor 
>> .
>>  
>> on 1.9.76, it changed to resolving absolute instead, so it imports an 
>> unrelated test/ package directory in the top level of my app, which 
>> obviously won't work, and the app breaks.
>>
>> i couldn't find any mention of this in release notes or docs. was this 
>> expected? any recommendations for handling it? thanks in advance!
>>
>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c40f172f-a502-4e98-8b84-08033afb2545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Persistent instance and out of memory with automatic scaling and no traffic

2018-10-10 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
It seems like an expected behavior. As this 
 
document mentioned, for min_idle_instances , the number of instances to be 
kept running and ready to serve traffic. As you set it to automatic, at 
least one instance is active to ensure immediate response for sudden 
traffic spikes. So your graph shows minimum number of active instance which 
is one. 

On Wednesday, October 10, 2018 at 6:53:20 AM UTC-4, vvv vvv wrote:
>
> Thanks for the answers. In my app.yaml I have "automatic_scaling: 
> min_idle_instances: automatic "
> I realized an older version of my service was created and running, so I 
> deleted it. What is not clear to me is, after 15 minutes of inactivity, 
> when my instance becomes idle, why isn't the graph that shows the created 
> instances goes down to 0? Isn't inactivity after 15 mins for auto scaling 
> the same as "scale to 0 instances" ? The fact that it doesn't get shut down 
> is the reason it exceeds its memory limit, since the instance keeps using 
> more and more memory the more it runs.
>
>
> El martes, 9 de octubre de 2018, 13:22:17 (UTC+1), vvv vvv escribió:
>>
>> I am on the AppEngine Standard Python 3.7 environment. I have set up a 
>> cron job to execute every two hours. This cron job creates a bunch of 
>> threads, they execute some task and finish after some seconds. My web 
>> service receives no traffic other than this currently.
>>
>> I am attaching the number of instances graph, and the memory usage. In 
>> the instances graph the blue line shows that an instance runs for 15 
>> minutes every two hours, which is what one would expect with automatic 
>> scaling and scaling to 0 instances. The green line shows that there are two 
>> instances running persistently, with the only exception at 23:00 when one 
>> instance gets killed because it goes out of memory, as one can see from the 
>> memory graph attached.
>>
>> My question is, why is there one instance running all the time? Who has 
>> created it? I'm trying to sort out my memory issue. Thanks a lot.
>> P.S attached utilization graph to rule out the possibility that my 
>> instance is still alive after 15 minutes.
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/45e78c8c-1d62-4d18-ac20-b060b835c7e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Persistent instance and out of memory with automatic scaling and no traffic

2018-10-09 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello

According to this 

 
document, a service with manual scaling server uses resident instances that 
continuously run the specified number of instances irrespective of the load 
level. A requests can run for up to 24 hours. A manually-scaled instance 
can choose to handle /_ah/start and execute a program or script for many 
hours without returning an HTTP response code. 

For auto scaling 

 
method, I would recommend to check the min_idle_instances setting in 
app.yaml file which is set to ensure the number of instances to be kept 
running and ready to serve traffic. 

You can check your instance list by going to the versions 
 page of your console. 
To do that, login to your console, then  click on hamburger sign on your 
upper left corner and select ‘Versions’ from ‘App Engine’ section. You will 
find ‘Instances’ column which indicates how much instances are currently 
active for that application version. By clicking on this link will show you 
the instances are running now. You can check this for your running 
instances for the app version.   

I also found this group thread 
 
discussed about this instance graph specifically. If required you can also 
check this for more clarification.

On Tuesday, October 9, 2018 at 8:22:17 AM UTC-4, vvv vvv wrote:
>
> I am on the AppEngine Standard Python 3.7 environment. I have set up a 
> cron job to execute every two hours. This cron job creates a bunch of 
> threads, they execute some task and finish after some seconds. My web 
> service receives no traffic other than this currently.
>
> I am attaching the number of instances graph, and the memory usage. In the 
> instances graph the blue line shows that an instance runs for 15 minutes 
> every two hours, which is what one would expect with automatic scaling and 
> scaling to 0 instances. The green line shows that there are two instances 
> running persistently, with the only exception at 23:00 when one instance 
> gets killed because it goes out of memory, as one can see from the memory 
> graph attached.
>
> My question is, why is there one instance running all the time? Who has 
> created it? I'm trying to sort out my memory issue. Thanks a lot.
> P.S attached utilization graph to rule out the possibility that my 
> instance is still alive after 15 minutes.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2791d416-650e-4eb7-8272-1feb422555af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Problem when deploy Spring boot application to GAE flex

2018-10-05 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Nguyen

I went through some cases related to this error and I found most of the 
cases indicates this is related to jetty runtime. It looks like somehow 
your jetty plugin is compromised. As of now current jetty-maven-plugin 
version is [9.4.12.v20180830]. Also if you see this [1] sample in gitHub 
which used flex environment to deploy spring boot in Google Cloud Platform. 
At the end it mentioned flex requires the new appengine-maven-plugin. Also 
this [2] official documentation put a note as “If there is a newer version 
of the App Engine Maven plugin, you should upgrade to the latest version 
.”
 
 I would recommend to check if you are using the correct version. It seems 
like current version is [1.3.2] and from your configuration it seems like 
you are using [1.3.1]. I am not sure if this could be an issue, but I would 
recommend to update both and try again. 

[0] https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-maven-plugin

[1] 
https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/helloworld-springboot

[2] 
https://cloud.google.com/appengine/docs/flexible/java/using-maven#running_and_testing_your_app


On Friday, October 5, 2018 at 10:29:35 AM UTC-4, Ky Nguyen wrote:
>
> Hi everyone,
>
> I have a spring boot application and want to deploy only in GAE flex env.
> I had tried many time but currently I got error 404 when access my 
> application in GAE.
> Error 404 - Not Found.No context on this server matched or handled this 
> request.
> Contexts known to this server are: 
>
>- / ---> 
> o.e.j.w.WebAppContext@47ef968d{root,/,file:///var/lib/jetty/webapps/root/,UNAVAILABLE}{/root.war}
>  
>[failed]
>
>
>
> I had run successfully on my local with jetty embedded server, but don't 
> know why this error is occurred.
>
> my pom.xml is
>
> 
>org.springframework.boot
>spring-boot-starter-parent
>1.5.6.RELEASE
> 
> 
>
> 
>UTF-8
>UTF-8
>1.8
>${java.version} 
>${java.version} 
> 
>
>
> 
>
>   org.springframework.boot
>   spring-boot-starter-data-jpa
>   
>  
> org.springframework.boot
> tomcat-juli
>  
>   
>
>
>   org.springframework.boot
>   spring-boot-starter-web
>   
>  
> org.springframework.boot
> spring-boot-starter-tomcat
>  
>   
>
>
>
>   org.springframework.boot
>   spring-boot-starter-jetty
>   provided
>
>
>
>   org.springframework.boot
>   spring-boot-starter-test
>   test
>
>
>
>org.springframework.boot
>spring-boot-starter-security
>
>
>
>   com.zaxxer
>   HikariCP
>   compile
>
>
>
>   org.apache.tomcat.embed
>   tomcat-embed-jasper
>   provided
>
>
>
>   javax.servlet
>   javax.servlet-api
>   3.1.0
>   provided
>
>
>
>   javax.servlet
>   jstl
>   1.2
>
>
>
>   postgresql
>   postgresql
>   9.1-901.jdbc4
>
>
> 
>
> 
>
>   
>  org.springframework.boot
>  spring-boot-maven-plugin
>  
> 
>
>   repackage
>
>
>   com.kevin.SpringJqgridApplication
>
> 
>  
>   
>   
>  org.eclipse.jetty
>  jetty-maven-plugin
>  9.4.6.v20170531
>   
>   
>   
>  com.google.cloud.tools
>  appengine-maven-plugin
>  1.3.1
>   
>   
>
> 
>
>
> I'm using this command below to deploy my application.
> mvn appengine:deploy
>
> Can anybody help me ?
> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ef2020b1-c0e2-4d33-bf56-a10dd0871be1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: High network latency, but logs should sub milisecond response time?

2018-10-02 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Ryan

High latency in application could happen for many reasons. In most cases, 
it could be related to the geographical locations. Could you please 
elaborate how do you make sure that it is not for the distance of the 
server? I would recommend to use ‘traceroute’ to find more details 
regarding each path which is taking more significant amount of time. If you 
use HTTPS or a custom domain then compare latency with HTTP requests to 
your appspot.com domain to isolate whether the latency is caused by these 
factors. Also please check if there are any bandwidth limitations,could be 
in local ISP,  between your clients and Google. I have found this blog 

 
post helpful for latency troubleshooting, you can check this too. 

On Monday, October 1, 2018 at 2:57:39 PM UTC-4, Ryan Sacha wrote:
>
> I can't figure out why when i curl to my service the response fluctuates 
> from a minimum of 400ms upto 1 second and beyond for a simple request that 
> literally just returns a json response. (no db calls, or anything) even 
> static files take >400ms.
>
> In fact i went to the logs and indeed the server only takes 4ms at max. 
> but when a user requests the url it takes a long time.
>
> [image: 10-01_18-19-40.png]
>
> What am i missing here?
>
> Avg response:
>
> [image: 10-01_18-20-34.png]
>
>
> This is not just due to my distance to the server, i'm totally fine with 
> 100ms due to normal network latency.
>
>
> *App.yaml:*
>
>
> runtime: nodejs
>
> env: flex
>
> service: default
>
>
> manual_scaling:
>
>   instances: 1
>
> resources:
>
>   cpu: 1
>
>   memory_gb: 1.5
>
>   disk_size_gb: 10
>
> network:
>
>   name: default
>
>
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f8bad197-f026-4cab-bf61-643bc92a1854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Enable managed security not working

2018-10-02 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi John

As it shows you need to be a domain owner, It seems like you probably lost 
your domain ownership verification somehow. You can run this [1] command to 
check the list of your verified domains. And If you look into here 
,
 
it mentioned “ Important: Verifying domain ownership by using a CNAME 
record is the preferred option for App Engine. If you choose to use a TXT 
record, you must avoid configuring your domain's DNS with a CNAME record 
because the CNAME record overrides the TXT record and causes your domain to 
appear unverified.” I would recommend to check if this could be a reason 
for you. This 

 
link also describes how to verify your ownership through Webmaster Central 
in case you need that. And for webmaster central setting you can also 
follow this 

 
link. In another note it also appears that the domain verification is 
automatically re-confirmed about every 30 days. So if you remove the 
verification string from your DNS settings, you will lose the ability to 
change the configuration within the GCP Console. However, if this happens, 
the serving setup for the domain does not change and the app continues to 
serve over the custom domain. 

[1] gcloud domains list-user-verified

On Monday, October 1, 2018 at 7:00:00 PM UTC-4, John Janzen wrote:
>
> I am trying to enable managed security for an app I've had running for 
> years. I've also had a custom domain mapped to it for years.
>
> Selecting the domain does not allow me to *Enable Managed security*. 
> Mousing over the button informs me that I must be a domain owner to enable 
> security.
>
> I believe I've already confirmed ownership (again years ago), see 
> attachment.
>
> Is there something I'm missing?
>
>
>  
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2ddbeba7-6edc-4862-9462-9cd560804c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Address bar redirects for https and some paths

2018-10-01 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Daniel 

As you referred to the issue discussed in this 

 
Stackoverflow link, I went through a couple of cases related to “xxx domain 
is already mapped to a project “ . In order to solve this, you would need 
to use the API 

 
which will let you overwrite the existing mapping, however, please keep in 
mind that doing this will probably stop other products for serving as if 
the domain is mapped on another App Engine, that app will no longer serve 
from this domain.

You can use the following steps in order to execute the API:

1) Go to this 

 
link.

2) Fill out the request form and enable OAuth2.0 Under the request body on 
the id parameter, put your naked domain. 

3) Execute the command, which will require you to authenticate with Google

4) To enable Google's built-in SSL support (Optional): Select your 
subdomain from the table of custom domains under App Engine settings and 
click the "Enable Managed Security" button.

I found this solution 
 
worked for many people, so I would recommend you to try this. If you still 
having this issue, Please open a private issue in issue tracker 
. Please provide the output of this [1] 
command in the body including detailed description of your issue. Which 
will allow us to investigate your project in depth.

[1] gcloud info --anonymize


On Monday, October 1, 2018 at 12:52:17 AM UTC-4, Daniel Young wrote:
>
> I found I'm having this exact issue 
> https://stackoverflow.com/questions/41160448/google-app-engine-redirecting-all-naked-domain-requests-causing-letsencrypt-to
>
> On Sunday, September 30, 2018 at 5:58:00 PM UTC-7, Daniel Young wrote:
>>
>> In the browser address bar in chrome/firefox if I type in '
>> example.com/full/path'
>>
>> It redirects to https://www.example.com. If I type the full path (
>> https://www.example.com/full/path) in the address bar there is no 
>> problem.
>>
>> I have https required in app.yaml
>>
>> - url: /.* script: myapp.app secure: always redirect_http_response_code: 
>> 301
>>
>> However, some shorter paths work in the address bar, if I type in '
>> example.com/help' it routes fine to the https://www.example.com/help.
>>
>>
>> I can't tell if the issue is in app.yaml, the dns records, or somewhere 
>> in a browser settings.
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/94fb8db3-f4e6-4e28-81ef-95a8090bee50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Limit number of requests sent per IP on Gooogle App Engine Flex?

2018-10-01 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Sudhanshu

Currently Rate limiting only possible by the number of requests per minute 
per service consumer in Google Cloud Platform. Here the service consumer is 
a Google Cloud Platform project as identified by an API Key, Project ID or 
a project number. To enforce rate limiting, each server that belongs to a 
managed service needs to call the Service Control API services.allocateQuota 

 
method regularly. If the response of the services.allocateQuotamethod 
indicates that the usage is above the limit, the server should reject the 
incoming request with a 429 error. To see an example how to enforce rate 
limiting , you can check here 

.

On Sunday, September 30, 2018 at 7:14:38 AM UTC-4, Sudhanshu Gaur wrote:
>
> I am trying to add limit reqeusts per IP on Google App Engine *FLex* NodeJs, 
> I saw this rate-limiting-nginx 
>  documentation where 
> Rate Limiting is applied on Nginx, but how can I use it inside my App 
> Engine app.
>
> Also is there any default setting or any other way for rate limiting on 
> Google App Engine?
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/35f2e444-035c-4c76-a2e6-0ad3afeed77c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: OAuth consent screen now showing scope options

2018-09-28 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi 

When trying to access the page, did you see any error, such as permission 
or anything else? Are you trying to access both project from the same user 
account? It seems like a permission error to me. I would recommend to check 
all permissions and roles are the same for both projects. You can check 
this[1] link to review your project level access control using IAM. 

[1] 
https://cloud.google.com/resource-manager/docs/access-control-proj#permissions_and_roles

On Thursday, September 27, 2018 at 5:16:20 PM UTC-4, o. topalov wrote:
>
> I have two seemingly identical projects created in two different accounts. 
> Both projects use the same set of Google APIs - Google Picker and Google 
> Drive. In one of the projects (the one created earlier) I can see and set 
> up scope options inside the console.developers.google.com UI under 
> Credentials/OAuth consent screen. In the other project the same screen is 
> missing the scope options (and other settings). What am I missing?
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f22d3276-83f2-444a-9dc7-f6470a16c1bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: This morning, I couldn't deploy AppEngine Flex - Failed to complete within deadline. Task was cancelled

2018-09-28 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Suttiwat

In a nutshell, it seems like a temporary error on the Cloud Platform’s 
side. Are you still having this issue? If Yes, I would recommend to check 
your Google Cloud SDk version by using this[1] command. As of now, this 
should be [218.0.0], if it is not, please update using this command [2] and 
try to deploy your app again.  

If it still gives the same error, I would recommend to create a bug report 
using issue tracker as mentioned here[3]. Before doing this, please run 
this [4] command and provide the output with it. This will allow us to 
provide more information to check detail logs regarding this error. Also 
please provide a time frame from when this error started for you. And 
finally it would be great if you can provide any reproducible steps for 
this issue. 

[1] gcloud version

[2] gcloud components update

[3] https://cloud.google.com/support/docs/issue-trackers

[4]  gcloud info --anonymize


On Thursday, September 27, 2018 at 1:33:56 PM UTC-4, Suttiwat Youngklai 
wrote:
>
>
> Hi All:
>
> This morning (10.40am GMT+7 Timezone), when I perform AppEngine Flex 
> deploy new code of software,  I've got the error below , so I can't deploy 
> the new version.Are there anyone encounter this kind of problem?  
>  Please suggest the solution.  Thanks, 
>
> PS:  Yesterday, I can deploy it as usual. So don't know why this happen ?
>
>
> [INFO] GCLOUD: 
> ..failed.
>  
>
> [INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] Could not 
> get clean deployment: "ZeusDeploymentError("Failed to delete deployment: 
> TemporaryError('TEMPORARY_ERROR: Failed to complete within deadline. Task 
> was cancelled.', 'TEMPORARY_ERROR')",)" [INFO] 
>  
>
> [INFO] BUILD FAILURE [INFO] 
>  
>
> [INFO] Total time: 02:49 min 
> [INFO] Finished at: 2018-09-27T10:43:19+07:00 
> [INFO] Final Memory: 31M/520M [INFO] 
> 
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d8654c77-1af3-4986-8fde-6ff10955a2a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: over quota error

2018-09-25 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
According to this 
 
document, when an application consumes all of an allocated resource, the 
resource becomes unavailable until the quota is replenished. Please note 
the resources that required to initiate a request, if that resource is 
unavailable, App Engine returns 403 or 503 error code for that request 
instead of calling the request handler. As you are not getting this error 
codes, it seems like initial resource to serve your application is 
available. If you have Silver, Gold, or Platinum support package 
 you can contact your support 
representative 
 to 
request higher throughput limits. Otherwise, you can file a feature request 
.

On Tuesday, September 25, 2018 at 1:45:03 PM UTC-4, ozapeace wrote:
>
> I am publishing the site on Google App Engine, but I am affected by 
> referrer spam. It reaches the upper limit and an over quota error has come 
> out. Can you respond?

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e9e9d1ae-ed89-47a1-bfd3-fd0ad6e29b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine Flexible Cron Tasks Fail with SSL Redirection

2018-09-24 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Chad

I went through a couple of posts that could related to this error. I 
believe this is the cause of the issue - cron accesses target URLs over 
http, and so when the handler tries to redirect to https it's throwing the 
301 'Moved permanently' response. It seems like cron jobs are triggered by 
the App Engine Cron Service over http. If you're forcing https redirection, 
consider adding another handler [3] just for the Cron jobs without any 
redirection. Also you can check this [4] link to enable retrying all failed 
cron jobs. I hope it helps. If the solutions mentioned in given links 
doesn’t work for you and convinced it might be a bug, you can report this 
in issue tracker .

[1] https://groups.google.com/forum/#!topic/google-appengine/PsOGESDKiGk

[2] 
https://stackoverflow.com/questions/15667681/can-app-engine-cron-jobs-use-https-ssl

[3] 
https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron

[4] 
https://cloud.google.com/appengine/docs/standard/python/config/cron#retrying_cron_jobs_that_fail


On Saturday, September 22, 2018 at 12:51:17 PM UTC-4, Chad Paulson wrote:
>
> Hello,
>
> I am having an issue getting cron tasks to work and I'm not sure there is 
> currently a remedy due to the limited nature of SSL support for GAE 
> flexible and the lack of handler support.
>
> Currently all of the tasks are failing because they are returning a 301 
> HTTP response code.  While this seems like an edge case, it also seems like 
> a bit of an infrastructure oversight and I would greatly appreciate any 
> assistance on this matter.
>
> Thanks,
> Chad
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/56f4c717-ac29-427e-bdcf-5282174da2cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Every once in a while GAE responds with 502 error

2018-09-21 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi

To navigate to the ‘Memory Usage’ graph in the App Engine dashboard, you 
first need to click on the hamburger icon on the top left corner of the 
Cloud Console. Then, click ‘App Engine’ under the ‘Compute’ section and 
select 'Dashboard'. Select version from the dropdown menu and then select 
‘Memory Usage’ from another dropdown menu just under the ‘Version’ dropdown 
menu. I hope this helps you to find the ‘Memory Usage’ graph in the App 
Engine dashboard.


On Thursday, September 20, 2018 at 5:12:16 PM UTC-4, Elena DevAccount wrote:
>
> Hi and thanks for your reply!
> I cannot find the Memory usage in the dropdown menu though. Could you 
> please point me to some link or instructions? 
>
> Thanks!
>
> On Tuesday, September 11, 2018 at 3:11:19 PM UTC-7, Katayoon (Cloud 
> Platform Support) wrote:
>>
>> I should note that we have received some reports from asia-south1 and 
>> asia-northeast1 regions as reported via Issue#113859892 
>>  which seems to be resolved. 
>> However, in your case (Elena’s), it seems that your application ran out 
>> of memory 
>> .
>>  
>> You can check it via your App Engine Dashboard by choosing “Memory Usage” 
>> through the dropdown menu.
>>
>> If the issue still persists, I recommend to report it via the Issue 
>> Tracker  so that 
>> we would be able to dig into the issue.
>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fd3ad178-c60e-49b3-acbd-24efb53b6e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Does Cloud Endpoints work with 2nd Gen python 3.7 standard?

2018-09-20 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
Hi Parth, Thank you for your update. 

As you mentioned,you already received an update from this [1] thread. In 
order to avoid duplicating efforts we always recommend to follow one 
thread.  

[1] https://groups.google.com/forum/#!topic/google-cloud-endpoints/JVurbIaTbak 
 

On Wednesday, September 19, 2018 at 7:56:47 PM UTC-4, Parth Mishra wrote:
>
> Update: recieved word from the endpoints google group that this is in 
> fact, not supported at the time of writing. It is something that is being 
> looked at, however, but with no timetable for a fix.
>
> I'll leave this up in case anyone else is curious in future. 
>
> On Wednesday, September 19, 2018 at 7:25:54 PM UTC-4, Parth Mishra wrote:
>>
>> I tried to set it up using an open api deployment for endpoints and it 
>> deployed succsesfully but it's not bothering to authenticate requests. Is 
>> it supported?
>>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/206a59f9-bc8a-43b1-9cc2-c8445a640a8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Firestore in datastore mode

2018-09-12 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Rajesh,

This limit is infeasible to change due to complex infrastructure reasons. 
There is no update from Cloud Datastore engineering team regarding any 
alternative solutions for this limit as of yet and we unfortunately cannot 
provide any ETA at this moment. 


On Wednesday, September 5, 2018 at 10:43:02 AM UTC-4, Rajesh Gupta wrote:
>
> It was discussed in the issue tracker, that alternates were being 
> researched on this.  
>
> https://issuetracker.google.com/issues/35894207
>
> Any updates that can shared on this.  
>
> On Tue, Sep 4, 2018 at 9:30 PM, 'David (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Rajesh,
>>
>> As stated in Cloud Firestore in Datastore mode 
>> ,
>>  
>> the Cloud Firestore in Datastore mode uses Cloud Datastore indexes instead 
>> of Cloud Firestore indexes, therefore, the limitations are the same 
>> excepting for these 3 which are listed in the previous link:
>>
>> -Eventual consistency, all Cloud Datastore queries become strongly 
>> consistent.
>>
>> -Transactions are no longer limited to 25 entity groups.
>>
>> -Writes to an entity group are no longer limited to 1 per second.
>> Please review production limits for the Cloud Datastore 
>> , the maximum 
>> number of composite indexes for a project is still 200.
>>
>>
>> On Tuesday, September 4, 2018 at 8:40:40 AM UTC-4, Rajesh Gupta wrote:
>>>
>>> Hello,
>>>
>>> Question on the 3rd generation of datastore ie, Firestore in datastore 
>>> mode:  Does it remove the limitation of 200 index limit?
>>>
>>> -- 
>>> Regards,
>>> Rajesh
>>> *www.GainERP.com *
>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
>>> Mobile*
>>>
>>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/59c13025-7d6e-43e8-a967-9bc991954993%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  
> Regards,
> Rajesh
> *www.VeersoftSolutions.com *
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
> Mobile*
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/193a631b-5d2a-4760-867b-f334fa1963b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: europe-north1 availability and approximate ETA

2018-09-03 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hi Mihkel

We cannot provide any ETA at this moment. However you can check this [1] 
link to find updates regarding product availability by Region. You can also 
find available App Engine locations here [2] and ‘europe-north1’ should be 
in the list when introduced in Finland.

[1] https://cloud.google.com/about/locations/?region=europe#region

[2] https://cloud.google.com/appengine/docs/locations


On Wednesday, August 29, 2018 at 11:04:12 AM UTC-4, Mihkel Sokk wrote:
>
> Hi,
>
> Are there any plans or timeline to introduce App Engine support in Finland 
> region?
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b104ac46-85b9-4026-8111-abe46abf88e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: custom domain names on 3 sites stopped working overseas

2018-08-28 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Martin,

>From your message it seems like you are not able to access your websites 
from Brazil but they are accessible from UK. To access your website from 
Brazil, it should convert its name into IP, which is then used to gain 
access to the resource you have requested. As different ISPs are involved 
in this request routing, this IP could be restricted in any point. However, 
I didn't find any recent report related to Google IPs restriction in 
Brazil. I can also access the mentioned site from the Compute Engine VM in 
us-central1 
region . You can use 
'tracert' on Linux machine or ‘traceroute’ on Windows machine to find the 
hops the request is travelling through. Using this command will show you in 
which point it breaks the connection. Bellow is the command format: 

# tracert [ hostname ] 

You can check the issue with using MTR tools as well to see packet-loss 
status of each routing path. Additionally, you can try using your 
appspot.com link (http://[YOUR_PROJECT_ID].appspot.com) directly to access 
your website rather using a custom domain name. 

As your website is accessible from different places except Brazil, it seems 
like the issue is related more to networking rather than to App Engine 
itself. 

Hope it helps you to investigate the issue further.


On Saturday, August 25, 2018 at 4:36:20 AM UTC-4, spider100 wrote:
>
> I have 3 sites one of which is http://www.ashfordchroming.com it has a 
> custom domain and i am unable to reach the site from brazil but it works 
> from UK?
> This seems to have suddenly stopped working, also email which is mapped to 
> a sub domain?
>
> Why would this be
>  
>
> *Martin Webb*
>
>  
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8a7ae215-961e-476d-b1d3-716529c8fff9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-27 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Dennis,

Yes, you are right. The Memcache service is not available for App Engine 
flexible environment at this moment. However, an alpha version will be 
available soon, you can fill-out the early access form here 
<https://cloud.google.com/appengine/docs/flexible/nodejs/upgrading#memcache_service>.
 
Currently , you can use Redis Labs Memcache 
<https://cloud.google.com/appengine/docs/flexible/nodejs/using-redislabs-memcache>
, a third party fully managed service, to cache application data. This will 
allow you to use Memcached in order to achieve the persistence and 
in-memory replication of your data. 

Alternatively, you can use Node.JS Cloud Storage client library 
<https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-nodejs>
 
to access your files on Cloud Storage. 

I hope that the provided will helps you to find a resolution for your 
issue. 


On Thursday, August 23, 2018 at 6:04:41 AM UTC-4, Dennis Yurkevich wrote:
>
> Hello Amit,
>
> Appreciate the reply, and thank you for the resource.
>
> However - my question is still open, at the very basic level I would like 
> to read an external data source and load an object to be available in 
> memory on all of my instances.
>
> I am using nodejs flexible and memcache is not available, or ideal as I 
> need the data to persist. 
>
> Ideally I could maybe mount the google cloud bucket as a filesystem, and 
> run a CRON job / task to load any new files from that bucket into memory. 
>
> Would be great if you can suggest an approach here.
>
> Best,
> Dennis
>
>
>
> On Wed, Aug 22, 2018 at 9:34 PM, 'Amit (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Dennis,
>>
>> App Engine instances are computing units that App Engine uses to 
>> automatically scale the running application. Each instance has its own 
>> security layer to ensure that instances cannot unintentionally affect each 
>> other. In this similar standpoint, the files written to the file system on 
>> one instance will not be replicated across all other available instances. 
>> For more information about how instances are managed on App Engine, please 
>> go through this [1] article.
>>
>> I hope this answers your question.
>>
>> [1] 
>> https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed
>>
>>
>> On Wednesday, August 22, 2018 at 4:37:31 AM UTC-4, Dennis Yurkevich wrote:
>>>
>>> Hello,
>>>
>>> If I write a cron job to fetch data from Cloud Storage and write it to 
>>> the instance file system - will this be replicated across all of my 
>>> instances?
>>>
>>> Thanks,
>>> Dennis
>>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/d2c09cca-f7d5-4810-9b7e-d59e047c0cfd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/d2c09cca-f7d5-4810-9b7e-d59e047c0cfd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/19436222-7877-4a3e-867d-0b5a2c573b02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Remove/delete previously verified unwanted domains

2018-08-23 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Hendrik,

It seems like you are having an issue with the deletion your custom domains 
from your App Engine app. To do this, you need to go to Custom Domains page 
 and click on 
the bin button next to your domain to remove it. 

I hope this helps you to resolve the issue.


On Thursday, August 23, 2018 at 8:59:04 AM UTC-4, hvjunk wrote:
>
> Good day,
> I've previously (for a client's PoC) verified some domains to my account's 
> AppEngine, 
> but now they are still listed whenever I do:
>   gcloud domains list-user-verified
> and I can't find a way to delete them :(
>
> Who/what/where do I contact to remove these extraneous domains?
>
> Hendrik
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c1f9c98a-d565-4b07-b71d-b50116b75a8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-22 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine


Hello Dennis,

App Engine instances are computing units that App Engine uses to 
automatically scale the running application. Each instance has its own 
security layer to ensure that instances cannot unintentionally affect each 
other. In this similar standpoint, the files written to the file system on 
one instance will not be replicated across all other available instances. 
For more information about how instances are managed on App Engine, please 
go through this [1] article.

I hope this answers your question.

[1] 
https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed


On Wednesday, August 22, 2018 at 4:37:31 AM UTC-4, Dennis Yurkevich wrote:
>
> Hello,
>
> If I write a cron job to fetch data from Cloud Storage and write it to the 
> instance file system - will this be replicated across all of my instances?
>
> Thanks,
> Dennis
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d2c09cca-f7d5-4810-9b7e-d59e047c0cfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Could not resolve dependencies for project com.willshex:qure:war:0v1:

2018-08-02 Thread &#x27;Amit (Google Cloud Support)' via Google App Engine
Hi 

Are you using maven for this project? if Yes , please try to update that 
and try again.

Additionally please check if you missed any Maven repos in your POM.



On Thursday, August 2, 2018 at 7:05:07 AM UTC-6, Win Han wrote:

> Hi there,
>
> I am having a dependency missing issues. I did not touch my pom file a 
> while ago. But all of a sudden, it seems like google gwt client was broken 
> yesterday. It looks fine today. But there is still dependency missing on 
> markdown4j.
>
> *Error*
>
> Could not resolve dependencies for project com.willshex:qure:war:0v1: 
> Could not find artifact 
> org.commonjava.googlecode.markdown4j:markdown4j-gwt:jar:1.1-SNAPSHOT 
>
> Does anyone have any idea of what is going on and how to fix this please?
>
> Thanks in advanced
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9dbdf58a-4458-4485-b453-ff7b369237da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: gcloud crash while deploy app

2018-07-23 Thread Amit Shakya
I found one silly issue in app.yaml
this was my app.yaml file before which is crashing gcloud
runtime:nodejs
env:flex

This is correction I did which fix the issue
runtime: nodejs
env: flex

just add little space.


On Friday, July 20, 2018 at 11:14:32 PM UTC+5:30, Amit Shakya wrote:
>
> I  have Nodejs app running on GCP I made few changes and update pull git 
> branch code, It is running fine on port 8080 on gcp,  but after doing 
> gcloud app deploy it throws me an error,
> ERROR: gcloud crashed (TypeError): expected string or buffer , and there 
> I found package-lock.json file, I read on docs 
> <https://cloud.google.com/appengine/docs/flexible/nodejs/runtime> it may 
> be an issue, it can cause gcloud development failed, so that I delete 
> package-lock.json but still not working
>
> here my app.yaml
> runtime:nodejs
> env:flex
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6733ffd0-1b35-4534-9322-d062ff706215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] gcloud crash while deploy app

2018-07-20 Thread Amit Shakya
I  have Nodejs app running on GCP I made few changes and update pull git 
branch code, It is running fine on port 8080 on gcp,  but after doing 
gcloud app deploy it throws me an error,
ERROR: gcloud crashed (TypeError): expected string or buffer , and there I 
found package-lock.json file, I read on docs 
 it may be 
an issue, it can cause gcloud development failed, so that I delete 
package-lock.json but still not working

here my app.yaml
runtime:nodejs
env:flex

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/65e06a59-86ae-4012-8dda-adf45e67c27f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: (gcloud.app.deploy) Error Response: [13] An internal error occurred

2018-02-03 Thread Amit Nair
THanks a lot. Removing the Icon files fixed it.

Used below command to delete the files.
find . -name 'Icon?' -type f -delete



On Wednesday, 31 January 2018 12:15:40 UTC-8, magoarcano wrote:
>
> Thanks! I had the very same problem. I don't know how that Icon file have 
> been created. Maybe Dropbox did it.
>
>
> On Tuesday, August 22, 2017 at 5:40:05 PM UTC-3, Stephen Cawood wrote:
>>
>> Thanks. I was finally able to resolve it. macOS had created an "Icon?" 
>> file in my assets folder and that file was breaking the deployment. 
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8ae2daa3-e8c9-4a8c-93b2-b0b37e72c267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-13 Thread Amit Bhosle
George - Did you even read my previous messages? :)



On Wednesday, July 12, 2017 at 12:56:28 PM UTC-7, George (Cloud Platform 
Support) wrote:
>
> gslib may be found at /usr/lib/google-cloud-sdk/platform/gsutil/gslib/data 
> in linux, or at an equivalent path in Windows, starting from the sdk 
> install directory. 
>
> What are you attempting to do exactly? Do you want to authenticate your 
> app for connection to cloud resources? Do you want to authenticate users? 
> To clarify things, it may be advisable to read the "Introduction to the 
> Admin Auth API " and the 
> info linked at "Verify ID Tokens". 
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/38e81346-7ff7-416f-8f47-4ef20a903f22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-12 Thread Amit Bhosle
this is somewhat resolved now.. the main issue was the "TypeError: must be 
_socket.socket, not socket" error.. the workaround / monkeypatch i linked 
above is working.
i got a new firebase token and the code now works (following through the 
code, the firebase token has a certificate id embedded in it (and no cert 
with that ID is currently being vended from the certs URL that is used).. i 
guess the set of valid certs gets updated over time).. 



On Friday, July 7, 2017 at 5:41:44 PM UTC-7, Amit Bhosle wrote:
>
> Hi,
>
> I'm getting this error when invoking firebase_admin.auth.verify_id_token 
> API.
> I've verified that I'm using the latest certificate bundle 
> (certifi-2017.4.17 - actually, reinstalled it as well).. 
>
> can someone pls help? 
>
> This is in the dev_appserver of google app engine, on a Windows 10 machine 
> with Python 2.7.. 
>
> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6900d541-c16d-4882-a6b5-259fe84b5246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google App Engine with Local mysql server showing error.

2017-07-12 Thread Amit Kumar
I am following this link - 
https://cloud.google.com/appengine/docs/standard/java/cloud-sql
However when I run the app, I get the following error - 

HTTP ERROR 500

Problem accessing /. Reason:

Could not create connection to database server.

Caused by:

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not 
create connection to database server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at 
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:140)
at 
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:148)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:918)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:897)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:886)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)
at 
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2330)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:806)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at 
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:140)
at 
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:148)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)
at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:270)
at 
com.example.appengine.cloudsql.CloudSqlServlet.doGet(CloudSqlServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:134)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:48)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.Se

[google-appengine] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-11 Thread Amit Bhosle
Hi again - thought i'll post an update here based on my debugging.

the initial issue was that I was getting an error: "TypeError: must be 
_socket.socket, not socket"
I was trying some workarounds mentioned on some forums/blogs, and ended up 
with the certificate error.. 

I tried a different workaround now (seems similar to the earlier one) - 
this one monkey-patches an additional platform.platform() method.. 
https://stackoverflow.com/questions/9604799/can-python-requests-library-be-used-on-google-app-engine


"Certificate for key id cfaaafe371b3e2b1a832251233ea51be086ce9c3 not found"


digging through the code, looks like the certs are fetched from the 
GOOGLE_APIS_CERTS_URL I mentioned above: 
  
https://www.googleapis.com/robot/v1/metadata/x509/secureto...@system.gserviceaccount.com

see line 76 in google.oauth2.id_token.py:

 59 def verify_token(id_token, request, audience=None,
 60  certs_url=_GOOGLE_OAUTH2_CERTS_URL):
 61 """Verifies an ID token and returns the decoded token.
 62
 63 Args:
 64 id_token (Union[str, bytes]): The encoded token.
 65 request (google.auth.transport.Request): The object used to make
 66 HTTP requests.
 67 audience (str): The audience that this token is intended for. 
If None
 68 then the audience is not verified.
 69 certs_url (str): The URL that specifies the certificates to use 
to
 70 verify the token. This URL should return JSON in the format 
of
 71 ``{'key id': 'x509 certificate'}``.
 72
 73 Returns:
 74 Mapping[str, Any]: The decoded token.
 75 """
 76 certs = _fetch_certs(request, certs_url)
 77
 78 return jwt.decode(id_token, certs=certs, audience=audience)



do you know why the set of certs could be missing the one extracted from my 
firebase token?

thanks
Amit



On Tuesday, July 11, 2017 at 12:55:51 PM UTC-7, Amit Bhosle wrote:
>
> btw, I'm able to successfully invoke other APIs that are also hosted on 
> googleapis.com - e.g., places APIs, radarsearch, etc.. 
> One sample URL is below - as you can see, it is also an HTTPS endpoint.
>
> https://maps.googleapis.com/maps/api/place/details/json?key=API-KEY&placeid=PLACE-ID
>
>
> the _GOOGLE_APIS_CERTS_URL is listed as:
>
> https://www.googleapis.com/robot/v1/metadata/x509/secureto...@system.gserviceaccount.com
>
>
> Not sure what the diffs would be in using this API or the one via the 
> firebase admin client.. Could be that certificate verification is not done 
> for this API..?
> or an issue with the firebase_admin or google.oauth2 python libraries?
>
>
>
> On Tuesday, July 11, 2017 at 11:07:04 AM UTC-7, Amit Bhosle wrote:
>>
>> Hi George,
>>
>> thanks for the response.. 
>>
>> nslookup from my windows machine is showing the following info:
>>
>> $ nslookup storage.googleapis.com
>> Non-authoritative answer:
>> Server:  
>> Address:  192.168.1.1
>>
>> Name:storage.l.googleusercontent.com
>> Addresses:  2607:f8b0:400a:808::2010
>>   172.217.3.208
>> Aliases:  storage.googleapis.com
>>
>>
>> also - not sure what gslib is.. i thought installing certifi would be 
>> enough.. 
>>
>> $ find . -name "cacert*"
>> ./lib/certifi/cacert.pem
>> ./lib/httplib2/cacerts.txt
>>
>>
>> Do you know how i can check if the required certificate is even present 
>> in the above places? (both of the above files have some certs - and i'm 
>> assuming the certifi/cacert.pem is the one being used.. 
>>
>> Thanks
>> Amit
>>
>> On Monday, July 10, 2017 at 8:31:44 AM UTC-7, George (Cloud Platform 
>> Support) wrote:
>>>
>>> Hello Amit, 
>>>
>>> A corrupted installation might be at the root of this. For 
>>> troubleshooting purposes, it is useful checking that your files match the 
>>> following pattern, indicated here in general lines: 
>>>
>>> ~/gsutil$ ls -l gslib/data/cacerts.txt 
>>> -rw-r--r-- 1  gslib/data/cacerts.txt 
>>>
>>> ~/gsutil$ sha1sum gslib/data/cacerts.txt 
>>> 183c495586bf93d2efsdfdyuiiqww5b1b4fa1tycvbvn gslib/data/cacerts.txt 
>>>
>>> The output from the following command may prove quite useful as well: 
>>>
>>> ~/gsutil$ host storage.googleapis.com 
>>>
>>> storage.googleapis.com is an alias for 
>>> storage-ugc.l.googleusercontent.com. 
>>> storage-ugc.l.googleusercontent.com has address some_ip_address_here
>>> storage-ugc.l.googleusercontent.com has address some_ip_address_here 
>>> storage-ugc.l.googleuserconten

[google-appengine] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-11 Thread Amit Bhosle
btw, I'm able to successfully invoke other APIs that are also hosted on 
googleapis.com - e.g., places APIs, radarsearch, etc.. 
One sample URL is below - as you can see, it is also an HTTPS endpoint.

https://maps.googleapis.com/maps/api/place/details/json?key=API-KEY&placeid=PLACE-ID


the _GOOGLE_APIS_CERTS_URL is listed as:

https://www.googleapis.com/robot/v1/metadata/x509/secureto...@system.gserviceaccount.com


Not sure what the diffs would be in using this API or the one via the 
firebase admin client.. Could be that certificate verification is not done 
for this API..?
or an issue with the firebase_admin or google.oauth2 python libraries?



On Tuesday, July 11, 2017 at 11:07:04 AM UTC-7, Amit Bhosle wrote:
>
> Hi George,
>
> thanks for the response.. 
>
> nslookup from my windows machine is showing the following info:
>
> $ nslookup storage.googleapis.com
> Non-authoritative answer:
> Server:  
> Address:  192.168.1.1
>
> Name:storage.l.googleusercontent.com
> Addresses:  2607:f8b0:400a:808::2010
>   172.217.3.208
> Aliases:  storage.googleapis.com
>
>
> also - not sure what gslib is.. i thought installing certifi would be 
> enough.. 
>
> $ find . -name "cacert*"
> ./lib/certifi/cacert.pem
> ./lib/httplib2/cacerts.txt
>
>
> Do you know how i can check if the required certificate is even present in 
> the above places? (both of the above files have some certs - and i'm 
> assuming the certifi/cacert.pem is the one being used.. 
>
> Thanks
> Amit
>
> On Monday, July 10, 2017 at 8:31:44 AM UTC-7, George (Cloud Platform 
> Support) wrote:
>>
>> Hello Amit, 
>>
>> A corrupted installation might be at the root of this. For 
>> troubleshooting purposes, it is useful checking that your files match the 
>> following pattern, indicated here in general lines: 
>>
>> ~/gsutil$ ls -l gslib/data/cacerts.txt 
>> -rw-r--r-- 1  gslib/data/cacerts.txt 
>>
>> ~/gsutil$ sha1sum gslib/data/cacerts.txt 
>> 183c495586bf93d2efsdfdyuiiqww5b1b4fa1tycvbvn gslib/data/cacerts.txt 
>>
>> The output from the following command may prove quite useful as well: 
>>
>> ~/gsutil$ host storage.googleapis.com 
>>
>> storage.googleapis.com is an alias for 
>> storage-ugc.l.googleusercontent.com. 
>> storage-ugc.l.googleusercontent.com has address some_ip_address_here
>> storage-ugc.l.googleusercontent.com has address some_ip_address_here 
>> storage-ugc.l.googleusercontent.com has address some_ip_address_here 
>> storage-ugc.l.googleusercontent.com has IPv6 address 
>> some_ipv6_address_here
>>
>> (It is OK if your resolver may have different IP addresses) 
>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c50aaed3-02b7-47c4-9073-8a80c265046f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-11 Thread Amit Bhosle
Hi George,

thanks for the response.. 

nslookup from my windows machine is showing the following info:

$ nslookup storage.googleapis.com
Non-authoritative answer:
Server:  
Address:  192.168.1.1

Name:storage.l.googleusercontent.com
Addresses:  2607:f8b0:400a:808::2010
  172.217.3.208
Aliases:  storage.googleapis.com


also - not sure what gslib is.. i thought installing certifi would be 
enough.. 

$ find . -name "cacert*"
./lib/certifi/cacert.pem
./lib/httplib2/cacerts.txt


Do you know how i can check if the required certificate is even present in 
the above places? (both of the above files have some certs - and i'm 
assuming the certifi/cacert.pem is the one being used.. 

Thanks
Amit

On Monday, July 10, 2017 at 8:31:44 AM UTC-7, George (Cloud Platform 
Support) wrote:
>
> Hello Amit, 
>
> A corrupted installation might be at the root of this. For troubleshooting 
> purposes, it is useful checking that your files match the following 
> pattern, indicated here in general lines: 
>
> ~/gsutil$ ls -l gslib/data/cacerts.txt 
> -rw-r--r-- 1  gslib/data/cacerts.txt 
>
> ~/gsutil$ sha1sum gslib/data/cacerts.txt 
> 183c495586bf93d2efsdfdyuiiqww5b1b4fa1tycvbvn gslib/data/cacerts.txt 
>
> The output from the following command may prove quite useful as well: 
>
> ~/gsutil$ host storage.googleapis.com 
>
> storage.googleapis.com is an alias for storage-ugc.l.googleusercontent.com
> . 
> storage-ugc.l.googleusercontent.com has address some_ip_address_here
> storage-ugc.l.googleusercontent.com has address some_ip_address_here 
> storage-ugc.l.googleusercontent.com has address some_ip_address_here 
> storage-ugc.l.googleusercontent.com has IPv6 address 
> some_ipv6_address_here
>
> (It is OK if your resolver may have different IP addresses) 
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03d081d1-17f5-4930-8f2e-8690f7192831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-07 Thread Amit Bhosle
Hi,

I'm getting this error when invoking firebase_admin.auth.verify_id_token 
API.
I've verified that I'm using the latest certificate bundle 
(certifi-2017.4.17 - actually, reinstalled it as well).. 

can someone pls help? 

This is in the dev_appserver of google app engine, on a Windows 10 machine 
with Python 2.7.. 

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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c794a317-5365-44b9-9203-a047b4b99d9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2017-07-07 Thread Amit Bhosle
Hi,

I'm getting this error when invoking firebase_admin.auth.verify_id_token 
API. 
I verified that i have the latest certificates bundle 
(certifi-2017.4.17.dist-info). 

I'm on a windows 10 machine, using Python 2.7.. Also, this is in context of 
dev_appserver.py of the google appengine.

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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d1979ed7-9a2f-4bfb-886d-fe4e85860502%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Region

2017-05-10 Thread Amit Kumar
How can I change the region/location of my existing app-engine app?

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9b0da77b-f5ea-4aae-b83d-1a5c0c5897f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Suggestions - Want to develop a social network for martial artists website using java, mongodb, angularjs, bootstrap etc

2016-02-24 Thread Amit Chavan
Great thank you. Any good blogs or getting started apps that the platform 
has published. This will really developers get upto speed.

On Wednesday, 24 February 2016 17:18:06 UTC-5, Nick (Cloud Platform 
Support) wrote:
>
> Hey Amit,
>
> MEAN (MongoDB <https://en.wikipedia.org/wiki/MongoDB>,Express.js 
> <https://en.wikipedia.org/wiki/Express.js>, Angular.js 
> <https://en.wikipedia.org/wiki/Angular.js>, and Node.js 
> <https://en.wikipedia.org/wiki/Node.js>) is a full-stack web-development 
> paradigm ("software bundle") which is popular right now. You can read more 
> about it by googling. The technologies used are quite interesting and 
> modern. The pricing is described on the page you linked, and yes, 
> initially, the database and webserver are on the same machine. Feel free to 
> explore the docs further to find all kinds of getting started guides. There 
> are a ton of options of how to deploy, and what to deploy, on the Cloud 
> Platform.
>
> I hope this answer was helpful to you.
>
> Sincerely,
>
> Nick
>
> On Wednesday, February 24, 2016 at 3:48:09 PM UTC-5, Amit Chavan wrote:
>>
>> Thanks. Do you suggest any blog or books to familiarize with GCP. 
>> Can you explain this environment -- 
>> https://cloud.google.com/launcher/solution/bitnami-launchpad/meanstack
>>
>> How is the pricing determined. Does MongoDB and node is on same 
>> environment ? 
>>
>> For the GCE  - Do you have a good example on the cloud platform reference 
>> guide that I can use to get started. I am looking at the launcher document 
>> https://cloud.google.com/launcher/
>>
>>
>>
>> On Tuesday, 23 February 2016 16:15:19 UTC-5, Nick wrote:
>>>
>>> You have 4 options right now on GCP:
>>> GCE - runs VMs same as ec2
>>> GKE - runs docker containers instead of full VMs
>>> Managed VMs - these are appengine apps running in a less sandboxes 
>>> environment, basically containers with access to managed services using 
>>> 'native' APIs (as opposed to service calls)
>>> GAE - appengine, a PaaS in a fully managed environment, you deploy code 
>>> and they run on their own, accessing services as native APIs
>>>
>>> You can run a servlet 3.x app in the first three, with different levels 
>>> of operational effort. 
>>>
>>> Right now, GAE is servlet 2.5 (Java 7). Don't hold your breath for this 
>>> to change, it's been on the roadmap for years (although we're all very 
>>> hopefully)
>>>
>>> Managed VMs are not GA yet either, which may affect your choice.
>>>
>>> Regarding play, I can't help there.
>>>
>>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4d728242-5944-4a4b-9efe-3db32bd85e74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Suggestions - Want to develop a social network for martial artists website using java, mongodb, angularjs, bootstrap etc

2016-02-24 Thread Amit Chavan
Thanks. Do you suggest any blog or books to familiarize with GCP. 
Can you explain this environment 
-- https://cloud.google.com/launcher/solution/bitnami-launchpad/meanstack

How is the pricing determined. Does MongoDB and node is on same environment 
? 

For the GCE  - Do you have a good example on the cloud platform reference 
guide that I can use to get started. I am looking at the launcher 
document https://cloud.google.com/launcher/



On Tuesday, 23 February 2016 16:15:19 UTC-5, Nick wrote:
>
> You have 4 options right now on GCP:
> GCE - runs VMs same as ec2
> GKE - runs docker containers instead of full VMs
> Managed VMs - these are appengine apps running in a less sandboxes 
> environment, basically containers with access to managed services using 
> 'native' APIs (as opposed to service calls)
> GAE - appengine, a PaaS in a fully managed environment, you deploy code 
> and they run on their own, accessing services as native APIs
>
> You can run a servlet 3.x app in the first three, with different levels of 
> operational effort. 
>
> Right now, GAE is servlet 2.5 (Java 7). Don't hold your breath for this to 
> change, it's been on the roadmap for years (although we're all very 
> hopefully)
>
> Managed VMs are not GA yet either, which may affect your choice.
>
> Regarding play, I can't help there.
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/71828680-8777-4da9-be6c-7f6ba56cbaf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Suggestions - Want to develop a social network for martial artists website using java, mongodb, angularjs, bootstrap etc

2016-02-23 Thread Amit Chavan
What type of VM should I use ? Does the cloud platform support servlet spec 
3.0+ ? Are there any good resources for using play framework on gcp ?

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0e2e076f-1b19-439e-a568-d90af8bf4d18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: building and pushing image hung or fails

2015-08-10 Thread Amit Srivastava
Yeah more detailed reponse is posted  here:

http://terrenceryan.com/blog/index.php/managed-vm-not-connecting-to-gcr-io-on-os-x/#comment-9529

boot2docker is one flaky piece of code.

On Monday, August 10, 2015 at 2:41:37 PM UTC-7, Amit Srivastava wrote:
>
>
>
> WHen running the deploy command: 
>
> gcloud preview app deploy app.yaml --set-default
>
>
> I have been deploying images wi thtis command in the past but lately this 
> is just hanging on this step.
>
>
> I have trie to delete other versions deployed, using gcloud preview app 
> modules delete default --version   to see if too many versiosn 
> deployed is the issue but that did not help.
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2f3fda2b-d6ef-401c-9124-1164fbb837d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: building and pushing image hung or fails

2015-08-10 Thread Amit Srivastava
To further add the log files are showing this errror:

015-08-10 14:55:27,700 INFO rootException 500 Server Error: 
Internal Server Error ("v1 ping attempt failed with error: Get 
https://appengine.gcr.io/v1/_ping: dial tcp: i/o timeout. If this private 
registry supports only HTTP or HTTPS with an unknown CA certificate, please 
add `--insecure-registry appengine.gcr.io` to the daemon's arguments. In 
the case of HTTPS, if you have access to the registry's CA certificate, no 
need for the flag; simply place the CA certificate at 
/etc/docker/certs.d/appengine.gcr.io/ca.crt") thrown in ProgressHandler. 
Retrying.
On Monday, August 10, 2015 at 2:41:37 PM UTC-7, Amit Srivastava wrote:
>
>
>
> WHen running the deploy command: 
>
> gcloud preview app deploy app.yaml --set-default
>
>
> I have been deploying images wi thtis command in the past but lately this 
> is just hanging on this step.
>
>
> I have trie to delete other versions deployed, using gcloud preview app 
> modules delete default --version   to see if too many versiosn 
> deployed is the issue but that did not help.
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/178edb16-4240-492b-a4b2-928b99796dcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] building and pushing image hung or fails

2015-08-10 Thread Amit Srivastava


WHen running the deploy command: 

gcloud preview app deploy app.yaml --set-default


I have been deploying images wi thtis command in the past but lately this 
is just hanging on this step.


I have trie to delete other versions deployed, using gcloud preview app 
modules delete default --version   to see if too many versiosn 
deployed is the issue but that did not help.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e45b974d-0448-4e6b-b163-e8be469b8bc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] connection Failing to MongoDB on Google Cloud Engine via Mongoose

2015-07-16 Thread Amit Srivastava
I have a mongodb Primary server on Google Cloud Engine. 


The connection string I use from mongoose is:

ar dbURI = 'mongodb://130.211.150.134:27017/test


Where the IP address of  the external IP of the primary mongodB server


I am trying to connect from my laptop as well to test the application by 
connecting to the laptop.


The error I receive is: 
 node_modules/mongoose/node_modules/mongodb/lib/server.js:228

process.nextTick(function() { throw err; })

^

Error: connect ETIMEDOUT

at exports._errnoException (util.js:746:11)

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)


npm ERR! Darwin 14.3.0



.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7599d5c8-0651-40d2-88e4-413e26f98238%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] No "Generate git password" button on Cloud Devlopment > Releases Cannot "Push to deploy" with my emial password - doesn't work

2014-03-31 Thread Amit Thakur
I'm trying to set up push to deploy for my app to App engine.

If I go to my app's appengine dashboard, I don't see an "Enable 
Push-to-Deploy" button, as they mention here  All I see is: Push-to-Deploy 
is now available in the Google Cloud Console Click here to access it.

I go to Google Cloud Console there isn't any "Generate git password" as it 
is shown in documentation.  I am not able to push from git because 
authentications fails always (tried using my Google login and password - 
doesn't work - fails always)

-- 
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] java.lang.NoClassDefFoundError: com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet

2014-03-02 Thread Amit Rai
Yes I tried this code without maven only there is no compile time error
with this while adding manually jar file.
Only problem is when I am running the project.
Might be problem with maven dependancy only


*Amit Rai */ Google Developer
07th Floor,Tower-2, e -City, Electronic City, 1st Phase.
Bangalore.560100 / India
Extn: 7814, P: (+91) 8050637 782
E:  amit@sial.com
*www.sigmaaldrich.com*<http://www.sigmaaldrich.com/>


On Sat, Mar 1, 2014 at 11:31 AM, Vinny P  wrote:

> On Fri, Feb 28, 2014 at 2:34 AM, Amit Rai  wrote:
>
> I am not as much aware with maven.but here wat code I have is using maven
>> only.
>>
>
>
> I would try disconnecting the project from Maven and manually adding the
> JAR libraries specified in the Maven build to your project/build path.
>
> Somewhere along the line, the appropriate libraries aren't being bundled
> into the WAR. You'll have to pin down where in the build process that's
> happening. The easiest way to check Maven's work is to temporarily bypass
> it by manually supplying the libraries.
>
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/W-OV_hvqcYs/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/groups/opt_out.
>

-- 
This message and any files transmitted with it are the property of 
Sigma-Aldrich Corporation, are confidential, and are intended solely for 
the use of the person or entity to whom this e-mail is addressed. If you 
are not one of the named recipient(s) or otherwise have reason to believe 
that you have received this message in error, please contact the sender and 
delete this message immediately from your computer. Any other use, 
retention, dissemination, forwarding, printing, or copying of this e-mail 
is strictly prohibited.

-- 
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/groups/opt_out.
<>

Re: [google-appengine] java.lang.NoClassDefFoundError: com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet

2014-02-28 Thread Amit Rai
Hi Vinny Thanks for reply,

I am not as much aware with maven.but here wat code I have is using maven
only.And I given jar file manually with java build path.
Is it the problem.


*Amit Rai */ Google Developer
07th Floor,Tower-2, e -City, Electronic City, 1st Phase.
Bangalore.560100 / India
Extn: 7814, P: (+91) 8050637 782
E:  amit@sial.com
*www.sigmaaldrich.com*<http://www.sigmaaldrich.com/>


On Fri, Feb 28, 2014 at 1:15 PM, Vinny P  wrote:

> On Thu, Feb 27, 2014 at 8:49 AM, Amit Rai  wrote:
>
>> I have included all the dependency jar file and build path also.And this
>> code is compiled successfully but while running in localhost
>> its giving following error.
>>
>> org.mortbay.util.MultiException[java.lang.NoClassDefFoundError:
>> com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet,
>> java.lang.NoClassDefFoundError:
>> com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet]
>>
>
>
>
> Are you including the JAR dependencies via Maven or by manually placing
> the library JAR? If you're manually placing the JAR file, where did you
> originally download the file from? Can you open up the JAR and double check
> that the "missing" classes are included?
>
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/W-OV_hvqcYs/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/groups/opt_out.
>

-- 
This message and any files transmitted with it are the property of 
Sigma-Aldrich Corporation, are confidential, and are intended solely for 
the use of the person or entity to whom this e-mail is addressed. If you 
are not one of the named recipient(s) or otherwise have reason to believe 
that you have received this message in error, please contact the sender and 
delete this message immediately from your computer. Any other use, 
retention, dissemination, forwarding, printing, or copying of this e-mail 
is strictly prohibited.

-- 
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/groups/opt_out.
<>

[google-appengine] java.lang.NoClassDefFoundError: com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet

2014-02-27 Thread Amit Rai
Hi 

Here I am doing google directory search that will search all the people in 
same directory using java.
Below is the block of code

public class DirectorySampleServlet
extends AbstractAppEngineAuthorizationCodeServlet {

  /**
   * Be sure to specify the name of your application. If the application 
name is {@code null} or
   * blank, the application will log a warning. Suggested format is 
"MyCompany-ProductName/1.0".
   */
  private static final String APPLICATION_NAME = "";

  private static final long serialVersionUID = 1L;

  @Override
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
  throws IOException, ServletException {
// Get the stored credentials using the Authorization Flow
AuthorizationCodeFlow authFlow = initializeFlow();
Credential credential = authFlow.loadCredential(getUserId(req));
// Build the Directory object using the credentials
@SuppressWarnings("unused")
Directory admin = new Directory.Builder(
Utils.HTTP_TRANSPORT, Utils.JSON_FACTORY, credential)
.setApplicationName(APPLICATION_NAME)
.build();

// Add the code to make an API call here.

// Send the results as the response
resp.setStatus(200);
resp.setContentType("text/html");
PrintWriter writer = resp.getWriter();
writer.println("Success! Now add code here.");
  }
  @Override
  protected AuthorizationCodeFlow initializeFlow() throws ServletException, 
IOException {
return Utils.initializeFlow();
  }

  @Override
  protected String getRedirectUri(HttpServletRequest req) throws 
ServletException, IOException {
return Utils.getRedirectUri(req);
  }
}




I have included all the dependency jar file and build path also.And this 
code is compiled successfully but while running in localhost 
its giving following error.



org.mortbay.util.MultiException[java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet,
 
java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeServlet]
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:656)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at 
com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:249)
at 
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
at 
com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
at 
com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
at com.google.appengine.tools.development.Modules.startup(Modules.java:88)
at 
com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:254)
at 
com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:212)
at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:210)
at java.security.AccessController.doPrivileged(Native Method)
at 
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:210)
at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:414)
at 
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at 
com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java:348)
at 
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:324)
java.lang.NoClassDefFoundError: 
com/google/api/client/extensions/appengine/auth/oauth2/AbstractAppEngineAuthorizationCodeCallbackServlet


Someone please help me regarding this.Thanks in advance



-- 
This message and any files transmitted with it are the property of 
Sigma-Aldrich Corporation, are confidential, and are intended solely for 
the use of the person or entity to whom this e-mail is addressed. If you 
are not one of the named recipient(s) or otherwise have reason to believe 
that you have received this message in error, please contact the sender and 
delete this message immediately from your computer. Any other use, 
retention, d

[google-appengine] MySQL error while creating apps engine ready WordPress site

2013-11-05 Thread amit mojumder

Hi All,
I am relatively new to Google Apps Engine platform.
Trying to setup a wordpress blog.

I am working with wordpress on my local machine using XAMP which running 
MySQL 5.5

When following the tutorial i have successfully created the necessary 
files. but i cant run this following query for database called 
"wordpress_db"

CREATE DATABASE IF NOT EXISTS wordpress_db;
CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'wp_password';
GRANT ALL PRIVILEGES ON wordpress_db.* TO 'wp_user'@'localhost';
--
--> When running it, it showing 
me the error #1396 - Operation CREATE USER failed for 'wp_user'@'localhost' 

*Can you guys plz help me out to recover this problem? I already have tried 
**mysql> flush privileges; tricks. but no outcome :(*

Thanks in advance for your time and attention.

-- 
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/groups/opt_out.


[google-appengine] Google CCS Server implementation for GCM (Google Cloud Messaging)

2013-08-14 Thread Amit Sangani
I took the first shot at implementing the new GCM CCS server on GAE using
the Smack library for XMPP. Here is more documentation -
https://developer.android.com/google/gcm/ccs.html

However, I got below exceptions. I do have smack.jar, smackx.jar in
WEB-INF/lib directory (although only smack.jar is required).

[s~mighty-app/0-58.369479717923256319].: Error! A startup
class specified in smack-config.xml could not be loaded:
org.jivesoftware.smackx.LastActivityManager

[s~mighty-app/0-58.369479717923256319].: Error! A startup
class specified in smack-config.xml could not be loaded:
org.jivesoftware.smackx.commands.AdHocCommandManager

Error for /client
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a
restricted class. Please see the Google App Engine developer's guide
for more details.
at 
com.google.appengine.runtime.Request.process-0046d50b9de5cb22(Request.java)
at javax.naming.InitialContext.(InitialContext.java)
at 
org.jivesoftware.smack.util.dns.JavaxResolver.(JavaxResolver.java:45)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:111)
at 
org.jivesoftware.smack.SmackConfiguration.parseClassToLoad(SmackConfiguration.java:335)
at 
org.jivesoftware.smack.SmackConfiguration.(SmackConfiguration.java:95)
at org.jivesoftware.smack.Connection.(Connection.java:125)
at 
org.jivesoftware.smack.ConnectionConfiguration.(ConnectionConfiguration.java:78)
at com.xmpp.test.GcmXmppSender.connect(GcmXmppSender.java:243)

...

On further investigation, I found that XMMP client implementation on
GAE server requires a socket to be opened. There is a way to open a
socket from GAE using Open Socket API -
https://developers.google.com/appengine/docs/python/sockets/overview

However my question is, do we need to implement XMPP client library
from scratch? Or has anybody used a XMPP client library on GAE server
successfully?

I am sure lot of developers are interested in this answer.

-- 
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/groups/opt_out.


[google-appengine] Administrator Account Disabled

2012-10-11 Thread Amit Alone
My GAE administrator account has been disabled.
Its a google account and just says account has been disabled. It was 
working for me from more than a month and suddenly stopped working.

How do I reactivate my admin account or disable billing for GAE ? 

I have tried clearing CAPTCHA but it does not work, account is still 
suspended.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aOf7u6KqHCoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: 500s from appstats filter

2012-09-30 Thread Amit Sangani
We are seeing similar exceptions in our logs when appstats are enabled. Did 
anyone find a way to resolve this?

On Saturday, March 24, 2012 9:37:16 AM UTC-7, Carter wrote:
>
> We are getting 500s due to uncaught ApiDeadlineExceededException in the 
> appstats filter for Java.
>
> Is there a way to handle these beyond turning off appstats?
>
> 2012-03-24 09:16:49.137
>
> Uncaught exception from servlet
> com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call 
> memcache.Set() took too long to respond and was cancelled.
>   at 
> com.google.apphosting.runtime.ApiProxyImpl$3.createDeadlineException(ApiProxyImpl.java:318)
>   at 
> com.google.appengine.tools.development.TimedFuture.get(TimedFuture.java:44)
>   at 
> com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
>   at 
> com.google.appengine.tools.appstats.RecordingFuture.get(RecordingFuture.java:99)
>   at 
> com.google.appengine.tools.appstats.Recorder.processRecordingFuture(Recorder.java:418)
>   at 
> com.google.appengine.tools.appstats.Recorder.processAsyncRpc(Recorder.java:391)
>   at 
> com.google.appengine.tools.appstats.RecordingFuture.maybeRecordStats(RecordingFuture.java:131)
>   at 
> com.google.appengine.tools.appstats.RecordingFuture.get(RecordingFuture.java:101)
>   at 
> com.google.appengine.tools.appstats.RecordingFuture$ExtendedFuture.get(RecordingFuture.java:44)
>   at 
> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:90)
>   at 
> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:90)
>   at 
> com.google.appengine.api.memcache.MemcacheServiceImpl.quietGet(MemcacheServiceImpl.java:28)
>   at 
> com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java:112)
>   at 
> com.google.appengine.tools.appstats.MemcacheWriter.persist(MemcacheWriter.java:247)
>   at 
> com.google.appengine.tools.appstats.MemcacheWriter.commit(MemcacheWriter.java:168)
>   at 
> com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java:151)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:102)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>   at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>   at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>   at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>   at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>   at 
> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:249)
>   at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>   at org.mortbay.jetty.Server.handle(Server.java:326)
>   at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>   at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
>   at 
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
>   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>   at 
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
>   at 
> com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:446)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455)
>   at com.google.tracing.TraceContext.runInContext(TraceContext.java:695)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333)
>   at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325)
>   at 
> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453)
>   at 
> com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
>   at java.lang.Thread.run(Thread.java:679)
>
>

-- 
You received this message because you are subscribed to the Google Groups

[google-appengine] Re: What to do if you have problems signing up for an App Engine account

2012-08-06 Thread Garima Amit Agarwal
Thanks Amy. I got a response on sms_issue email and now issue is resolved.

On Friday, August 3, 2012 12:45:48 AM UTC-4, Garima Amit Agarwal wrote:
>
> Hello Amy,
>   I have tried many times to send sms to my mobile number but haven't 
> received any yet and my phone is receiving other sms perfectly. Now as I 
> have tried multiple times so now I am getting error 'too many sms smg 
> sent'. I also tried to use 'sms_issues' link but no reply on that so far. 
> Kindly help.
>
> Thanks,
> Amit
>
> On Thursday, April 26, 2012 3:10:10 AM UTC-4, Amy Unruh wrote:
>>
>> We often get questions on this list about how to sign up for an App 
>> Engine Account in the case where you are not able to receive SMS messages, 
>> or if you don't have a mobile phone.  If you have those or similar issues, 
>> then as described here:
>>   https://developers.google.com/appengine/kb/sms#error
>> you can fill out a form:
>>  https://appengine.google.com/waitlist/sms_issues
>> which will put you on a list to receive an invitation.  (Note that this 
>> list is not processed automatically, so there can sometimes be a few days' 
>> delay).
>>
>>   -Amy
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/R45lwY-Q7bEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: What to do if you have problems signing up for an App Engine account

2012-08-02 Thread Garima Amit Agarwal
Hello Amy,
  I have tried many times to send sms to my mobile number but haven't 
received any yet and my phone is receiving other sms perfectly. Now as I 
have tried multiple times so now I am getting error 'too many sms smg 
sent'. I also tried to use 'sms_issues' link but no reply on that so far. 
Kindly help.

Thanks,
Amit

On Thursday, April 26, 2012 3:10:10 AM UTC-4, Amy Unruh wrote:
>
> We often get questions on this list about how to sign up for an App Engine 
> Account in the case where you are not able to receive SMS messages, or if 
> you don't have a mobile phone.  If you have those or similar issues, then 
> as described here:
>   https://developers.google.com/appengine/kb/sms#error
> you can fill out a form:
>  https://appengine.google.com/waitlist/sms_issues
> which will put you on a list to receive an invitation.  (Note that this 
> list is not processed automatically, so there can sometimes be a few days' 
> delay).
>
>   -Amy
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/MrL9fj65phEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-12 Thread Amit Sangani
Hi Ikan,

We wouldn't mind moving to HRD from M/S, but isn't it 3X more expensive?

Also, what's the minimal way to impact our users when datastore is in 
read-only mode during downtimes? Consider that every action our users take 
involves writing to a datastore. Will using memcache help? Will memcache be 
available without interruption during datastore downtime?

thanks!
Amit

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/MooASjwFQ28J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-10 Thread Amit Sangani
appid: textyserver

Still getting lots of exceptions, mainly:

1) com.google.apphosting.runtime.HardDeadlineExceededError exceptions, 
2) Failed startup of context 
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext
3) javax.jdo.JDOException: Transaction failed to commit at 
org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:419)
 
at 
org.datanucleus.jdo.JDOPersistenceManager.close(JDOPersistenceManager.java:281) 

Status page is saying everything is normal - 
http://code.google.com/status/appengine which does not seem true.

Please let us know if you need more information. 

thanks!
Amit

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8NS6YYPFVtkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Lots of HTTP 500 errors and all instances restarted by GAE!

2012-03-10 Thread Amit Sangani
appid: textyserver

Getting lots of:

1) com.google.apphosting.runtime.HardDeadlineExceededError exceptions, 
2) Failed startup of context 
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext
3) javax.jdo.JDOException: Transaction failed to commit at 
org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:419)
 
at 
org.datanucleus.jdo.JDOPersistenceManager.close(JDOPersistenceManager.java:281) 

Status page is saying everything is normal - 
http://code.google.com/status/appengine which does not seem true.

Please let us know if you need more information. 

-Amit



>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/m8rCEtBWbCkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: 500 errors + high latency + please communicate with us

2012-03-10 Thread Amit Sangani
Hi Ikai & Google team,

Getting lots of 500s like others have experienced. Now mainly getting 
DatastoreTimeoutException...

com.google.appengine.api.datastore.DatastoreTimeoutException: 
at 
com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:46)
at 
com.google.appengine.api.datastore.DatastoreApiHelper$1.convertException(DatastoreApiHelper.java:76)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:106)
at 
com.google.appengine.api.datastore.FutureHelper$CumulativeAggregateFuture.get(FutureHelper.java:145)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:90)
at 
com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:72)
at 
com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:33)
at 
com.google.appengine.api.datastore.DatastoreServiceImpl$2.runInternal(DatastoreServiceImpl.java:113)
at 
com.google.appengine.api.datastore.DatastoreServiceImpl$2.runInternal(DatastoreServiceImpl.java:110)
at 
com.google.appengine.api.datastore.TransactionRunner.runInTransaction(TransactionRunner.java:31)
at 
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:110)
at 
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:94)


Please fix it as this has been going on for last 48 hours. thanks!

-Amit
appid: textyserver

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/oMDdQnGFmJYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-09 Thread Amit Sangani
Any update on this? Still seeing many errors & exceptions in the logs.

On Fri, Mar 9, 2012 at 4:18 PM, John  wrote:

> My app is responding, again.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/pJUdXZmD8uwJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Outages?

2012-03-09 Thread Amit Sangani
textyserver is on master/slave.

On Fri, Mar 9, 2012 at 2:07 PM, Ikai Lan (Google)  wrote:

> I forgot to ask if these were master/slave or high replication apps. I can
> always check by going to the admin console, but I'm hoping to separate them
> out.
>
> We're looking into the HR apps first (one I figure out which is which).
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
> On Fri, Mar 9, 2012 at 1:53 PM, Amit Sangani wrote:
>
>> Also now getting below exceptions -
>>
>> java.lang.ExceptionInInitializerError
>> at
>> org.datanucleus.jdo.metadata.JDOAnnotationReader.processClassAnnotations(JDOAnnotationReader.java:140)
>>  at
>> org.datanucleus.metadata.annotations.AbstractAnnotationReader.getMetaDataForClass(AbstractAnnotationReader.java:122)
>>  at
>> org.datanucleus.metadata.annotations.AnnotationManagerImpl.getMetaDataForClass(AnnotationManagerImpl.java:136)
>> at
>> org.datanucleus.metadata.MetaDataManager.loadAnnotationsForClass(MetaDataManager.java:2278)
>>  at
>> org.datanucleus.jdo.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java:369)
>> at
>> org.datanucleus.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:1125)
>>  at
>> org.datanucleus.store.appengine.EntityUtils.idToInternalKey(EntityUtils.java:122)
>> at
>> org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.getObjectById(DatastoreJDOPersistenceManager.java:63)
>>
>> com.google.apphosting.runtime.HardDeadlineExceededError: This request
>> (a9a7135b6a5f023e) started at 2012/03/09 21:37:22.971 UTC and was still
>> executing at 2012/03/09 21:38:22.911 UTC.
>>  at
>> org.datanucleus.store.appengine.DatastoreManager.getDatastoreClass(DatastoreManager.java:765)
>> at
>> org.datanucleus.store.appengine.DatastoreManager.getDatastoreClass(DatastoreManager.java:88)
>>  at
>> org.datanucleus.store.appengine.EntityUtils.determineKind(EntityUtils.java:98)
>> at
>> org.datanucleus.store.appengine.EntityUtils.determineKind(EntityUtils.java:94)
>>  at
>> org.datanucleus.store.appengine.EntityUtils.idToInternalKey(EntityUtils.java:124)
>>  com.google.apphosting.api.DeadlineExceededException: This request
>> (34c3e1d5cfc6d211) started at 2012/03/09 21:36:34.867 UTC and was still
>> executing at 2012/03/09 21:37:34.367 UTC.
>>  at
>> com.google.appengine.runtime.Request.process-34c3e1d5cfc6d211(Request.java)
>> at java.util.zip.ZipFile.read(Native Method)
>>  at java.util.zip.ZipFile.access$1200(ZipFile.java:57)
>> at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:476)
>>  at java.util.zip.ZipFile$1.fill(ZipFile.java:259)
>> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
>>  at java.io.FilterInputStream.read(FilterInputStream.java:133)
>> at java.io.FilterInputStream.read(FilterInputStream.java:107)
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



  1   2   >