Re: [google-appengine] Re: Task queue not executing tasks / backlogged

2019-05-28 Thread 'Ying Li' via Google App Engine
For production issue, please post a proper report on our Public Issue 
Tracker [1] so we can investigate into it. Google Groups is generally used 
for simple product inquires and discussion and not actual issue reports, 
thanks.

[1] 
https://cloud.google.com/support/docs/issue-trackers#search_for_or_create_bugs_and_feature_requests_by_product

On Friday, May 24, 2019 at 4:52:15 PM UTC-4, Alan Gregg wrote:
>
> I find this and I struggle to upload things usually because memory wont 
> let me put through things.
>
> Yet you have places saying you can upload and make apps with very little 
> memory and storage.
>
>
>
> On Fri, 24 May 2019, 21:30 Asim Pereira,  wrote:
>
>> I know this issue was raised years ago, but I am facing the exact issue 
>> since quite many months.
>> I have tried various queue configurations, different instance classes, 
>> memory optimization but to no avail.
>> I even broke my backend and move a part of it to Frontend and Queues, but 
>> even the Queues backed by frontend stalls (apart from the backend)
>>
>> What solution worked for you guys?
>>
>> On Tuesday, May 10, 2016 at 12:24:33 PM UTC+5:30, Hugo Visser wrote:
>>>
>>> Since last night or so I'm seeing this issue where tasks are being 
>>> queued up for some time and not being executed on an app that has been 
>>> running like this for quite a while. This results in a huge pile of tasks 
>>> that get backlogged for my app.
>>>
>>> Cloud status dashboard says everything is OK. Anyone else seeing this?
>>>
>>> Hugo
>>>
>> -- 
>> 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/d66b56dc-5e5f-4336-bdb9-688a7afc9589%40googlegroups.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/ef8b59a3-43ce-4030-95bf-a2aa73f12d9d%40googlegroups.com.


[google-appengine] Re: Twilio 1:1 video call

2019-05-24 Thread 'Ying Li' via Google App Engine
This is unfortunately not related to Google App Engine. You can get help 
for your Android development on Stackoverflow.com
 
On Friday, May 17, 2019 at 12:46:32 PM UTC-4, Abdul Rahman wrote:
>
> I want to implement video cal in my Android app using twilio , I've 
> understood the scenario of making call through twilio , the question is 
> How could i send room name to other device using fire-base?? Any help 
> would be appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1ddfaea4-4c25-4571-92a8-d476f8cc9f57%40googlegroups.com.


[google-appengine] Re: Mapping one to many, and many to many in DataStore for Java

2019-05-24 Thread 'Ying Li' via Google App Engine
The only example we have is with Python as you stated [1], in java you can 
try embedded entities [2] and see if that suits your need. However if you 
need java code samples, the best place to look would be Stackoverflow.com

[1] https://cloud.google.com/appengine/articles/modeling#one-to-many

[2] 
https://cloud.google.com/appengine/docs/standard/java/datastore/entity-property-reference#embedded_entities

On Friday, May 17, 2019 at 3:42:22 AM UTC-4, tonycavanagh1929 wrote:
>
> Hi. 
>
> The only documentation, I have found on this subject is for Python only.  
> What I have done, where I have a one to many mapping Type to Fields.
>  I have created a List of Field Ids, which I store in my Type Entity and 
> then created, a Field Entities. 
> When I extract a Type, it puls out the list and them for each fieldId pull 
> out a field Entity. This allows me to do all CRUD on both Type and Field in 
> a simple manner.
>
> The only other way I can think of doing this is storing each field Entity 
> in a List as a Embedded Enity , and then storing the list in Type Entity. I 
> can see this become a very big object. as in reality an Object will have a  
> number of one to many , and many to many relationships.
>
> Are there other soultions I am 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cbaed1e5-fd9f-437e-9c8c-c9003c2860a7%40googlegroups.com.


[google-appengine] Re: How to file an official bug report?

2019-05-23 Thread 'Ying Li' via Google App Engine
Hey Christopher,

You can report your bug in the issue tracker like you said, please select 
the App Engine link as indicated here in the article [1], thanks.

[1] https://cloud.google.com/support/docs/issue-trackers#bug_reports

