[google-appengine] Re: why i am not able to connect VM instances via ssl?

2018-10-24 Thread 'Jorge A (Google Cloud Support)' via Google App Engine
Are you trying to connect to an instance itself or your app via SSL?
Please check this document 
 for 
more information on the setup, and then verify it. 
If you meant that you can't connect via SSH, then please check if the 
instance is up and running in the Console and check this tutorial 
 

On Wednesday, October 24, 2018 at 5:03:34 AM UTC-4, SiddhartH SolankI wrote:
>
>
> Hello!
>
> My whole site is down and i am not even able to connect VM instances via 
> ssl
>
> What can be done now?
>

-- 
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/f2c89009-a9e3-4b2a-bdbb-d58278d0a7a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Why Is Runtime PHP 7.0.30 Not 7.2??

2018-10-24 Thread ihsan berahim
after you done 'gcloud app deploy'

1) Go ssh your service instance
2) then type 'docker ps' and copy the first instance id (normally)
3) then type 'docker exec -it  bash'

i have no issue deploying a lot PHP micro services on GAE. Chill bro.

On Tuesday, October 23, 2018 at 9:08:18 PM UTC+8, We Are Vitall wrote:
>
> Deploying my app is driving me crazy, getting composer errors due to 
> needing latest php version.
>
> So I have stripped it right back to the following to troubleshoot & still 
> getting this problem:
>
> In empty /home directory
> Put the app.yaml - with just the following in it
> runtime: php72
>
>
> Then run:  gcloud app deploy
>
> Check version in console:  Version 20181023t105100  Serving runtime php72
>
> But when I run php -i in console:
> PHP Version => 7.0.30-0+deb9u1
>
>
> WTF?!!
>
>
>

-- 
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/cfe14b2e-c05c-4b88-b7cc-cfb3dbf7fa1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to resolve the hibernate connection issue

2018-10-24 Thread BestBuy Holidays
Below is the error when I tried to connect to google cloud sql using JPA + 
Hibernate



http://java.sun.com/xml/ns/persistence; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 

xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd;>



org.hibernate.jpa.HibernatePersistenceProvider



 
































org.hibernate.service.spi.ServiceException: Unable to create requested 
service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

   1. 
  1. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.createService (
  AbstractServiceRegistryImpl.java:271)
  2. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:233)
  3. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  4. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure (
  JdbcServicesImpl.java:51)
  5. at org.hibernate.boot.registry.internal.
  StandardServiceRegistryImpl.configureService (
  StandardServiceRegistryImpl.java:94)
  6. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:242)
  7. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  8. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.handleTypes (MetadataBuildingProcess.java:352)
  9. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.complete (MetadataBuildingProcess.java:111)
  10. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.metadata (
  EntityManagerFactoryBuilderImpl.java:861)
  11. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.build (
  EntityManagerFactoryBuilderImpl.java:888)
  12. at org.hibernate.jpa.
  HibernatePersistenceProvider.createEntityManagerFactory (
  HibernatePersistenceProvider.java:58)
  13. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:55)
  14. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:39)
   

-- 
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/f6673afe-25e1-4982-9066-6bceba7952a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Clarifying App Engine, custom VPCs, and VPNs

2018-10-24 Thread Mark Drummond
Hello everyone. I am trying to understand the interaction of App Engine 
apps, custom VPCs, and VPNs. After much googling and document reading I 
still don't have a clear picture here.

   1. Can an App Engine Flexible app use a custom VPC?
   2. Can an App Engine Flexible app use a shared VPC defined in another 
   project?
   3. Can an App Engine Flexible app use a Cloud VPN connection?
   4. Can an App Engine Flexible app use a Cloud VPN connection set up in 
   another project?
  1. If so, is that implemented with a shared VPC or peered VPCs?
   
As you might guess, I'm wondering whether my App Engine Flexible apps can 
communicate back to our head office over VPN, and if so how that is 
implemented. Initial thought was peered VPCs to a VPC that has an attached 
VPN but I found at least one note indicating that is not possible. Next 
thought was a shared VPC but found at least one note that said that would 
not work either (specifically with App Engine).

- Mark

-- 
The content of this message is subject to our e-mail confidentiality 
policy.  
Le contenu de 
ce message est assujetti à notre politique en matière de confidentialité 
des courriels. 

-- 
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/796875ef-1ccf-4af8-a985-57da86155e00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

2018-10-24 Thread BestBuy Holidays
I am getting this error when I try to connect to google cloud sql from JPA 
+ Hibernate. The configuration is



http://java.sun.com/xml/ns/persistence; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 

xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd;>



org.hibernate.jpa.HibernatePersistenceProvider



 































Org.hibernate.service.spi.ServiceException: Unable to create requested 
service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

   1. 
  1. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.createService (
  AbstractServiceRegistryImpl.java:271)
  2. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:233)
  3. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  4. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure (
  JdbcServicesImpl.java:51)
  5. at org.hibernate.boot.registry.internal.
  StandardServiceRegistryImpl.configureService (
  StandardServiceRegistryImpl.java:94)
  6. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:242)
  7. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  8. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.handleTypes (MetadataBuildingProcess.java:352)
  9. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.complete (MetadataBuildingProcess.java:111)
  10. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.metadata (
  EntityManagerFactoryBuilderImpl.java:861)
  11. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.build (
  EntityManagerFactoryBuilderImpl.java:888)
  12. at org.hibernate.jpa.
  HibernatePersistenceProvider.createEntityManagerFactory (
  HibernatePersistenceProvider.java:58)
  13. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:55)
  14. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:39)
   

-- 
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/1b197d7f-9446-403f-87c9-84579aebeed9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

2018-10-24 Thread BestBuy Holidays
Below is the exception the program throws when I tried to connect to GCS 
from GAE.

The hibernate settings are 



http://java.sun.com/xml/ns/persistence; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 

xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd;>



org.hibernate.jpa.HibernatePersistenceProvider



 





























org.hibernate.service.spi.ServiceException: Unable to create requested 
service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

   1. 
  1. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.createService (
  AbstractServiceRegistryImpl.java:271)
  2. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:233)
  3. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  4. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure (
  JdbcServicesImpl.java:51)
  5. at org.hibernate.boot.registry.internal.
  StandardServiceRegistryImpl.configureService (
  StandardServiceRegistryImpl.java:94)
  6. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.initializeService (
  AbstractServiceRegistryImpl.java:242)
  7. at org.hibernate.service.internal.
  AbstractServiceRegistryImpl.getService (
  AbstractServiceRegistryImpl.java:210)
  8. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.handleTypes (MetadataBuildingProcess.java:352)
  9. at org.hibernate.boot.model.process.spi.
  MetadataBuildingProcess.complete (MetadataBuildingProcess.java:111)
  10. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.metadata (
  EntityManagerFactoryBuilderImpl.java:861)
  11. at org.hibernate.jpa.boot.internal.
  EntityManagerFactoryBuilderImpl.build (
  EntityManagerFactoryBuilderImpl.java:888)
  12. at org.hibernate.jpa.
  HibernatePersistenceProvider.createEntityManagerFactory (
  HibernatePersistenceProvider.java:58)
  13. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:55)
  14. at javax.persistence.Persistence.createEntityManagerFactory (
  Persistence.java:39)
   2. My 

-- 
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/ca663e4b-a035-41b1-9153-f5bb47bd1019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Why Is Runtime PHP 7.0.30 Not 7.2??

2018-10-24 Thread 'Aref Amiri (Cloud Platform Support)' via Google App Engine
By running the php -i command in your Google Cloud Console, this will only 
display the information related to the php version running on the Google 
Cloud Shell, which is basically the command line environment for your Cloud 
Console. Once the application is deployed, it will be deployed to your 
instances and that's where you specify the runtime environment of your 
application in your configuration file, which in this case is php72.

-- 
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/a0ce07f0-2621-48c2-aaf6-cda6e09807d4%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-24 Thread Ky Nguyen
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/CAC9Jb4dnOdNEYHX4uPCQxCgvWJYHRCK6udbKkOXM70UE_QAefw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Structured logging in Java standard enviornment