On Wednesday, May 22, 2019 at 6:41:17 PM UTC-4, Christopher Russell wrote:
>
> Nobody seems to know much about my question regarding ETag HTTP header 
> stripping during App Engine flex environment tranpilation (gzip) of a 
> resource. (
>
> But, to me this seems like an easily reproducible bug. Does anyone know 
> how to file an actual bug? The link to the Issue Tracker above (
> http://issuetracker.google.com/) isn't obviously useful without specific 
> post permissions and knowledge of Google's component ID's? Has anyone had 
> any luck getting a bug report filed?
>
> Thanks, Chris
>
>

-- 
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/f4a2db54-cafd-43b0-bbd8-89e80beffd46%40googlegroups.com.


Re: [google-appengine] Re: GAE Logger triggers StackOverflowError

2018-11-04 Thread 'Ying Li' via Google App Engine
Hello Joshua,

Unfortunately, there is no statistic on average fix time for Public Issue 
tracker issues; even if there is, it would be relatively meaningless 
because of the high variance. You can probably find year old bugs due to 
high complexity and low priority and you can probably find bugs that are 
closed within a week due to high impact. If you have particular inquires 
regarding the ETA, you could ask on the PIT. It's possible that engineering 
can provide you with an ETA if the issue is close to resolution.

If you have further information to provide, it's best to provide them in 
the Public Issue tracker, thanks.

On Sunday, November 4, 2018 at 5:52:50 AM UTC-5, Joshua Fox wrote:
>
> > I would recommend you to file a bug on issue tracker by clicking here 
> 
>  
> so that we can end up forwarding it to our engineering team. 
>
>
> Done. Where can I see statistics for fixes for the issue tracker? It would 
> be good to know, statistically, the average time-to-fix for issues. > It 
> would be best if you could provide us with a reproducible sample or a 
> description of any specific action that you are taking that is resulting in 
> this error so that we can attempt to reproduce it. 
>
>
> This only occurs in production, I guess because there may be very large 
> log strings, with a specific content -- I don't know what, as these strings 
> are not logged  -- that breaks the Cloud Logging regex pattern.
>
>
> On Thu, Nov 1, 2018 at 11:00 PM 'Omair (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> Hi Joshua,
>>
>> I would recommend you to file a bug on issue tracker by clicking here 
>> 
>>  
>> so that we can end up forwarding it to our engineering team. It would be 
>> best if you could provide us with a reproducible sample or a description of 
>> any specific action that you are taking that is resulting in this error so 
>> that we can attempt to reproduce it. 
>>
>>
>> On Thursday, November 1, 2018 at 10:02:08 AM UTC-4, Joshua Fox wrote:
>>>
>>> GAE logger gets a StackOverflowError. We are not using any custom 
>>> formatters -- this is straight out-of-the-box AppEngine Standard 
>>> Environment.
>>>
>>> In fact, the log-line in question  is not even one that I generate. It 
>>> is in com.google.common.flogger.backend.system.AbstractBackend.
>>>
>>> It is known  that Java 
>>> regex can encounter StackOverflowError  but the GAE logger  should work 
>>> around this.
>>>
>>> This is appengine-api-1.0-sdk-1.9.65.
>>>
>>>
>>> java.lang.StackOverflowError
>>>   at java.util.regex.Pattern$CharProperty.match(Pattern.java:3776)
>>>   at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
>>>   at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
>>>   at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
>>>   at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
>>>   at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
>>>   at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
>>>   at java.util.regex.Pattern$Branch.match(Pattern.java:4602)
>>>   at java.util.regex.Pattern$Branch.match(Pattern.java:4602)
>>>   at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
>>>   at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
>>>   at java.util.regex.Pattern$Curly.match0(Pattern.java:4279)
>>>   at java.util.regex.Pattern$Curly.match(Pattern.java:4234)
>>>   at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
>>>   at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
>>>   at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
>>>   at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
>>>   at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
>>>   at java.util.regex.Pattern$Curly.match0(Pattern.java:4279)
>>>   at java.util.regex.Pattern$Curly.match(Pattern.java:4234)
>>>   at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
>>>   at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
>>>   at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3798)
>>>   at java.util.regex.Pattern$Start.match(Pattern.java:3461)
>>>   at java.util.regex.Matcher.search(Matcher.java:1367)
>>>   at java.util.regex.Matcher.find(Matcher.java:665)
>>>   at java.util.Formatter.parse(Formatter.java:2549)
>>>   at java.util.Formatter.format(Formatter.java:2501)
>>>   at java.util.Formatter.format(Formatter.java:2455)
>>>   at java.lang.String.format(String.java:2942)
>>>   at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:161)
>>>   at java.util.logging.StreamHandler.publish(StreamHandler.java:211)
>>>   at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:116)
>>>   at java.util.logging.Logger.log(Logger.java:738)
>>>   at 
>>> 

Re: [google-appengine] Re: GCP Setup

2018-11-03 Thread 'Ying Li' via Google App Engine
Hi Asad,

Please see Omair's original post that included a link to help you choose a 
product [1]. All the information you seek is there or can be derived from 
there. We can only provide very high level overviews and cannot design a 
best option for you. Judging what the limited information we have, I think 
you need to use App Engine Flex [2] and Cloud SQL [3]. We cannot directly 
port your app over, so you would need to check out the products and see 
which one suit your needs the best.

Thanks.

[1] 
https://cloud.google.com/blog/products/gcp/choosing-the-right-compute-option-in-gcp-a-decision-tree?hl=lo

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

[3] https://cloud.google.com/sql/docs/

On Friday, November 2, 2018 at 2:07:46 PM UTC-4, Asad Mahmood wrote:
>
> My application is already developed and deployed on GoDaddy server. I am 
> using VPS. 
>
> I am using the following technology stack
> Angular JS2, play framework, mysql and nginx for load balancing and ssl.
>
> Now I want to move to GCP. Please guide me what will be the core structure 
> of GCP works for me.
>
> Thanks.
>
>
> On Fri, 2 Nov 2018, 10:52 p.m. 'Omair (Cloud Platform Support)' via Google 
> App Engine 
>> Hi Asad,
>>
>> I would suggest you follow the below path:
>>
>>- 
>>
>>Read the comparison page for our various compute options here 
>>
>>- 
>>
>>And the blog article to help users choose the right product here 
>>
>> 
>>- 
>>
>>We have a free tier that you can use 
>>to learn more about our products
>>- 
>>
>>Once done with above, visit the documentation 
>> page. Click on the link of your 
>>desired programming language. In the “Learn more” section click on 
>>the “[Language] TUTORIALS AND SOLUTIONS” link and search for 
>>“Quick-starts”
>>
>>
>> On Friday, November 2, 2018 at 8:23:21 AM UTC-4, Asad Mahmood wrote:
>>>
>>> Hi All,
>>>
>>> I want to setup my applicaition in GCP. I am new in GCP platform. Anyone 
>>> please guide me how to setup and use 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/4bb0d571-fcad-421e-82db-05736eae23f0%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/b54429ce-b4a3-45a0-841f-741a272b5695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Unable to Restricting my endpoints with API Key in java

2018-08-30 Thread 'Ying Li' via Google App Engine
This is an actual bug and best reported on our Public Issue Tracker. I 
noticed that your Issue Tracker case was mistakenly closed but I have 
reopened it. I will assist you there.