2018-10-24 Thread Kishu Agarwal
I want to log json data in my logs. I have tried the steps mentioned here 

 but 
still when I see my logs, all the log statements done using Logging doesn't 
show up there.

Any 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/0b69838c-186d-4d47-9afe-572df7fcea6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] why i am not able to connect VM instances via ssl?

2018-10-24 Thread SiddhartH SolankI

Hello!

My whole site is down and i am not even able to connect VM instances via ssl

What can be done now?

-- 
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/bdf336fb-9009-4ad4-b866-cad693a8cc11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Multiple Invocation of the Mail Handler for the Same Email

2018-10-24 Thread Dzhovani Chemishanov

Hello Mohamed,

  It is 99% the receiving mail service, but I decided to gather other 
opinions first.


Regards,

Dzhovani


On 10/24/2018 4:37 AM, 'Mohammad I (Cloud Platform Support)' via Google 
App Engine wrote:


Hello,


OP's original issue appears to be related to Receiving Mail with the 
Mail API 
, 
but it's impossible to tell without more detailed troubleshooting.



What's needed for anybody who would want to report an issue, is to use 
the issue tracker 
rather than 
google groups. This forum is meant for general discussion of the 
platform, not specific technical issues. If it is required to share 
any private or project specific information please choose the 
“Private” component so that the information are not visible to the 
public.



If you believe that what you've encountered is not a platform issue 
but rather a problem with how you've configured your code, although 
you're not sure what it may be specifically, you should post to 
stackoverflow .



In either case, posting an issue so that other users can help requires 
very thorough explanation of what you're doing and what's going wrong 
before the people on the other side of the internet will be able to 
understand and debug your issue.


I wish you the best of luck in proceeding to either open a proper 
issue report in the public issue tracker, or posting to stackoverflow 
so that you can get support from the community of developers.



On Monday, October 22, 2018 at 7:18:20 AM UTC-4, Dzhovani Chemishanov 
wrote:


Hi all,

   Hour app engine project uses the mail service to receive
information.
However, quite often the mail handler is called two times for the
same
email. Just today it happened again and I've confirmed from the logs
that there were no issues when the handler was called for the first
time. Is this a known issue and is there a way for it to be
mitigated?

   Also, I have the suspicion that such things happen with the task
queue api as well but I'm yet to confirm that.

Regards,

Dzhovani


-- 
 Disclaimer 

This email and any files transmitted may
contain proprietary and confidential information of ICT Group N.V.
or any
of its subsidiaries like Strypes (“ICT”) and is intended only for
the (use
of the) named recipient(s) above. If you have received this
message in
error or are not the intended or named recipient(s) of this
message, please
immediately notify the sender by returning and deleting this email
message
from your computer. Any views or opinions presented are solely
those of its
author and do not necessarily represent those of Strypes or ICT.
You are
hereby notified that unauthorized disclosure, use, dissemination,
forwarding, printing or copying of this e-mail and its attachments
either
whole or partial of its contents is strictly prohibited. Strypes
or ICT
cannot guarantee that email communications are secure and
error-free and
does not accept any liability for damages resulting from the use
of email.
The general terms and conditions of purchase respectively sale and
delivery
of ICT are applicable to all transactions and undertakings resulting
therefrom.

--
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/fcd62fbb-df73-4e89-b7fb-73cd06a37d8c%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.



--
 Disclaimer 
This email and any files transmitted may 
contain proprietary and confidential information of ICT Group N.V. or any 
of its subsidiaries like Strypes (“ICT”) and is intended only for the (use 
of the) named recipient(s) above. If you have received this message in 
error or are not the intended or named recipient(s) of this message, please 
immediately notify the sender by returning and deleting this email message 
from your computer. Any views or opinions presented are solely those of its 
author and do not necessarily represent those of Strypes or ICT. You are 
hereby notified that unauthorized disclosure, use, dissemination, 
forwarding, printing