On Wednesday, August 29, 2018 at 9:19:23 PM UTC-4, Azeem Haider wrote:
>
> I want that random internet traffic can't access it. I'm using cloud 
> endpoints v2 for java. My problem is that anyone can access these endpoints 
> method through API Explorer or from directly URL someone know. I want to 
> protect my endpoints. I read documentation how to restrict Whole API or 
> some methods by using API KEY. 
> https://cloud.google.com/endpoints/docs/frameworks/java/restricting-api-access-with-api-keys-frameworks
>  
>
> Here is what I'm trying.
>
> @Api(
> name = "zeem",
> version = "v1"
> )
>
> public class Account {
> @ApiMethod(name = "getRegistration", path = "getRegistration", 
> apiKeyRequired = AnnotationBoolean.TRUE)
> public Registered getRegistration(@Named("phone") Long phone){
>   // code 
> }
>
> I can run this method without any API key from API Explorer and it is 
> working successfully.
> Even I try it to access this method directly from url its also working. 
>  Successfully returning the correct data.
>
> I'm adding API management Here how openapi.json look like for this 
> function.
>
> "/zeem/v1/getRegistration": {
>"get": {
> "operationId": "ZeemGetRegistration",
> "parameters": [
>  {
>   "name": "phone",
>   "in": "query",
>   "required": true,
>   "type": "integer",
>   "format": "int64"
>  }
> ],
> "responses": {
>  "200": {
>   "description": "A successful response",
>   "schema": {
>"$ref": "#/definitions/Registered"
>   }
>  }
> },
> "security": [
>  {
>   "api_key": [ ]
>  }
> ]
>}
>   },
>
> See the below image how Endpoint services look like in GCP console.
>
> [image: endpoint.PNG]
>
>
> Here is my Web.xml.
>
> 
> 
> 
> 
> http://xmlns.jcp.org/xml/ns/javaee 
> 
> "
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> 
> "
>  xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
> 
>  http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd 
> 
> "
>  version="3.1">
>
>   
> welcome
>   
>
>   
>   
> ObjectifyFilter
> com.googlecode.objectify.ObjectifyFilter
>   
> 
> ObjectifyFilter
> /*
> 
>
>   
>   
> EndpointsServlet
> com.google.api.server.spi.EndpointsServlet
> 
> 
> services
> 
> org.octabyte.zeem.API.Account,
> org.octabyte.zeem.API.CommentApi,
> org.octabyte.zeem.API.FriendApi,
> org.octabyte.zeem.API.ListApi,
> org.octabyte.zeem.API.PostApi,
> org.octabyte.zeem.API.SearchApi,
> org.octabyte.zeem.API.UserApi,
> org.octabyte.zeem.API.StoryApi
> 
> 
> 
> 
> 
> EndpointsServlet
> /_ah/api/*
> 
>
>
> 
> 
> admin
> 
> 
> 
> admin
> /*
> 
> 
> admin
> 
> 
>
> 
>
> And Here is how my pom.xml look like.
>
> 
> 
> 4.0.0
> war
> 1.0-SNAPSHOT
> com.azeem.endpoint
> endpoint
>
>
> 
> 
> 
> 5.1.5
> 19.0
>
> 
> 2.0.8
> 
> 1.0.4
> 
>  
> >my-profect-id 
> >
>
> 1.8
> 1.8
> 
> 
>
> 
>
> 
> 
> com.google.firebase
> firebase-admin
> 6.2.0
> 
> 
>
> 
> 
> de.alpharogroup
> jgeohash-core
> 2.4.0
> 
> 
>
> 
> 
> com.google.guava
> guava
> ${guava.version}
> 
> 
> com.googlecode.objectify
> objectify
> 

[google-appengine] Re: Locked account

2018-08-28 Thread 'Ying Li' via Google App Engine
If the issue is about your gmail account access, please see your options 
for gmail support [1]. If this is not about gmail (you can login normally), 
but rather your Google Cloud Platform project is disabled for abuse, then 
please continue your communication via the email because that's the best 
way to get your project re-enabled.

[1] https://support.google.com/mail/?hl=en#topic=7065107

On Wednesday, August 22, 2018 at 9:00:17 AM UTC-4, javanna burrell wrote:
>
> Please help my account been locked for j2pre...@gmail.com I was told I 
> will receive a email to this account 3-5 business days I haven’t receive 
> anything yet 

-- 
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/877fc91e-9de8-40a9-ae21-51d23d52a9f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Locked account

2018-08-22 Thread 'Ying Li' via Google App Engine
Could you clarify what you mean? Is your Google Cloud Platform project 
locked (closed) or is it your general gmail account (can't access your 
email)?

On Wednesday, August 22, 2018 at 9:00:17 AM UTC-4, javanna burrell wrote:
>
> Please help my account been locked for j2pr...@gmail.com  I 
> was told I will receive a email to this account 3-5 business days I haven’t 
> receive anything yet 

-- 
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/4aa3cdfe-2338-463d-bf08-b3effc50b57c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.