[google-appengine] Re: Brief Outage?
HTTP 503 is a specific indicator on GAE standard for appservers being too busy (not enough clones to serve the request). This is also known as pushback. You need to allow more clones, reduce traffic, stay under quota, or change your spending limit. On Tuesday, September 13, 2022 at 1:05:33 PM UTC-5 Joshua Smith wrote: > Just got this a few times for one of my AppEngine services (using the old > Python2.7 runtime): > > > It's cleared up now, and the cloud status dashboard shows all green checks. > > -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/0483ea43-1ed5-4850-a284-78e4dfd25cffn%40googlegroups.com.
[google-appengine] Re: Local Development server when opening "Datastore Viewer"
Thank you very much =D! 340.0.0 worked indeed, On Wednesday, August 31, 2022 at 2:37:59 PM UTC+2 limin...@gmail.com wrote: > Had the same issue, but ver. 340.0.0 was proved fine. > > On Tuesday, August 16, 2022 at 12:37:15 AM UTC+9 khaled@gmail.com > wrote: > >> So I moved to ver. 270.0.0 indeed the problem has gone, which indicates >> that there was some string/unicode/ascii related update along the way that >> may have broken its ability to handle Unicode characters. I also tried >> versions 396, 383, 380 all had the same problem and error output. >> >> If someone can look into this so that we can work with the latest Google >> Cloud CLI versions, it would be great! >> >> Have a nice day, >> Khaled >> >> On Friday, August 12, 2022 at 11:56:30 PM UTC+2 Khaled Wagdy wrote: >> >>> Hello, >>> >>> I am using Python 2.7 on AppEngine and Datastore. I moved my code & test >>> database file to another laptop, I also made a fresh install of gcloud >>> components, currently at version 397.0.0. >>> >>> Ever since then, trying to access local datastore viewer " >>> http://localhost:8000/datastore?kind=" from the browser causes as >>> ascii error as seen in the screenshot below and server output. I have some >>> Arabic content in the DB, but on the old laptop which was running an old >>> gcloud components version (270.0.0) there was no problem browsing through >>> the entities. >>> >>> I will try to install the old version 270.0.0 using the command *gcloud >>> components update --version 270.0.0* and see if that resolves it. But I >>> would think working on the latest version is best in case something can be >>> fixed to resolve this matter. >>> >>> Has there been a breaking update in the local development server and/or >>> datastore emulator that might have been causing this issue? Is there a way >>> around this ascii error to be able to browse through the local DB entities >>> without problems? This is important during debugging, and can save a lot of >>> time. >>> >>> [image: Screen Shot 2022-08-12 at 18.02.18.png]ERROR2022-08-12 >>> 16:05:04,764 webapp2.py:1553] 'ascii' codec can't encode characters in >>> position 0-3: ordinal not in range(128) >>> Traceback (most recent call last): >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 1536, in __call__ >>> rv = self.handle_exception(request, response, e) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 1530, in __call__ >>> rv = self.router.dispatch(request, response) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 1278, in default_dispatcher >>> return route.handler_adapter(request, response) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 1102, in __call__ >>> return handler.dispatch() >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_request_handler.py", >>> >>> line 88, in dispatch >>> super(AdminRequestHandler, self).dispatch() >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 572, in dispatch >>> return self.handle_exception(e, self.app.debug) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >>> >>> line 570, in dispatch >>> return method(*args, **kwargs) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >>> >>> line 674, in get >>> start)) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >>> >>> line 625, in _get_entity_template_data >>> value = data_type.format(raw_value) >>> File >>> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >>> >>> line 200, in format >>> return str(value) >>> UnicodeEncodeError: 'ascii' codec can't encode characters in position >>> 0-3: ordinal not in range(128) >>> >>> Thank you, >>> Khaled >>> >> -- 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/6e84f58c-132e-458d-be3f-be901b64784fn%40googlegroups.com.
[google-appengine] Re: After deploying Django app in App Engine my website doesn't load
ur > custom model with the current spaCy version. For more details and available > updates, run: python -m spacy validate 2022-08-25 16:33:56 > default[20220825t175602] warnings.warn(warn_msg) 2022-08-25 16:34:10 > default[20220825t175602] Some weights of the model checkpoint at > camembert-base were not used when initializing CamembertModel: > ['lm_head.decoder.weight', 'lm_head.dense.bias', 'lm_head.layer_norm.bias', > 'lm_head.layer_norm.weight', 'lm_head.bias', 'lm_head.dense.weight']* > > What's weird is the app is running fine localy and also in the VM instance > created by the Google App Engine. > *runtime: python* > *env: flex* > *entrypoint: gunicorn -b :$PORT myteam.wsgi* > > *beta_settings:* > *cloud_sql_instances: sam-website-358409:europe-west9:sam-instance* > > *runtime_config:* > * python_version: 3.7* > > *threadsafe: true* > *manual_scaling:* > * instances: 2* > *network: {}* > > *resources:* > * cpu: 2* > * memory_gb: 10* > * disk_size_gb: 50* > *liveness_check:* > * initial_delay_sec: 300* > * check_interval_sec: 30* > * timeout_sec: 4* > * failure_threshold: 4* > * success_threshold: 2* > *readiness_check:* > * check_interval_sec: 5* > * timeout_sec: 4* > * failure_threshold: 2* > * success_threshold: 2* > * app_start_timeout_sec: 300* > > > I would really appreciate it if you have some clues to solve the problem. > > > -- 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/f663910b-ad48-4370-b20b-0be2225b5ff1n%40googlegroups.com.
[google-appengine] The website doesn't load after deploying Django app in Google Cloud App Engine
/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2022-08-25 16:33:52 default[20220825t175602] 2022-08-25 16:33:52.437933: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (0083c9528b79): /proc/driver/nvidia/version does not exist 2022-08-25 16:33:53 default[20220825t175602] /env/lib/python3.7/site-packages/spacy/util.py:865: UserWarning: [W095] Model 'fr_core_news_lg' (3.1.0) was trained with spaCy v3.1 and may not be 100% compatible with the current version (3.4.1). If you see errors or degraded performance, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate 2022-08-25 16:33:53 default[20220825t175602] warnings.warn(warn_msg) 2022-08-25 16:33:53 default[20220825t175602] 2022-08-25 16:33:53.266169: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2022-08-25 16:33:53 default[20220825t175602] 2022-08-25 16:33:53.266266: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698315: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698350: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698380: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (2e597b32f6d7): /proc/driver/nvidia/version does not exist 2022-08-25 16:33:56 default[20220825t175602] /env/lib/python3.7/site-packages/spacy/util.py:865: UserWarning: [W095] Model 'fr_core_news_lg' (3.1.0) was trained with spaCy v3.1 and may not be 100% compatible with the current version (3.4.1). If you see errors or degraded performance, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate 2022-08-25 16:33:56 default[20220825t175602] warnings.warn(warn_msg) 2022-08-25 16:34:10 default[20220825t175602] Some weights of the model checkpoint at camembert-base were not used when initializing CamembertModel: ['lm_head.decoder.weight', 'lm_head.dense.bias', 'lm_head.layer_norm.bias', 'lm_head.layer_norm.weight', 'lm_head.bias', 'lm_head.dense.weight'] The app is running fine localy and also in the VM instance created by the Google App Engine. Here is the content of the app.yaml file: runtime: python env: flex entrypoint: gunicorn -b :$PORT myteam.wsgi beta_settings: cloud_sql_instances: sam-website-358409:europe-west9:sam-instance runtime_config: python_version: 3.7 threadsafe: true manual_scaling: instances: 2 network: {} resources: cpu: 2 memory_gb: 10 disk_size_gb: 50 liveness_check: initial_delay_sec: 300 check_interval_sec: 30 timeout_sec: 4 failure_threshold: 4 success_threshold: 2 readiness_check: check_interval_sec: 5 timeout_sec: 4 failure_threshold: 2 success_threshold: 2 app_start_timeout_sec: 300 I would really appreciate it if you have some clues to solve the problem. -- 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/4d6836dc-36f7-4235-8db7-824efe1f5741n%40googlegroups.com.
[google-appengine] Re: Local Development server when opening "Datastore Viewer"
Had the same issue, but ver. 340.0.0 was proved fine. On Tuesday, August 16, 2022 at 12:37:15 AM UTC+9 khaled@gmail.com wrote: > So I moved to ver. 270.0.0 indeed the problem has gone, which indicates > that there was some string/unicode/ascii related update along the way that > may have broken its ability to handle Unicode characters. I also tried > versions 396, 383, 380 all had the same problem and error output. > > If someone can look into this so that we can work with the latest Google > Cloud CLI versions, it would be great! > > Have a nice day, > Khaled > > On Friday, August 12, 2022 at 11:56:30 PM UTC+2 Khaled Wagdy wrote: > >> Hello, >> >> I am using Python 2.7 on AppEngine and Datastore. I moved my code & test >> database file to another laptop, I also made a fresh install of gcloud >> components, currently at version 397.0.0. >> >> Ever since then, trying to access local datastore viewer " >> http://localhost:8000/datastore?kind=" from the browser causes as >> ascii error as seen in the screenshot below and server output. I have some >> Arabic content in the DB, but on the old laptop which was running an old >> gcloud components version (270.0.0) there was no problem browsing through >> the entities. >> >> I will try to install the old version 270.0.0 using the command *gcloud >> components update --version 270.0.0* and see if that resolves it. But I >> would think working on the latest version is best in case something can be >> fixed to resolve this matter. >> >> Has there been a breaking update in the local development server and/or >> datastore emulator that might have been causing this issue? Is there a way >> around this ascii error to be able to browse through the local DB entities >> without problems? This is important during debugging, and can save a lot of >> time. >> >> [image: Screen Shot 2022-08-12 at 18.02.18.png]ERROR2022-08-12 >> 16:05:04,764 webapp2.py:1553] 'ascii' codec can't encode characters in >> position 0-3: ordinal not in range(128) >> Traceback (most recent call last): >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1536, in __call__ >> rv = self.handle_exception(request, response, e) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1530, in __call__ >> rv = self.router.dispatch(request, response) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1278, in default_dispatcher >> return route.handler_adapter(request, response) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1102, in __call__ >> return handler.dispatch() >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_request_handler.py", >> >> line 88, in dispatch >> super(AdminRequestHandler, self).dispatch() >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 572, in dispatch >> return self.handle_exception(e, self.app.debug) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 570, in dispatch >> return method(*args, **kwargs) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 674, in get >> start)) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 625, in _get_entity_template_data >> value = data_type.format(raw_value) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 200, in format >> return str(value) >> UnicodeEncodeError: 'ascii' codec can't encode characters in position >> 0-3: ordinal not in range(128) >> >> Thank you, >> Khaled >> > -- 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/dbcb3642-a93f-4988-b786-1243441b19bfn%40googlegroups.com.
[google-appengine] After deploying Django app in App Engine my website doesn't load
[20220825t175602] [2022-08-25 16:33:51 +] [1] [WARNING] Worker with pid 132 was terminated due to signal 9 2022-08-25 16:33:51 default[20220825t175602] [2022-08-25 16:33:51 +] [144] [INFO] Booting worker with pid: 144 2022-08-25 16:33:52 default[20220825t175602] 2022-08-25 16:33:52.437860: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2022-08-25 16:33:52 default[20220825t175602] 2022-08-25 16:33:52.437899: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2022-08-25 16:33:52 default[20220825t175602] 2022-08-25 16:33:52.437933: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (0083c9528b79): /proc/driver/nvidia/version does not exist 2022-08-25 16:33:53 default[20220825t175602] /env/lib/python3.7/site-packages/spacy/util.py:865: UserWarning: [W095] Model 'fr_core_news_lg' (3.1.0) was trained with spaCy v3.1 and may not be 100% compatible with the current version (3.4.1). If you see errors or degraded performance, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate 2022-08-25 16:33:53 default[20220825t175602] warnings.warn(warn_msg) 2022-08-25 16:33:53 default[20220825t175602] 2022-08-25 16:33:53.266169: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2022-08-25 16:33:53 default[20220825t175602] 2022-08-25 16:33:53.266266: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698315: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698350: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2022-08-25 16:33:55 default[20220825t175602] 2022-08-25 16:33:55.698380: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (2e597b32f6d7): /proc/driver/nvidia/version does not exist 2022-08-25 16:33:56 default[20220825t175602] /env/lib/python3.7/site-packages/spacy/util.py:865: UserWarning: [W095] Model 'fr_core_news_lg' (3.1.0) was trained with spaCy v3.1 and may not be 100% compatible with the current version (3.4.1). If you see errors or degraded performance, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate 2022-08-25 16:33:56 default[20220825t175602] warnings.warn(warn_msg) 2022-08-25 16:34:10 default[20220825t175602] Some weights of the model checkpoint at camembert-base were not used when initializing CamembertModel: ['lm_head.decoder.weight', 'lm_head.dense.bias', 'lm_head.layer_norm.bias', 'lm_head.layer_norm.weight', 'lm_head.bias', 'lm_head.dense.weight']* What's weird is the app is running fine localy and also in the VM instance created by the Google App Engine. *runtime: python* *env: flex* *entrypoint: gunicorn -b :$PORT myteam.wsgi* *beta_settings:* *cloud_sql_instances: sam-website-358409:europe-west9:sam-instance* *runtime_config:* * python_version: 3.7* *threadsafe: true* *manual_scaling:* * instances: 2* *network: {}* *resources:* * cpu: 2* * memory_gb: 10* * disk_size_gb: 50* *liveness_check:* * initial_delay_sec: 300* * check_interval_sec: 30* * timeout_sec: 4* * failure_threshold: 4* * success_threshold: 2* *readiness_check:* * check_interval_sec: 5* * timeout_sec: 4* * failure_threshold: 2* * success_threshold: 2* * app_start_timeout_sec: 300* I would really appreciate it if you have some clues to solve the problem. -- 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/d9f98f05-2cc1-42ac-bc74-710e5a717166n%40googlegroups.com.
[google-appengine] Re: AppEngine Standard PHP7.4 Deploy-Error
Hello Ernesto thanks for your response. I have also seen this difference. But i think this is a error in the documentation. If you look in the vendor directory there is no path named /vendor/*google*/cloud/. In the meantime, however, I have found several solutions. 1. it's documented in this documentation <https://github.com/GoogleCloudPlatform/php-docs-samples/tree/6609166f71b1049f45360480963c2327b00b7959/appengine/standard/errorreporting>. If you cannot modify your php.ini, the prepend.php file can be manually included to register the error handler: require_once __DIR__ . '/vendor/google/cloud-error-reporting/src/prepend.php'; found by another at stackoverflow <https://stackoverflow.com/a/73432314/10990093>. 2. worked for me, if i use the relative Path *./vendor/.../...* Sincerely Ernesto Contreras Pinon schrieb am Montag, 22. August 2022 um 17:41:13 UTC+2: > From the documentation > <https://cloud.google.com/error-reporting/docs/setup/php?hl=en#installing_the_client_library>, > > the path to the *prepend.php* file should be as follows: > //vendor/google/cloud/cloud-error-reporting/src/prepend.php. > The path you included in your *php.ini* is a bit different, have you > previously tried with the exact path shown in the documentation? > > On Thursday, August 18, 2022 at 3:49:59 AM UTC-5 sirk...@talk-point.de > wrote: > >> I have an App (PHP 7.4) running on Google AppEngine Standard and deploy >> works fine. Now i have created a new Project inside CloudConsole >> <https://console.cloud.google.com/> with same settings and want to >> deploy this App to the new generated Project for testreason. >> >> *gcloud app deploy app.yaml --project=testapp-2022-08-14* >> >> *But i am getting this error:* >> Fatal error: Unknown: Failed opening required >> '/srv/vendor/google/cloud-error-reporting/src/prepend.php' >> (include_path='.:/layers/google.php.runtime/php/lib/php') in Unknown on >> line 0 >> >> To activate the Cloud-Error-Reporting i followed this Documentation: >> CloudErrorrEPORTING >> <https://cloud.google.com/error-reporting/docs/setup/php?hl=de#enabling_the_library> >> >> *my php.ini* >> >> auto_prepend_file = >> '/srv/vendor/google/cloud-error-reporting/src/prepend.php' >> session.gc_maxlifetime = 259200 opcache.memory_consumption = 128 >> >> *my app.yaml* >> >> runtime: php74 >> instance_class: F1 >> entrypoint: serve bootstrap.php >> handlers: >> ... >> env_variables: >> ... >> runtime_config: >> document_root: . >> automatic_scaling: >> max_instances: 20 >> >> 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/b3e29c94-b085-4dd5-87a2-5b39d2421699n%40googlegroups.com.
[google-appengine] Re: AppEngine Standard PHP7.4 Deploy-Error
>From the documentation <https://cloud.google.com/error-reporting/docs/setup/php?hl=en#installing_the_client_library>, the path to the *prepend.php* file should be as follows: //vendor/google/cloud/cloud-error-reporting/src/prepend.php. The path you included in your *php.ini* is a bit different, have you previously tried with the exact path shown in the documentation? On Thursday, August 18, 2022 at 3:49:59 AM UTC-5 sirk...@talk-point.de wrote: > I have an App (PHP 7.4) running on Google AppEngine Standard and deploy > works fine. Now i have created a new Project inside CloudConsole > <https://console.cloud.google.com/> with same settings and want to deploy > this App to the new generated Project for testreason. > > *gcloud app deploy app.yaml --project=testapp-2022-08-14* > > *But i am getting this error:* > Fatal error: Unknown: Failed opening required > '/srv/vendor/google/cloud-error-reporting/src/prepend.php' > (include_path='.:/layers/google.php.runtime/php/lib/php') in Unknown on > line 0 > > To activate the Cloud-Error-Reporting i followed this Documentation: > CloudErrorrEPORTING > <https://cloud.google.com/error-reporting/docs/setup/php?hl=de#enabling_the_library> > > *my php.ini* > > auto_prepend_file = > '/srv/vendor/google/cloud-error-reporting/src/prepend.php' > session.gc_maxlifetime = 259200 opcache.memory_consumption = 128 > > *my app.yaml* > > runtime: php74 > instance_class: F1 > entrypoint: serve bootstrap.php > handlers: > ... > env_variables: > ... > runtime_config: > document_root: . > automatic_scaling: > max_instances: 20 > > 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/e4333800-537c-4412-86ee-045d2c95044cn%40googlegroups.com.
[google-appengine] Anyone else finally got trapped by 'Google Workspace'?
Every year I dreaded the need to login to each Google Apps domain once to prevent them from deactivation This year being really busy, they finally trapped me, my main project got auto upgraded to Google Workspace and I lost my Legacy account for others The trapped account was new anyway, so I was already a paying account, so they didn't gain anything And my other loved domains have now lost their emails as I just won't go through with it every year again It's just sad, I maintain the App Engine projects even if a project is non-profitable, pay quite an uncomfortable amount too, I enjoyed the occasional user email, what's the point of taking it away ... -- 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/69030344-8547-4b3e-94ca-98c79770fdddn%40googlegroups.com.
[google-appengine] AppEngine Standard PHP7.4 Deploy-Error
I have an App (PHP 7.4) running on Google AppEngine Standard and deploy works fine. Now i have created a new Project inside CloudConsole <https://console.cloud.google.com/> with same settings and want to deploy this App to the new generated Project for testreason. *gcloud app deploy app.yaml --project=testapp-2022-08-14* *But i am getting this error:* Fatal error: Unknown: Failed opening required '/srv/vendor/google/cloud-error-reporting/src/prepend.php' (include_path='.:/layers/google.php.runtime/php/lib/php') in Unknown on line 0 To activate the Cloud-Error-Reporting i followed this Documentation: CloudErrorrEPORTING <https://cloud.google.com/error-reporting/docs/setup/php?hl=de#enabling_the_library> *my php.ini* auto_prepend_file = '/srv/vendor/google/cloud-error-reporting/src/prepend.php' session.gc_maxlifetime = 259200 opcache.memory_consumption = 128 *my app.yaml* runtime: php74 instance_class: F1 entrypoint: serve bootstrap.php handlers: ... env_variables: ... runtime_config: document_root: . automatic_scaling: max_instances: 20 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/ce14c3b1-5fd9-49fc-bbdb-01d2a050fc70n%40googlegroups.com.
[google-appengine] Re: Migrating App Engine php5 with google libraries
Thanks Those did help a little and got my test project forward. Google documentation about this is really painful to read.. For example "Access legacy bundled services for PHP 7+" What does lecacy bundled service mean ?? I know i didn't need composer any libraries for example to make the mail work, but with php 7.4 it requires this installed via composer. Yet if I add /vendor/ into .gcloudignore the library functions still works... perjantai 12. elokuuta 2022 klo 1.08.35 UTC+3 Osvaldo Lopez Acuña kirjoitti: > You can start by taking a look at this guide > <https://medium.com/@wes_12365/migrating-from-php5-5-to-7-2-7f8a529820e0> > (if you haven't already done it) about Migrating from PHP5.5 to 7.2. In this > GCP document > <https://cloud.google.com/appengine/docs/standard/php-gen2/php-differences> > you will learn about subjects related to migrating an app to PHP7+ in the > App Engine standard environment. And finally, in this other document > <https://cloud.google.com/appengine/docs/standard/php-gen2/services/migrating-services> > > you will find information about migrating and Apps using legacy bundled > services. > > On Thursday, August 11, 2022 at 9:59:03 AM UTC-5 jukka.ha...@gmail.com > wrote: > >> <https://serverfault.com/posts/1107927/timeline> >> >> I have php app with few hundred users made with php5. It is using some >> google libraries, but Actually I don't have them or composer in my local >> linux development project, yet they still work. Somehow google environment >> has those as default: >> require_once 'google/appengine/api/mail/Message.php'; >> use \google\appengine\api\mail\Message; >> >> Now I also need to add use Google\Cloud\Storage\StorageClient and also >> would like to migrate my app to standard php7 evironment with app.py >> >>1. Do i need the composer libraries the php7 version when running in >>google's servers ? >>2. Can I upload a second version of my php5 app to run in php7 for >>testing before making it promoted version ? >> >> -- 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/a79bf0ec-6009-4b47-b15a-14827bcfc3edn%40googlegroups.com.
[google-appengine] Re: Local Development server when opening "Datastore Viewer"
response, e) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1530, in __call__ >> rv = self.router.dispatch(request, response) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1278, in default_dispatcher >> return route.handler_adapter(request, response) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 1102, in __call__ >> return handler.dispatch() >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_request_handler.py", >> >> line 88, in dispatch >> super(AdminRequestHandler, self).dispatch() >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 572, in dispatch >> return self.handle_exception(e, self.app.debug) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", >> >> line 570, in dispatch >> return method(*args, **kwargs) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 674, in get >> start)) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 625, in _get_entity_template_data >> value = data_type.format(raw_value) >> File >> "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", >> >> line 200, in format >> return str(value) >> UnicodeEncodeError: 'ascii' codec can't encode characters in position >> 0-3: ordinal not in range(128) >> >> Thank you, >> Khaled >> > -- 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/1ca303e0-aed4-46ef-a259-1ba623cc5a9bn%40googlegroups.com.
[google-appengine] Re: Local Development server when opening "Datastore Viewer"
So I moved to ver. 270.0.0 indeed the problem has gone, which indicates that there was some string/unicode/ascii related update along the way that may have broken its ability to handle Unicode characters. I also tried versions 396, 383, 380 all had the same problem and error output. If someone can look into this so that we can work with the latest Google Cloud CLI versions, it would be great! Have a nice day, Khaled On Friday, August 12, 2022 at 11:56:30 PM UTC+2 Khaled Wagdy wrote: > Hello, > > I am using Python 2.7 on AppEngine and Datastore. I moved my code & test > database file to another laptop, I also made a fresh install of gcloud > components, currently at version 397.0.0. > > Ever since then, trying to access local datastore viewer " > http://localhost:8000/datastore?kind=" from the browser causes as > ascii error as seen in the screenshot below and server output. I have some > Arabic content in the DB, but on the old laptop which was running an old > gcloud components version (270.0.0) there was no problem browsing through > the entities. > > I will try to install the old version 270.0.0 using the command *gcloud > components update --version 270.0.0* and see if that resolves it. But I > would think working on the latest version is best in case something can be > fixed to resolve this matter. > > Has there been a breaking update in the local development server and/or > datastore emulator that might have been causing this issue? Is there a way > around this ascii error to be able to browse through the local DB entities > without problems? This is important during debugging, and can save a lot of > time. > > [image: Screen Shot 2022-08-12 at 18.02.18.png]ERROR2022-08-12 > 16:05:04,764 webapp2.py:1553] 'ascii' codec can't encode characters in > position 0-3: ordinal not in range(128) > Traceback (most recent call last): > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 1536, in __call__ > rv = self.handle_exception(request, response, e) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 1530, in __call__ > rv = self.router.dispatch(request, response) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 1278, in default_dispatcher > return route.handler_adapter(request, response) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 1102, in __call__ > return handler.dispatch() > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/admin_request_handler.py", > > line 88, in dispatch > super(AdminRequestHandler, self).dispatch() > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 572, in dispatch > return self.handle_exception(e, self.app.debug) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/lib/webapp2-2.5.1/webapp2.py", > > line 570, in dispatch > return method(*args, **kwargs) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", > > line 674, in get > start)) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", > > line 625, in _get_entity_template_data > value = data_type.format(raw_value) > File > "/Users/khaled/Documents/darna/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/admin/datastore_viewer.py", > > line 200, in format > return str(value) > UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: > ordinal not in range(128) > > Thank you, > Khaled > -- 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/d99465be-7fdb-4632-beb4-4ded2ab757d4n%40googlegroups.com.
[google-appengine] Re: Migrating App Engine php5 with google libraries
You can start by taking a look at this guide <https://medium.com/@wes_12365/migrating-from-php5-5-to-7-2-7f8a529820e0> (if you haven't already done it) about Migrating from PHP5.5 to 7.2. In this GCP document <https://cloud.google.com/appengine/docs/standard/php-gen2/php-differences> you will learn about subjects related to migrating an app to PHP7+ in the App Engine standard environment. And finally, in this other document <https://cloud.google.com/appengine/docs/standard/php-gen2/services/migrating-services> you will find information about migrating and Apps using legacy bundled services. On Thursday, August 11, 2022 at 9:59:03 AM UTC-5 jukka.ha...@gmail.com wrote: > <https://serverfault.com/posts/1107927/timeline> > > I have php app with few hundred users made with php5. It is using some > google libraries, but Actually I don't have them or composer in my local > linux development project, yet they still work. Somehow google environment > has those as default: > require_once 'google/appengine/api/mail/Message.php'; > use \google\appengine\api\mail\Message; > > Now I also need to add use Google\Cloud\Storage\StorageClient and also > would like to migrate my app to standard php7 evironment with app.py > >1. Do i need the composer libraries the php7 version when running in >google's servers ? >2. Can I upload a second version of my php5 app to run in php7 for >testing before making it promoted version ? > > -- 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/2d664ba4-b6b8-4cdd-a680-28cd8e7f9331n%40googlegroups.com.
[google-appengine] Re: dev_appserver Python3 Windows support plans?
At the moment, there is no support for dev_appserver. You can use the following link [1] to create a feature request. [1]:https://cloud.google.com/support/docs/issue-trackers On Tuesday, August 9, 2022 at 4:55:22 PM UTC-5 jmwo...@gmail.com wrote: > I have a bunch of Python27 App Engine apps that I have been wanting to > upgrade to Python3. > > But my development environment is on Windows, and dev_appserver is not > supported for Python3 even though P27 was sunset years ago. This makes it > extremely painful to re-write and test all the necessary modules, > datastore, memcache, authentication, etc. > > Is there a planned support for this? > > Windows 10 > gcloud SDK 394.0.0 > app-engine-python 1.9.100 > app-engine-python-extras 1.9.96 > beta 2022.07.19 > bq 2.0.75 > cloud-datastore-emulator 2.2.1 > core 2022.07.19 > gsutil 5.11 > > GCLOUD COMMAND: > dev_appserver.py > --runtime_python_path="python27=C:\Python27\python,python38=C:\Python38\python" > > C:\Users\*\workspace\* --port=8080 > > ERROR: > server2\python\instance_factory.py", line 335, in _RunPipInstall > pip_proc = subprocess.Popen(pip_cmd, stdout=pip_out, env=pip_env) > File "C:\Python27\lib\subprocess.py", line 390, in __init__ > errread, errwrite) > File "C:\Python27\lib\subprocess.py", line 640, in _execute_child > startupinfo) > WindowsError: [Error 2] The system cannot find the file specified > -- 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/4441c33d-bac1-41e2-a0bb-d84a86f4a9f4n%40googlegroups.com.
[google-appengine] Re: dev_appserver Python3 Windows support plans?
At the moment, there is no support for dev_appserver. You can use the following link [1] to create a feature request. [1]:https://issuetracker.google.com/issues On Tuesday, August 9, 2022 at 4:55:22 PM UTC-5 jmwo...@gmail.com wrote: > I have a bunch of Python27 App Engine apps that I have been wanting to > upgrade to Python3. > > But my development environment is on Windows, and dev_appserver is not > supported for Python3 even though P27 was sunset years ago. This makes it > extremely painful to re-write and test all the necessary modules, > datastore, memcache, authentication, etc. > > Is there a planned support for this? > > Windows 10 > gcloud SDK 394.0.0 > app-engine-python 1.9.100 > app-engine-python-extras 1.9.96 > beta 2022.07.19 > bq 2.0.75 > cloud-datastore-emulator 2.2.1 > core 2022.07.19 > gsutil 5.11 > > GCLOUD COMMAND: > dev_appserver.py > --runtime_python_path="python27=C:\Python27\python,python38=C:\Python38\python" > > C:\Users\*\workspace\* --port=8080 > > ERROR: > server2\python\instance_factory.py", line 335, in _RunPipInstall > pip_proc = subprocess.Popen(pip_cmd, stdout=pip_out, env=pip_env) > File "C:\Python27\lib\subprocess.py", line 390, in __init__ > errread, errwrite) > File "C:\Python27\lib\subprocess.py", line 640, in _execute_child > startupinfo) > WindowsError: [Error 2] The system cannot find the file specified > -- 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/d5c27d77-24b2-47fe-a003-ca2c018063bcn%40googlegroups.com.
[google-appengine] Migrating App Engine php5 with google libraries
<https://serverfault.com/posts/1107927/timeline> I have php app with few hundred users made with php5. It is using some google libraries, but Actually I don't have them or composer in my local linux development project, yet they still work. Somehow google environment has those as default: require_once 'google/appengine/api/mail/Message.php'; use \google\appengine\api\mail\Message; Now I also need to add use Google\Cloud\Storage\StorageClient and also would like to migrate my app to standard php7 evironment with app.py 1. Do i need the composer libraries the php7 version when running in google's servers ? 2. Can I upload a second version of my php5 app to run in php7 for testing before making it promoted version ? -- 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/b13c3266-ab30-4966-88cb-31d0116c942dn%40googlegroups.com.
[google-appengine] dev_appserver Python3 Windows support plans?
I have a bunch of Python27 App Engine apps that I have been wanting to upgrade to Python3. But my development environment is on Windows, and dev_appserver is not supported for Python3 even though P27 was sunset years ago. This makes it extremely painful to re-write and test all the necessary modules, datastore, memcache, authentication, etc. Is there a planned support for this? Windows 10 gcloud SDK 394.0.0 app-engine-python 1.9.100 app-engine-python-extras 1.9.96 beta 2022.07.19 bq 2.0.75 cloud-datastore-emulator 2.2.1 core 2022.07.19 gsutil 5.11 GCLOUD COMMAND: dev_appserver.py --runtime_python_path="python27=C:\Python27\python,python38=C:\Python38\python" C:\Users\*\workspace\* --port=8080 ERROR: server2\python\instance_factory.py", line 335, in _RunPipInstall pip_proc = subprocess.Popen(pip_cmd, stdout=pip_out, env=pip_env) File "C:\Python27\lib\subprocess.py", line 390, in __init__ errread, errwrite) File "C:\Python27\lib\subprocess.py", line 640, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified -- 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/047fca9c-26c0-45ff-b846-8b8e5f816012n%40googlegroups.com.
[google-appengine] Re: Can a single App Engine Standard Java 11/17 web process handle multiple concurrent requests?
Thanks for the people who responded. It seems that the documentation has been fixed, and no longer states that each web server processes only one request at a time etc. I no longer need help with this issue tiistai 2. elokuuta 2022 klo 23.25.00 UTC+3 concep...@google.com kirjoitti: > YAML config and appengine-web.xml file support max_concurrent_requests > setting in Java 11/17.[1][2] > > [1] > https://cloud.google.com/appengine/docs/standard/java-gen2/config/appref#max_concurrent_requests > [2] > https://cloud.google.com/appengine/docs/standard/java-gen2/config/appref-xml#automatic_scaling_max_concurrent_requests > > On Thursday, July 28, 2022 at 11:35:57 AM UTC-5 willia...@gmail.com wrote: > >> Hello, >> >> I'm using App Engine Standard with Java 11. My app is packaged as a JAR >> and it doesn't use legacy bundled services. I have set manual scaling to 1. >> Now my question is can that one instance handle multiple concurrent >> requests? According to the documentation, it seems like it cannot. >> >> >> https://cloud.google.com/appengine/docs/standard/java-gen2/how-requests-are-handled >> >>- By default, each web server processes only one request at a time. >>To dispatch multiple requests to each web server in parallel, mark your >>application as threadsafe by adding a true >> >> <https://cloud.google.com/appengine/docs/standard/java/config/appref#threadsafe> >> >>element to your appengine-web.xml file. >> >> However, that appengine-web.xml only appears in examples with legacy >> bundled services. I haven't seen any documentation on how to set up >> appengine-web.xml for JAR-packaged apps, only for WAR-packaged apps. >> manual_scaling doesn't allow setting max_concurrent_requests either. >> app.yaml doesn't support threadsafe-setting. >> >> This is different from envs such as PHP and Go where docs explicitly >> state that "An instance can handle multiple requests concurrently.". >> >> What should I do? I can't use multiple instances, because I depend on a >> little bit of state, which is what manual scaling is supposed to afford me. >> >>- Instances remain in memory and state is preserved across requests. >> >> -- 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/98e10eb1-25a4-4889-830f-fb0aa3cb1005n%40googlegroups.com.
[google-appengine] Re: Can a single App Engine Standard Java 11/17 web process handle multiple concurrent requests?
YAML config and appengine-web.xml file support max_concurrent_requests setting in Java 11/17.[1][2] [1] https://cloud.google.com/appengine/docs/standard/java-gen2/config/appref#max_concurrent_requests [2] https://cloud.google.com/appengine/docs/standard/java-gen2/config/appref-xml#automatic_scaling_max_concurrent_requests On Thursday, July 28, 2022 at 11:35:57 AM UTC-5 willia...@gmail.com wrote: > Hello, > > I'm using App Engine Standard with Java 11. My app is packaged as a JAR > and it doesn't use legacy bundled services. I have set manual scaling to 1. > Now my question is can that one instance handle multiple concurrent > requests? According to the documentation, it seems like it cannot. > > > https://cloud.google.com/appengine/docs/standard/java-gen2/how-requests-are-handled > >- By default, each web server processes only one request at a time. To >dispatch multiple requests to each web server in parallel, mark your >application as threadsafe by adding a true > > <https://cloud.google.com/appengine/docs/standard/java/config/appref#threadsafe> > >element to your appengine-web.xml file. > > However, that appengine-web.xml only appears in examples with legacy > bundled services. I haven't seen any documentation on how to set up > appengine-web.xml for JAR-packaged apps, only for WAR-packaged apps. > manual_scaling doesn't allow setting max_concurrent_requests either. > app.yaml doesn't support threadsafe-setting. > > This is different from envs such as PHP and Go where docs explicitly state > that "An instance can handle multiple requests concurrently.". > > What should I do? I can't use multiple instances, because I depend on a > little bit of state, which is what manual scaling is supposed to afford me. > >- Instances remain in memory and state is preserved across requests. > > -- 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/96067597-6ee3-4e77-b3f4-e7006198e1e6n%40googlegroups.com.
Re: [google-appengine] How to change the version of Jetty in my Google App Engine
For java 17 bundled services (configured via appengine-web.xml not app.yaml) the jetty version is provided (managed plaform) and cannot be changed. For non bundled services (app.yaml configuration) whatever web server of the market can be used including latest jetty versions. Ludo On 7/27/22 8:16 PM, 'Mike Wallace' via Google App Engine wrote: Within IntelliJ I have a Google App Engine Standard Local Server running. I'm in the process of updating to Java 17 and also all of my 3rd party libraries and have moved to GAE 2.0.5 and Jetty 11.0.11 in all of my project's pom files. However, when I start up the server I see: INFO:oejs.Server:main: jetty-9.4.46.v20220331 and I'm getting failures that seem to confirm the above, that an older version of Jetty is being used. Where can I update the Jetty version that the app engine uses? Here's the stack trace. The latest versions should be using jakarta.ws.rs.Path instead of javax. java.lang.TypeNotPresentException: Type javax.ws.rs.Path not present at java.base/sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:47) at java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:89) at jdk.proxy2/jdk.proxy2.$Proxy2.value(Unknown Source) at org.eclipse.jetty.annotations.AnnotationConfiguration.createServletContainerInitializerAnnotationHandlers(AnnotationConfiguration.java:579) at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:343) at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:498) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:423) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:387) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at com.google.appengine.tools.development.jetty9.JettyContainerService.startContainer(JettyContainerService.java:366) -- 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/3ec6a90b-9617-480e-9771-3a39f941c576n%40googlegroups.com <https://groups.google.com/d/msgid/google-appengine/3ec6a90b-9617-480e-9771-3a39f941c576n%40googlegroups.com?utm_medium=email_source=footer>. -- 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/2b375ede-8cd0-42e1-c528-17b1cf961388%40google.com.
[google-appengine] Re: How to change the version of Jetty in my Google App Engine
To update the Jetty version to the latest one, I would suggest updating the Cloud SDK to the latest version. Based on the documentation [1], the most recent release of Cloud SDK is version 395.0.0 (2022-07-26) and according to the release notes [2], the latest Java SDK version is 1.9.98 and latest Jetty version is 11.0.11[3] I would recommend trying to upgrade the Cloud SDK by following this documentation [4] so the Jetty version is updated to the latest one. [1] https://cloud.google.com/sdk/docs/release-notes [2] https://cloud.google.com/appengine/docs/standard/java/release-notes [3] https://www.eclipse.org/jetty/download.php [4] https://cloud.google.com/sdk/docs/components#updating_components On Thursday, July 28, 2022 at 11:35:33 AM UTC-5 mwal...@bluesparktechnologies.com wrote: > Within IntelliJ I have a Google App Engine Standard Local Server running. > I'm in the process of updating to Java 17 and also all of my 3rd party > libraries and have moved to GAE 2.0.5 and Jetty 11.0.11 in all of my > project's pom files. However, when I start up the server I see: > > INFO:oejs.Server:main: jetty-9.4.46.v20220331 > > and I'm getting failures that seem to confirm the above, that an older > version of Jetty is being used. Where can I update the Jetty version that > the app engine uses? > > Here's the stack trace. The latest versions should be using > jakarta.ws.rs.Path instead of javax. > > java.lang.TypeNotPresentException: Type javax.ws.rs.Path not present at > java.base/sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:47) > > at > java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:89) > > at jdk.proxy2/jdk.proxy2.$Proxy2.value(Unknown Source) at > org.eclipse.jetty.annotations.AnnotationConfiguration.createServletContainerInitializerAnnotationHandlers(AnnotationConfiguration.java:579) > > at > org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:343) > > at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:498) > at > org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) > at > org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) > > at > org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) > > at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) > > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) > > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) > > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) > > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) > > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) > > at org.eclipse.jetty.server.Server.start(Server.java:423) at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) > > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) > > at org.eclipse.jetty.server.Server.doStart(Server.java:387) at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) > > at > com.google.appengine.tools.development.jetty9.JettyContainerService.startContainer(JettyContainerService.java:366) > -- 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/5d2c976c-3fd4-4286-8f82-0154ab7cf704n%40googlegroups.com.
[google-appengine] Can a single App Engine Standard Java 11/17 web process handle multiple concurrent requests?
Hello, I'm using App Engine Standard with Java 11. My app is packaged as a JAR and it doesn't use legacy bundled services. I have set manual scaling to 1. Now my question is can that one instance handle multiple concurrent requests? According to the documentation, it seems like it cannot. https://cloud.google.com/appengine/docs/standard/java-gen2/how-requests-are-handled - By default, each web server processes only one request at a time. To dispatch multiple requests to each web server in parallel, mark your application as threadsafe by adding a true <https://cloud.google.com/appengine/docs/standard/java/config/appref#threadsafe> element to your appengine-web.xml file. However, that appengine-web.xml only appears in examples with legacy bundled services. I haven't seen any documentation on how to set up appengine-web.xml for JAR-packaged apps, only for WAR-packaged apps. manual_scaling doesn't allow setting max_concurrent_requests either. app.yaml doesn't support threadsafe-setting. This is different from envs such as PHP and Go where docs explicitly state that "An instance can handle multiple requests concurrently.". What should I do? I can't use multiple instances, because I depend on a little bit of state, which is what manual scaling is supposed to afford me. - Instances remain in memory and state is preserved across requests. -- 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/87e34e4f-faa1-4246-afab-e731a69b5df1n%40googlegroups.com.
[google-appengine] Re: Traffic hitting deleted Google App Engine versions
To be clear: > This project only has one service with one version and two instances The problem is traffic *hitting versions that have been deleted* We are migrating away from App Engine due to this issue. On Wednesday, 27 July 2022 at 00:02:01 UTC+1 Osvaldo Lopez Acuña wrote: > You could report this issue here[1]. You could also make sure you deleted > those versions[2]. Take a look at this post[3] where it is explained how to > clean up an App Engine project. > > [1]:https://issuetracker.google.com/issues/new?component=187191 > > [2]:https://cloud.google.com/sdk/gcloud/reference/app/versions/delete > [3]: > https://medium.com/google-cloud/app-engine-project-cleanup-9647296e796a > > On Tuesday, July 26, 2022 at 11:46:20 AM UTC-5 ric...@getregistered.com > wrote: > >> Hi All, >> >> We're seeing some very strange behaviour with error reporting showing >> traffic sporadically hitting a deleted version of the application. It seems >> like around 25% of requests hit this incorrect, phantom instance. >> >> To be specific we are running a rails application and we are seeing >> errors consistent with a previous version of `schema.rb` being loaded by >> the application. >> >> We build and deploy fresh docker containers for each deployment using >> cloudbuild. >> >> This project only has one service with one version and two instances. The >> last deployment was five days ago and we are still seeing errors. >> >> Has anyone encountered something similar? This really seems like an issue >> with App Engine routing to stale instances. >> >> Regards, >> >> Richard Garbutt >> > -- 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/d35dfbd4-f57b-4a6d-8281-ecab5126eb3cn%40googlegroups.com.
[google-appengine] How to change the version of Jetty in my Google App Engine
Within IntelliJ I have a Google App Engine Standard Local Server running. I'm in the process of updating to Java 17 and also all of my 3rd party libraries and have moved to GAE 2.0.5 and Jetty 11.0.11 in all of my project's pom files. However, when I start up the server I see: INFO:oejs.Server:main: jetty-9.4.46.v20220331 and I'm getting failures that seem to confirm the above, that an older version of Jetty is being used. Where can I update the Jetty version that the app engine uses? Here's the stack trace. The latest versions should be using jakarta.ws.rs.Path instead of javax. java.lang.TypeNotPresentException: Type javax.ws.rs.Path not present at java.base/sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:47) at java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:89) at jdk.proxy2/jdk.proxy2.$Proxy2.value(Unknown Source) at org.eclipse.jetty.annotations.AnnotationConfiguration.createServletContainerInitializerAnnotationHandlers(AnnotationConfiguration.java:579) at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:343) at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:498) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:423) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:387) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) at com.google.appengine.tools.development.jetty9.JettyContainerService.startContainer(JettyContainerService.java:366) -- 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/3ec6a90b-9617-480e-9771-3a39f941c576n%40googlegroups.com.
[google-appengine] Re: gcloud auth login fails
Out of dispair and boredom, I tried a few things, and finally I just changed the language in the login page where you accept the Google Cloud SDK permissions. I changed it to english (UK); I was, then, instantaltly logged in. WTF ! Le mercredi 27 juillet 2022 à 19:06:37 UTC+2, solsTiCe d'Hiver a écrit : > > I don't have an admin at end. I odn't have any admin t perform those steps. > > Because like I said, I am just a lambda user of Google App Engine > (free-tier mostly). meaning, no entreprise or organisation, just me. > Le mercredi 27 juillet 2022 à 19:00:07 UTC+2, concep...@google.com a > écrit : > >> >> Please ask your admin to perform those steps. >> On Monday, July 25, 2022 at 6:14:06 PM UTC-5 solstic...@gmail.com wrote: >> >>> >>> Previously, I had a free Google Workspace account, and that's why it >>> might have worked. >>> Since, free Google Workspace was ended, I terminated that account. It >>> was linked to my main gmail address. >>> >>> If I try to follow the tutorial in the link you gave, I have to login >>> with an admin account. It seems I don't have any, do I? >>> Le mardi 26 juillet 2022 à 00:59:36 UTC+2, concep...@google.com a >>> écrit : >>> >>>> For each organizational unit, there can only be one active enrollment >>>> token. If you need to pause enrollment, you can permanently revoke the >>>> token for a specific organizational unit and regenerate a new one. >>>> >>>> >>>> https://support.google.com/chrome/a/answer/9301891#zippy=%2Crevoke-and-regenerate-enrollment-token:~:text=For%20each%20organizational%20unit%2C%20there%20can%20only%20be%20one%20active%20enrollment%20token.%20If%20you%20need%20to%20pause%20enrollment%2C%20you%20can%20permanently%20revoke%20the%20token%20for%20a%20specific%20organizational%20unit%20and%20regenerate%20a%20new%20one >>>> . >>>> >>>> On Friday, July 22, 2022 at 4:52:59 AM UTC-5 solstic...@gmail.com >>>> wrote: >>>> >>>>> Hi, >>>>> I mistakingly removed my gcloud config, and token/cookies on my >>>>> desktop. Private user here; >>>>> >>>>> Now, I can't `gcloud auth login` anymore with my default gmail account. >>>>> I got an error at the last step of authentification "an error occured". >>>>> >>>>> I have to use the default account for each project. This is annoying. >>>>> >>>>> Why ? Why do I do wrong ? Is it a feature ? >>>>> >>>>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e93b4783-67a1-4951-bd83-76972bf8730bn%40googlegroups.com.
[google-appengine] Re: gcloud auth login fails
I don't have an admin at end. I odn't have any admin t perform those steps. Because like I said, I am just a lambda user of Google App Engine (free-tier mostly). meaning, no entreprise or organisation, just me. Le mercredi 27 juillet 2022 à 19:00:07 UTC+2, concep...@google.com a écrit : > > Please ask your admin to perform those steps. > On Monday, July 25, 2022 at 6:14:06 PM UTC-5 solstic...@gmail.com wrote: > >> >> Previously, I had a free Google Workspace account, and that's why it >> might have worked. >> Since, free Google Workspace was ended, I terminated that account. It was >> linked to my main gmail address. >> >> If I try to follow the tutorial in the link you gave, I have to login >> with an admin account. It seems I don't have any, do I? >> Le mardi 26 juillet 2022 à 00:59:36 UTC+2, concep...@google.com a écrit : >> >>> For each organizational unit, there can only be one active enrollment >>> token. If you need to pause enrollment, you can permanently revoke the >>> token for a specific organizational unit and regenerate a new one. >>> >>> >>> https://support.google.com/chrome/a/answer/9301891#zippy=%2Crevoke-and-regenerate-enrollment-token:~:text=For%20each%20organizational%20unit%2C%20there%20can%20only%20be%20one%20active%20enrollment%20token.%20If%20you%20need%20to%20pause%20enrollment%2C%20you%20can%20permanently%20revoke%20the%20token%20for%20a%20specific%20organizational%20unit%20and%20regenerate%20a%20new%20one >>> . >>> >>> On Friday, July 22, 2022 at 4:52:59 AM UTC-5 solstic...@gmail.com wrote: >>> >>>> Hi, >>>> I mistakingly removed my gcloud config, and token/cookies on my >>>> desktop. Private user here; >>>> >>>> Now, I can't `gcloud auth login` anymore with my default gmail account. >>>> I got an error at the last step of authentification "an error occured". >>>> >>>> I have to use the default account for each project. This is annoying. >>>> >>>> Why ? Why do I do wrong ? Is it a feature ? >>>> >>>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/431dc7c9-b75f-4c93-bcbf-17418c1e9f98n%40googlegroups.com.
[google-appengine] Re: gcloud auth login fails
Please ask your admin to perform those steps. On Monday, July 25, 2022 at 6:14:06 PM UTC-5 solstic...@gmail.com wrote: > > Previously, I had a free Google Workspace account, and that's why it might > have worked. > Since, free Google Workspace was ended, I terminated that account. It was > linked to my main gmail address. > > If I try to follow the tutorial in the link you gave, I have to login with > an admin account. It seems I don't have any, do I? > Le mardi 26 juillet 2022 à 00:59:36 UTC+2, concep...@google.com a écrit : > >> For each organizational unit, there can only be one active enrollment >> token. If you need to pause enrollment, you can permanently revoke the >> token for a specific organizational unit and regenerate a new one. >> >> >> https://support.google.com/chrome/a/answer/9301891#zippy=%2Crevoke-and-regenerate-enrollment-token:~:text=For%20each%20organizational%20unit%2C%20there%20can%20only%20be%20one%20active%20enrollment%20token.%20If%20you%20need%20to%20pause%20enrollment%2C%20you%20can%20permanently%20revoke%20the%20token%20for%20a%20specific%20organizational%20unit%20and%20regenerate%20a%20new%20one >> . >> >> On Friday, July 22, 2022 at 4:52:59 AM UTC-5 solstic...@gmail.com wrote: >> >>> Hi, >>> I mistakingly removed my gcloud config, and token/cookies on my desktop. >>> Private user here; >>> >>> Now, I can't `gcloud auth login` anymore with my default gmail account. >>> I got an error at the last step of authentification "an error occured". >>> >>> I have to use the default account for each project. This is annoying. >>> >>> Why ? Why do I do wrong ? Is it a feature ? >>> >>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/bedeed12-b9bb-4a2a-9e85-9f21ec290036n%40googlegroups.com.
[google-appengine] Re: Traffic hitting deleted Google App Engine versions
You could report this issue here[1]. You could also make sure you deleted those versions[2]. Take a look at this post[3] where it is explained how to clean up an App Engine project. [1]:https://issuetracker.google.com/issues/new?component=187191 [2]:https://cloud.google.com/sdk/gcloud/reference/app/versions/delete [3]:https://medium.com/google-cloud/app-engine-project-cleanup-9647296e796a On Tuesday, July 26, 2022 at 11:46:20 AM UTC-5 ric...@getregistered.com wrote: > Hi All, > > We're seeing some very strange behaviour with error reporting showing > traffic sporadically hitting a deleted version of the application. It seems > like around 25% of requests hit this incorrect, phantom instance. > > To be specific we are running a rails application and we are seeing errors > consistent with a previous version of `schema.rb` being loaded by the > application. > > We build and deploy fresh docker containers for each deployment using > cloudbuild. > > This project only has one service with one version and two instances. The > last deployment was five days ago and we are still seeing errors. > > Has anyone encountered something similar? This really seems like an issue > with App Engine routing to stale instances. > > Regards, > > Richard Garbutt > -- 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/d2b70b68-645e-48c3-8908-1dc410fc51a2n%40googlegroups.com.
[google-appengine] Re: Is there a Cloud Newsletter?
At the Google Cloud Blog <https://cloud.google.com/blog/> you will find what’s new with Google Cloud. Additionally, you can stay in the loop by signing up for Google Cloud newsletters <https://cloud.google.com/newsletter>. Finally, the following Google Cloud release notes <https://cloud.google.com/release-notes> cover the most recent changes over the last 60 days. For a comprehensive list of product-specific release notes, see the individual product release note pages <https://cloud.google.com/release-notes/all>. On Friday, July 22, 2022 at 10:10:11 AM UTC-5 kaan...@gmail.com wrote: > Just discovered the new TTL policies: > https://cloud.google.com/datastore/docs/ttl > > It's an awesome new feature > > Is there a Newsletter to keep up with new Google Cloud additions, if not, > would be nice if it's added > -- 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/6de003f1-8c08-4219-bf5a-dc6c7b2df92en%40googlegroups.com.
[google-appengine] Traffic hitting deleted Google App Engine versions
Hi All, We're seeing some very strange behaviour with error reporting showing traffic sporadically hitting a deleted version of the application. It seems like around 25% of requests hit this incorrect, phantom instance. To be specific we are running a rails application and we are seeing errors consistent with a previous version of `schema.rb` being loaded by the application. We build and deploy fresh docker containers for each deployment using cloudbuild. This project only has one service with one version and two instances. The last deployment was five days ago and we are still seeing errors. Has anyone encountered something similar? This really seems like an issue with App Engine routing to stale instances. Regards, Richard Garbutt -- 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/d91514ae-d662-4095-a78a-305371a3af5dn%40googlegroups.com.
[google-appengine] Re: gcloud auth login fails
Previously, I had a free Google Workspace account, and that's why it might have worked. Since, free Google Workspace was ended, I terminated that account. It was linked to my main gmail address. If I try to follow the tutorial in the link you gave, I have to login with an admin account. It seems I don't have any, do I? Le mardi 26 juillet 2022 à 00:59:36 UTC+2, concep...@google.com a écrit : > For each organizational unit, there can only be one active enrollment > token. If you need to pause enrollment, you can permanently revoke the > token for a specific organizational unit and regenerate a new one. > > > https://support.google.com/chrome/a/answer/9301891#zippy=%2Crevoke-and-regenerate-enrollment-token:~:text=For%20each%20organizational%20unit%2C%20there%20can%20only%20be%20one%20active%20enrollment%20token.%20If%20you%20need%20to%20pause%20enrollment%2C%20you%20can%20permanently%20revoke%20the%20token%20for%20a%20specific%20organizational%20unit%20and%20regenerate%20a%20new%20one > . > > On Friday, July 22, 2022 at 4:52:59 AM UTC-5 solstic...@gmail.com wrote: > >> Hi, >> I mistakingly removed my gcloud config, and token/cookies on my desktop. >> Private user here; >> >> Now, I can't `gcloud auth login` anymore with my default gmail account. >> I got an error at the last step of authentification "an error occured". >> >> I have to use the default account for each project. This is annoying. >> >> Why ? Why do I do wrong ? Is it a feature ? >> >> 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b1486337-a541-46a3-b8d7-b6f2e45d89f6n%40googlegroups.com.
[google-appengine] Re: How do I install Wordpress on App Engine?
Please share the steps and/or the tutorial you are following. On Monday, July 25, 2022 at 11:47:16 AM UTC-5 car...@tunnyville.com wrote: > Hello, > > I am trying to install Wordpress on App Engine but I am confused about the > steps, I need someone to help we with the details of how to do it. > > I have a couple of Wordpress site on Compute Engine but I am billed even > though there is no traffic to those site this is why I want to use App > Engine now. > > I will greatly appreciate any help. > > Thank you guys > -- 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/082c4198-b91c-4108-b04f-0924049be17cn%40googlegroups.com.
[google-appengine] Re: gcloud auth login fails
For each organizational unit, there can only be one active enrollment token. If you need to pause enrollment, you can permanently revoke the token for a specific organizational unit and regenerate a new one. https://support.google.com/chrome/a/answer/9301891#zippy=%2Crevoke-and-regenerate-enrollment-token:~:text=For%20each%20organizational%20unit%2C%20there%20can%20only%20be%20one%20active%20enrollment%20token.%20If%20you%20need%20to%20pause%20enrollment%2C%20you%20can%20permanently%20revoke%20the%20token%20for%20a%20specific%20organizational%20unit%20and%20regenerate%20a%20new%20one. On Friday, July 22, 2022 at 4:52:59 AM UTC-5 solstic...@gmail.com wrote: > Hi, > I mistakingly removed my gcloud config, and token/cookies on my desktop. > Private user here; > > Now, I can't `gcloud auth login` anymore with my default gmail account. > I got an error at the last step of authentification "an error occured". > > I have to use the default account for each project. This is annoying. > > Why ? Why do I do wrong ? Is it a feature ? > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8216c938-c1fd-4595-932b-581270231fa0n%40googlegroups.com.
[google-appengine] How do I install Wordpress on App Engine?
Hello, I am trying to install Wordpress on App Engine but I am confused about the steps, I need someone to help we with the details of how to do it. I have a couple of Wordpress site on Compute Engine but I am billed even though there is no traffic to those site this is why I want to use App Engine now. I will greatly appreciate any help. Thank you guys -- 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/84c9f4dc-bff8-4a9a-9760-6b298d437521n%40googlegroups.com.
[google-appengine] Is there a Cloud Newsletter?
Just discovered the new TTL policies: https://cloud.google.com/datastore/docs/ttl It's an awesome new feature Is there a Newsletter to keep up with new Google Cloud additions, if not, would be nice if it's added -- 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/2ed2fb21-8a61-41d5-b602-931a9b58b758n%40googlegroups.com.
[google-appengine] gcloud auth login fails
Hi, I mistakingly removed my gcloud config, and token/cookies on my desktop. Private user here; Now, I can't `gcloud auth login` anymore with my default gmail account. I got an error at the last step of authentification "an error occured". I have to use the default account for each project. This is annoying. Why ? Why do I do wrong ? Is it a feature ? 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/55e496f2-38ad-4247-9817-618fc3081328n%40googlegroups.com.
[google-appengine] Re: App Engine PHP environment: MongoDB extension not found
Does this compatibility table[1] solve your problem? Additionally, as this is not a GCP problem per se, you can post it as a question on Stack Overflow. [1] https://i.stack.imgur.com/bOc3R.png On Thursday, July 14, 2022 at 3:21:07 PM UTC-5 tatsuki...@gmail.com wrote: > Hi, > > I am trying to deploy PHP application to GAE Standard PHP8.1 environment, > to find the errors below: > ``` > File upload done. > Updating service [api-sandbox-1]...failed. > ... > Problem 1 > - mongodb/mongodb is locked to version 1.11.0 and an update of this > package was not requested. > - mongodb/mongodb 1.11.0 requires ext-mongodb ^1.12.0 -> it is missing > from your system. Install or enable PHP's mongodb extension. > ... > ``` > > I have put php.ini in my root directory (same directory where the app.yaml > file exists) with the contents below: > ``` > extension=mongodb.so > extension=redis.so > ``` > > This was not happening before June 30th, when I last deployed my > application successfully. > > If anyone knows how to fix this, please kindly let us know. > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f9019e4e-3272-44a0-9c6b-f4f195f2ff7dn%40googlegroups.com.
[google-appengine] Entities not being returning in query result -- index bug?
I was alerted by one of my users that some entries they are associated with were not appearing to them. Indeed, when I query the datastore for these entities (with a single property filter), they are not returned. After writing them to the datastore, the index is updated and they are returned in the query. Perhaps technically my query is not guaranteed to return the entities as it is weakly consistent, but none of the entities were changed recently and usually any inconsistent results are resolved quite quickly. (it has been several hours now) So it seems like the index entries for this property on these entities were lost or damaged somehow. What to do? Wait and hope the index will be regenerated? I can write entities for this user to the datastore to regenerate the index...but doing it for all my users is not really an option. -- 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/8c53a518-2e5b-456e-98d5-79d38993e973n%40googlegroups.com.
[google-appengine] App Engine PHP environment: MongoDB extension not found
Hi, I am trying to deploy PHP application to GAE Standard PHP8.1 environment, to find the errors below: ``` File upload done. Updating service [api-sandbox-1]...failed. ... Problem 1 - mongodb/mongodb is locked to version 1.11.0 and an update of this package was not requested. - mongodb/mongodb 1.11.0 requires ext-mongodb ^1.12.0 -> it is missing from your system. Install or enable PHP's mongodb extension. ... ``` I have put php.ini in my root directory (same directory where the app.yaml file exists) with the contents below: ``` extension=mongodb.so extension=redis.so ``` This was not happening before June 30th, when I last deployed my application successfully. If anyone knows how to fix this, please kindly let us know. 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6d51d672-c912-473f-a79f-70f747a7e052n%40googlegroups.com.
[google-appengine] Re: Billing charges incurred on a project application that has been disabled on app engine [getting-started]
If you disable an app, you should also disable billing for that app [1], as the app can still be charged for fixed billing costs, like datastore storage. While the app is disabled, requests to your app will fail. You may continue to incur charges from other Google Cloud products. For example, if your project has exceeded the free quota for Cloud Storage, you will continue incurring charges for storage.[2] App Engine does not provide a free tier in the flexible environment as you can read in this document[3], so to not incur charges by default try standar environment because it has a free tier for App Engine resources. You could try this example[4]. As is stated: There are no costs associated with running this guide. Running this sample app alone does not exceed your free quota. But after finishing it and to avoid incurring charges, you can delete your Cloud project to stop billing for all the resources used within that project as established here [5]. This is a recommended github project [6] that is used to test GAE but use it in standar environment because, as described above, a flexible environment doesn’t have a free tier. [1]: https://cloud.google.com/billing/docs/how-to/modify-project?visit_id=637921382749559972-959610604=1#disable-billing [2]:https://cloud.google.com/appengine/docs/managing-costs#disable_manally [3]:https://cloud.google.com/appengine/pricing [4]:https://cloud.google.com/appengine/docs/standard/java-gen2/create-app [5]: https://cloud.google.com/appengine/docs/standard/java-gen2/create-app#clean-up [6]: https://cloud.google.com/appengine/docs/standard/java-gen2/create-app#download_the_hello_world_app On Wednesday, June 29, 2022 at 9:50:23 AM UTC-5 mobilem...@gmail.com wrote: > Hi Everyone, > > Would anyone know how to stop my application on app engine from incurring > more costs after it has been disabled in the project settings, with no > instances running? > > I tried to run the getting-started app on a project. The billing account > isn't mine, but I asked someone so I could start testing on GCP, hoping it > would be on the free tier for testing. Unfortunately, the getting-started > app on github by default would be deployed in the flex env (and not the > standard env, where it would have been on the free tier), so some costs > were incurred. The app was deployed but could not receive API requests due > to some versioning (config) issue, so I was surprised that after a day, > there were billing charges from the Flex environment usage. > I tried to modify app.yaml by removing the "flex" env, and also setting > max_instances in basic scaling to 1. The API is still not receiving > requests, so I disabled the app in the settings. After another day, some > charges are still incurred. > > Does anyone know why this is? Also, how to fix this so there are no more > charges? > And which starter code for GCP in github would not incur charges by > default? > > Thanks. > > Regards, > -- 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/19dea686-9f1f-4810-a985-7497ba354fa7n%40googlegroups.com.
[google-appengine] Re: Is this an attack?
You can fill out this form [1] to report suspected abuse on Google Cloud Platform. Also, as a workaround, you can block abusive IP addresses as established here [2]: *you can use the App Engine firewall to block traffic to your app from IP addresses that present malicious intent or shield your app from denial of service attacks and similar forms of abuse. You can add IP addresses or subnetworks to a denylist so that requests routed from those addresses and subnetworks are denied before they reach your App Engine app.* [1]:https://support.google.com/code/contact/cloud_platform_report [2]: https://cloud.google.com/appengine/docs/standard/java/application-security#app_engine_firewall On Tuesday, June 28, 2022 at 10:46:10 AM UTC-5 guana...@gmail.com wrote: > While checking the logs of my GAE flask app, I noticed that from June 3rd > through June 10th there was a spike on traffick, which is highly unusual > for my website. > I checked the logs and found the reason for that were 3 IP addresses: > > 94.154.188.130: 1045 Times, > 176.103.88.57: 678 Times, > 176.103.85.167:1392 Times, > > I have posted the requests on a gist HERE > <https://gist.github.com/GuanacoDevs/654be288519995bc09f2aca9921bf009> for > the last one with 1392 requests. ipqualityscore > <https://www.ipqualityscore.com/free-ip-lookup-proxy-vpn-test/lookup/176.103.85.167> > says > that this is a proxy based from russia, actually the 3 ips in question are > from the same data center, and Ip Quality score has it on a 99 Fraud Score > while scamalitycs <https://scamalytics.com/ip/176.103.85.167> shows > nothing wrong, maybe because is a VPN or something of the likes. > > According to the logs the first request was at 2022-06-04T08:50:45 with > the last on that time frame was on 2022-06-10T01:03:42, so it was not a DOS > attack, times between request were as long as 46 minutes and as frequent as > 1 second in between. > > What was that? Was my site being attacked? Or maybe just a someone playing > a penetration tester? > > There were 1273 unique endpoints as listed in the gist above, 98% of them > returned a 404. As of today 27+ days, my site has 486 hours usage, during > the time frame for this hits, was 214. > That raised my bill by US$0.95, is not much but since I do not have > traffic on my site I usually pay nothing for it. Of course, if I had more > traffic, I wouldn't have noticed this. > It was only for close to 6 days if it was to be more frequent is just > raising the bill for nothing. > > How can you protect against this? > > Best Regards > -- 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/4883a331-1c6d-4ba8-8428-b0a2daffe902n%40googlegroups.com.
[google-appengine] Billing charges incurred on a project application that has been disabled on app engine [getting-started]
Hi Everyone, Would anyone know how to stop my application on app engine from incurring more costs after it has been disabled in the project settings, with no instances running? I tried to run the getting-started app on a project. The billing account isn't mine, but I asked someone so I could start testing on GCP, hoping it would be on the free tier for testing. Unfortunately, the getting-started app on github by default would be deployed in the flex env (and not the standard env, where it would have been on the free tier), so some costs were incurred. The app was deployed but could not receive API requests due to some versioning (config) issue, so I was surprised that after a day, there were billing charges from the Flex environment usage. I tried to modify app.yaml by removing the "flex" env, and also setting max_instances in basic scaling to 1. The API is still not receiving requests, so I disabled the app in the settings. After another day, some charges are still incurred. Does anyone know why this is? Also, how to fix this so there are no more charges? And which starter code for GCP in github would not incur charges by default? Thanks. Regards, -- 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/285b8cad-cbe4-4343-bc78-8e245fc721b0n%40googlegroups.com.
[google-appengine] Re: Trouble using appengine-python-standard image and blob libraries in my py3 app
Python 3 does not have the bundled services enabled by default. Did you follow the guidelines (steps)[1] documented on this page? [1] https://cloud.google.com/appengine/docs/standard/python3/services/access On Tuesday, June 28, 2022 at 12:41:01 PM UTC-5 Daniel Kramer wrote: > I'm creating a simple server to serve images from a Google Cloud Storage > bucket. It will serve images to a mobile app. I'm new to Google Cloud > Storage and a python3 Appengine server, I've been running a py2.7 server > for years. > > I am able to create a cloud storage client and query items, that's > working. It seems wasteful to download the images to the Appengine server > to in-turn send those to my app. Ideally I can provide my app a url to pull > from storage directly. I can do this if I make the bucket publicly > accessible but ideally I don't have to do that. > > From what I can tell there are a couple of options > 1) Use *from google.appengine.api import images *which has a *get_serving_url > *function which sounds like it's the right thing. But when I try using > it I'm getting and error: > *AssertionError: No api proxy found for service "image"* > > 2) Also looks like there's an option to use *from google.appengine.api > import blobstore *and use* blobstore.create_gs_key('/gs' + filename) *but > I get a similar error: > *AssertionError: No api proxy found for service "blobstore"* > > 3) lastly it looks like there's a way to generate a url that times out > using* blob.generate_signed_url(). *When I use that I get: > > *You need a private key to sign credentials.the credentials you are > currently using 'google.auth.compute_engine.credentials.Credentials'> just contains a > token. see > https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account > > <https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account> > > for more details.* > > So far a lot of dead ends. Reading about the* no api proxy *most people > are pointing to users who are not running within the AppEngine environment > .. but I am and I think it may be because these api's were originally built > for the py2 version of Appengine and I'm attempting to use them in py3? I > suppose I could change my app to a py2 app, but that seems like a dead end > long term. > > Thanks for any pointers! > Daniel > > -- 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/5310dd2f-4e50-4d98-a9be-8c2a0b36f3c1n%40googlegroups.com.
[google-appengine] Re: App Engine Python3 - Error creating public url for Google Cloud Storage files
Apologies for the duplicate post. I sent the first and didn't see it post, after several hours I questioned whether I sent it properly so re-sent. I know realize it was due to it being my first post here and it was held back during a moderation period. On Tuesday, June 28, 2022 at 10:50:35 AM UTC-7 Daniel Kramer wrote: > I'm creating a very simple server to pass images to a mobile app. My > images are stored in Google Cloud Storage. I'm new to App Engine in the py3 > env, I've been running a py2.7 app for years. I'm also new to Cloud > Storage. > > I have a bucket in storage with a bunch of images. I am able to access > that bucket from appengine and iterate over the objects. If I make the > bucket's permissions public I can simply pass the url to my app to display > the images. > > Ideally I don't have to make the bucket's permissions public. It seems > there are a couple of options > > 1) Looks like google.appengine.api.blobstore can create a url: > > *blobkey = blobstore.create_gs_key(gs_path) serving_url = > images.get_serving_url(blobkey, secure_url=False)* > > Running this I get an error in my logs: > *AssertionError: No api proxy found for service "blobstore"* > > If I create the *BlobKey* directly and pass that to the images function I > get > *AssertionError: No api proxy found for service "images"* > > 2) Looks like theres a way to generate a url that times out after a > certain period of time: > *blobs = storage_client.list_blobs(bucket_name, prefix=myPrefix, > delimiter=None)* > *for blob in blobs:* > * exp = datetime.timedelta(minutes=15)* > * blob.generate_signed_url(version="v4",expiration=**exp* > *,method="GET")* > > Running that I get a diff error: > *AttributeError: you need a private key to sign credentials.the > credentials you are currently using 'google.auth.compute_engine.credentials.Credentials'> just contains a > token. see > https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account > > <https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account> > > for more details.* > > I've found others with the *no api proxy error* and it seems in all those > cases it's when people are trying to use these api's outside of the > AppEngine Environment. But I am running it within an AppEngine app so those > posts aren't helpful. > > My *requirements.txt* is: > Flask==2.0.1 > urlfetch > googleapis_common_protos > appengine-python-standard > google-cloud-ndb > google-cloud-logging > google-cloud-storage > > Any advice would be helpful, been banging my head on this for several > hours. > > Thanks! > > Daniel > -- 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/2711bd83-8f57-4a63-8053-f50bdd792ee1n%40googlegroups.com.
[google-appengine] App Engine Python3 - Error creating public url for Google Cloud Storage files
I'm creating a very simple server to pass images to a mobile app. My images are stored in Google Cloud Storage. I'm new to App Engine in the py3 env, I've been running a py2.7 app for years. I'm also new to Cloud Storage. I have a bucket in storage with a bunch of images. I am able to access that bucket from appengine and iterate over the objects. If I make the bucket's permissions public I can simply pass the url to my app to display the images. Ideally I don't have to make the bucket's permissions public. It seems there are a couple of options 1) Looks like google.appengine.api.blobstore can create a url: *blobkey = blobstore.create_gs_key(gs_path) serving_url = images.get_serving_url(blobkey, secure_url=False)* Running this I get an error in my logs: *AssertionError: No api proxy found for service "blobstore"* If I create the *BlobKey* directly and pass that to the images function I get *AssertionError: No api proxy found for service "images"* 2) Looks like theres a way to generate a url that times out after a certain period of time: *blobs = storage_client.list_blobs(bucket_name, prefix=myPrefix, delimiter=None)* *for blob in blobs:* * exp = datetime.timedelta(minutes=15)* * blob.generate_signed_url(version="v4",expiration=**exp* *,method="GET")* Running that I get a diff error: *AttributeError: you need a private key to sign credentials.the credentials you are currently using just contains a token. see https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account for more details.* I've found others with the *no api proxy error* and it seems in all those cases it's when people are trying to use these api's outside of the AppEngine Environment. But I am running it within an AppEngine app so those posts aren't helpful. My *requirements.txt* is: Flask==2.0.1 urlfetch googleapis_common_protos appengine-python-standard google-cloud-ndb google-cloud-logging google-cloud-storage Any advice would be helpful, been banging my head on this for several hours. Thanks! Daniel -- 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/961fa55c-a0d7-4cbb-8486-61be6c0f00f3n%40googlegroups.com.
[google-appengine] Trouble using appengine-python-standard image and blob libraries in my py3 app
I'm creating a simple server to serve images from a Google Cloud Storage bucket. It will serve images to a mobile app. I'm new to Google Cloud Storage and a python3 Appengine server, I've been running a py2.7 server for years. I am able to create a cloud storage client and query items, that's working. It seems wasteful to download the images to the Appengine server to in-turn send those to my app. Ideally I can provide my app a url to pull from storage directly. I can do this if I make the bucket publicly accessible but ideally I don't have to do that. >From what I can tell there are a couple of options 1) Use *from google.appengine.api import images *which has a *get_serving_url *function which sounds like it's the right thing. But when I try using it I'm getting and error: *AssertionError: No api proxy found for service "image"* 2) Also looks like there's an option to use *from google.appengine.api import blobstore *and use* blobstore.create_gs_key('/gs' + filename) *but I get a similar error: *AssertionError: No api proxy found for service "blobstore"* 3) lastly it looks like there's a way to generate a url that times out using* blob.generate_signed_url(). *When I use that I get: *You need a private key to sign credentials.the credentials you are currently using just contains a token. see https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account for more details.* So far a lot of dead ends. Reading about the* no api proxy *most people are pointing to users who are not running within the AppEngine environment .. but I am and I think it may be because these api's were originally built for the py2 version of Appengine and I'm attempting to use them in py3? I suppose I could change my app to a py2 app, but that seems like a dead end long term. Thanks for any pointers! Daniel -- 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/ba0a9413-dcb1-4e36-9fb5-63e8ab7be516n%40googlegroups.com.
[google-appengine] Is this an attack?
While checking the logs of my GAE flask app, I noticed that from June 3rd through June 10th there was a spike on traffick, which is highly unusual for my website. I checked the logs and found the reason for that were 3 IP addresses: 94.154.188.130: 1045 Times, 176.103.88.57: 678 Times, 176.103.85.167:1392 Times, I have posted the requests on a gist HERE <https://gist.github.com/GuanacoDevs/654be288519995bc09f2aca9921bf009> for the last one with 1392 requests. ipqualityscore <https://www.ipqualityscore.com/free-ip-lookup-proxy-vpn-test/lookup/176.103.85.167> says that this is a proxy based from russia, actually the 3 ips in question are from the same data center, and Ip Quality score has it on a 99 Fraud Score while scamalitycs <https://scamalytics.com/ip/176.103.85.167> shows nothing wrong, maybe because is a VPN or something of the likes. According to the logs the first request was at 2022-06-04T08:50:45 with the last on that time frame was on 2022-06-10T01:03:42, so it was not a DOS attack, times between request were as long as 46 minutes and as frequent as 1 second in between. What was that? Was my site being attacked? Or maybe just a someone playing a penetration tester? There were 1273 unique endpoints as listed in the gist above, 98% of them returned a 404. As of today 27+ days, my site has 486 hours usage, during the time frame for this hits, was 214. That raised my bill by US$0.95, is not much but since I do not have traffic on my site I usually pay nothing for it. Of course, if I had more traffic, I wouldn't have noticed this. It was only for close to 6 days if it was to be more frequent is just raising the bill for nothing. How can you protect against this? Best Regards -- 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/70ee359d-25b0-4851-bd78-74f2291cd529n%40googlegroups.com.
[google-appengine] Re: Problems using Cloud Storge in my apllication
I have only *runtime: php81* in my app.yaml. El miércoles, 22 de junio de 2022 a las 0:03:54 UTC+2, Andres Fiesco Casasola escribió: > It is important to know if you are using a flexible or standard > environment since flex environment is compatible with PHP 7.2 and 7.3 > runtimes, and standard is compatible with PHP 8.1, but in its preview phase > [1], [2]. You can use PHP 8.1 in flex environment, but you need to use > custom runtimes [5] and provide a custom Docker image or Dockerfile from > the open source community. > > How to know if you are in a Standard or Flexible environment: > > In your app.yaml, find the runtime line. > > If it looks similar to the following: > > runtime: php81 # Replace with php74 to use PHP 7.4 > > Then you are running under a standard environment [3]. > > And if it looks like this other example: > > runtime: python > > env: flex > > runtime_config: > > python_version: 3 > > Then you are using a flexible environment for the deployment [4]. > > [1]:https://cloud.google.com/appengine/docs/php > > [2]:https://cloud.google.com/appengine/docs/the-appengine-environments > > [3]: > https://cloud.google.com/appengine/docs/standard/php-gen2/config/appref > > [4]: > https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#general > > [5]: > https://cloud.google.com/appengine/docs/flexible/custom-runtimes/quickstart > > > On Tuesday, June 21, 2022 at 10:36:38 AM UTC-5 phu...@gmail.com wrote: > >> HI. >> >> PHP 8.1, I dont't know if standard or flexible. Yes, I can connect to >> Gcloud Storage with web browser. >> >> El lunes, 20 de junio de 2022 a las 20:18:25 UTC+2, Osvaldo Lopez Acuña >> escribió: >> >>> Are you able to connect locally to Google Cloud Storage? Are you using a >>> standard or flexible App Engine environment? Which PHP version are you >>> working on? >>> >>> On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote: >>> >>>> Hi all. >>>> >>>> I'm deploying my Yii 2 PHP application in Google Cloud Platform, using >>>> App Engine. Locally, the app works fine, but it doesn't work at Google >>>> Cloud. I dont't know how to configure my application to work wit Goocle >>>> Cloud Storage. I have this code at *config/web.php*: >>>> >>>> 'components' => [ >>>> 'assetManager' => [ >>>> 'basePath'=>'gs://url-to-my-bucket', >>>> 'baseUrl'=>'@web', >>>> ], >>>> >>>> But I have the next exception: >>>> >>>> [image: excepcion.png] >>>> >>>> Locally, I use this code: >>>> >>>> 'components' => [ >>>> 'assetManager' => [ >>>> 'basePath'=>'@webroot', >>>> 'baseUrl'=>'@web', >>>> ], >>>> >>>> And it works, but in Google Cloud I have another exception: >>>> >>>> [image: excepcion2.png] >>>> >>>> ¿What can I do? I don't have experience with Yii 2 and also wit Google >>>> Cloud :( >>>> >>>> Thank you very much, sorry if my English is not very well. >>>> >>> -- 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/4e3bc200-dd7c-4367-93da-8f237b506151n%40googlegroups.com.
[google-appengine] Re: Problems using Cloud Storge in my apllication
It is important to know if you are using a flexible or standard environment since flex environment is compatible with PHP 7.2 and 7.3 runtimes, and standard is compatible with PHP 8.1, but in its preview phase [1], [2]. You can use PHP 8.1 in flex environment, but you need to use custom runtimes [5] and provide a custom Docker image or Dockerfile from the open source community. How to know if you are in a Standard or Flexible environment: In your app.yaml, find the runtime line. If it looks similar to the following: runtime: php81 # Replace with php74 to use PHP 7.4 Then you are running under a standard environment [3]. And if it looks like this other example: runtime: python env: flex runtime_config: python_version: 3 Then you are using a flexible environment for the deployment [4]. [1]:https://cloud.google.com/appengine/docs/php [2]:https://cloud.google.com/appengine/docs/the-appengine-environments [3]:https://cloud.google.com/appengine/docs/standard/php-gen2/config/appref [4]: https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#general [5]: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/quickstart On Tuesday, June 21, 2022 at 10:36:38 AM UTC-5 phu...@gmail.com wrote: > HI. > > PHP 8.1, I dont't know if standard or flexible. Yes, I can connect to > Gcloud Storage with web browser. > > El lunes, 20 de junio de 2022 a las 20:18:25 UTC+2, Osvaldo Lopez Acuña > escribió: > >> Are you able to connect locally to Google Cloud Storage? Are you using a >> standard or flexible App Engine environment? Which PHP version are you >> working on? >> >> On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote: >> >>> Hi all. >>> >>> I'm deploying my Yii 2 PHP application in Google Cloud Platform, using >>> App Engine. Locally, the app works fine, but it doesn't work at Google >>> Cloud. I dont't know how to configure my application to work wit Goocle >>> Cloud Storage. I have this code at *config/web.php*: >>> >>> 'components' => [ >>> 'assetManager' => [ >>> 'basePath'=>'gs://url-to-my-bucket', >>> 'baseUrl'=>'@web', >>> ], >>> >>> But I have the next exception: >>> >>> [image: excepcion.png] >>> >>> Locally, I use this code: >>> >>> 'components' => [ >>> 'assetManager' => [ >>> 'basePath'=>'@webroot', >>> 'baseUrl'=>'@web', >>> ], >>> >>> And it works, but in Google Cloud I have another exception: >>> >>> [image: excepcion2.png] >>> >>> ¿What can I do? I don't have experience with Yii 2 and also wit Google >>> Cloud :( >>> >>> Thank you very much, sorry if my English is not very well. >>> >> -- 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/75bf4488-1dbd-4e8d-9eb1-1327840b81ean%40googlegroups.com.
[google-appengine] Re: Problems using Cloud Storge in my apllication
It is important to know if you are using a flexible or standard environment since flex environment is compatible with PHP 7.2 and 7.3, and standard is compatible with PHP 8.1, but in its preview phase [1], [2]. How to know if you are in a Standard or Flexible environment: In your app.yaml, find the runtime line. If your app.yaml starts with: runtime: php81 # Replace with php74 to use PHP 7.4 Then you are running under a standard environment [3]. And if your app.yaml starts with: runtime: python env: flex runtime_config: python_version: 3 Then you are using a flexible environment for the deployment [4]. [1]:https://cloud.google.com/appengine/docs/php [2]:https://cloud.google.com/appengine/docs/the-appengine-environments [3]:https://cloud.google.com/appengine/docs/standard/php-gen2/config/appref [4]: https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#general On Tuesday, June 21, 2022 at 10:36:38 AM UTC-5 phu...@gmail.com wrote: > HI. > > PHP 8.1, I dont't know if standard or flexible. Yes, I can connect to > Gcloud Storage with web browser. > > El lunes, 20 de junio de 2022 a las 20:18:25 UTC+2, Osvaldo Lopez Acuña > escribió: > >> Are you able to connect locally to Google Cloud Storage? Are you using a >> standard or flexible App Engine environment? Which PHP version are you >> working on? >> >> On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote: >> >>> Hi all. >>> >>> I'm deploying my Yii 2 PHP application in Google Cloud Platform, using >>> App Engine. Locally, the app works fine, but it doesn't work at Google >>> Cloud. I dont't know how to configure my application to work wit Goocle >>> Cloud Storage. I have this code at *config/web.php*: >>> >>> 'components' => [ >>> 'assetManager' => [ >>> 'basePath'=>'gs://url-to-my-bucket', >>> 'baseUrl'=>'@web', >>> ], >>> >>> But I have the next exception: >>> >>> [image: excepcion.png] >>> >>> Locally, I use this code: >>> >>> 'components' => [ >>> 'assetManager' => [ >>> 'basePath'=>'@webroot', >>> 'baseUrl'=>'@web', >>> ], >>> >>> And it works, but in Google Cloud I have another exception: >>> >>> [image: excepcion2.png] >>> >>> ¿What can I do? I don't have experience with Yii 2 and also wit Google >>> Cloud :( >>> >>> Thank you very much, sorry if my English is not very well. >>> >> -- 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/449cedc3-ba38-431b-90a2-f3ec3a505b93n%40googlegroups.com.
[google-appengine] Re: Problems using Cloud Storge in my apllication
HI. PHP 8.1, I dont't know if standard or flexible. Yes, I can connect to Gcloud Storage with web browser. El lunes, 20 de junio de 2022 a las 20:18:25 UTC+2, Osvaldo Lopez Acuña escribió: > Are you able to connect locally to Google Cloud Storage? Are you using a > standard or flexible App Engine environment? Which PHP version are you > working on? > > On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote: > >> Hi all. >> >> I'm deploying my Yii 2 PHP application in Google Cloud Platform, using >> App Engine. Locally, the app works fine, but it doesn't work at Google >> Cloud. I dont't know how to configure my application to work wit Goocle >> Cloud Storage. I have this code at *config/web.php*: >> >> 'components' => [ >> 'assetManager' => [ >> 'basePath'=>'gs://url-to-my-bucket', >> 'baseUrl'=>'@web', >> ], >> >> But I have the next exception: >> >> [image: excepcion.png] >> >> Locally, I use this code: >> >> 'components' => [ >> 'assetManager' => [ >> 'basePath'=>'@webroot', >> 'baseUrl'=>'@web', >> ], >> >> And it works, but in Google Cloud I have another exception: >> >> [image: excepcion2.png] >> >> ¿What can I do? I don't have experience with Yii 2 and also wit Google >> Cloud :( >> >> Thank you very much, sorry if my English is not very well. >> > -- 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/e6a4bf8b-af4f-491e-8f32-7e4c722b3993n%40googlegroups.com.
[google-appengine] Re: Problems using Cloud Storge in my apllication
Are you able to connect locally to Google Cloud Storage? Are you using a standard or flexible App Engine environment? Which PHP version are you working on? On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote: > Hi all. > > I'm deploying my Yii 2 PHP application in Google Cloud Platform, using App > Engine. Locally, the app works fine, but it doesn't work at Google Cloud. I > dont't know how to configure my application to work wit Goocle Cloud > Storage. I have this code at *config/web.php*: > > 'components' => [ > 'assetManager' => [ > 'basePath'=>'gs://url-to-my-bucket', > 'baseUrl'=>'@web', > ], > > But I have the next exception: > > [image: excepcion.png] > > Locally, I use this code: > > 'components' => [ > 'assetManager' => [ > 'basePath'=>'@webroot', > 'baseUrl'=>'@web', > ], > > And it works, but in Google Cloud I have another exception: > > [image: excepcion2.png] > > ¿What can I do? I don't have experience with Yii 2 and also wit Google > Cloud :( > > Thank you very much, sorry if my English is not very well. > -- 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/e562606e-1671-439c-aa7f-8e5428faf76cn%40googlegroups.com.
[google-appengine] Re: Phantom Front End instances are being counted and billed
My bad... The old default version was a F1 class. The new default (and only) version is F4 class. Question answered... On Sunday, June 19, 2022 at 8:34:15 AM UTC+12 OferR wrote: > Following the change to '*App Engine max_idle_instances setting will > apply per-version starting May 24, 2022*', I have migrated all traffic to > a single version and removed 3 other versions. > > My settings are (for all current and deleted versions): > min_idle_instances = 1 > max_idle_instances = 1 > > The Console's Instances Count show a normal behavior. > However, hours are counted and billed as if there are some 4 extra > instances running at all times. > > I have disabled and re-enables the application. > When disabled, no hours are counted. When re-enabled, the same issue > persists. > > I cannot easily re-deploy, as I will have to catch up with all changes of > the past 2 years. > > Help anyone? > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/60c846ea-ef2c-4dd3-8c4e-dcf1f6ebc0den%40googlegroups.com.
[google-appengine] Phantom Front End instances are being counted and billed
Following the change to '*App Engine max_idle_instances setting will apply per-version starting May 24, 2022*', I have migrated all traffic to a single version and removed 3 other versions. My settings are (for all current and deleted versions): min_idle_instances = 1 max_idle_instances = 1 The Console's Instances Count show a normal behavior. However, hours are counted and billed as if there are some 4 extra instances running at all times. I have disabled and re-enables the application. When disabled, no hours are counted. When re-enabled, the same issue persists. I cannot easily re-deploy, as I will have to catch up with all changes of the past 2 years. Help anyone? 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3ea56d76-7070-4d27-a62d-f3efda4f3c32n%40googlegroups.com.
[google-appengine] Re: App Engine Phishing Website
Thank you Hector for your help and for escalating internally. Our company is a Web Risk customer so we push URLs to Web Risk via API as opposed to the public facing website. Would your team be open to possibly vetting my company for direct access to report Phishing Websites hosted on GCE or App Engine? Dan Babbitt Director, Security Operations Allure Security 877-669-8883 x717 https://www.alluresecurity.com/ On Friday, June 17, 2022 at 2:00:52 PM UTC-4 Hector Martinez Rodriguez wrote: > The form you submitted is correct, but you can additionally use this one > <https://safebrowsing.google.com/safebrowsing/report_phish/> to report > the fraudulent clone. Nevertheless, we created an internal report to > escalate this concern too. > > On Thursday, June 16, 2022 at 4:58:18 PM UTC-5 dbab...@alluresecurity.com > wrote: > >> Hello, >> I used the form >> <https://support.google.com/code/contact/cloud_platform_report> to >> report a phishing website 10 days ago and the site, while difficult to >> reach, is still publicly accessible. >> >> What can we do to escalate? >> >> IP address: 34.145.113.173 >> https://34.145.113.173/ >> *Hostname:* 173.113.145.34.bc.googleusercontent.com. >> >> That's a fraudulent clone of First Republic Bank's online banking website. >> >> >> -- 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/42aab346-2078-4494-9361-6b9334ee77fdn%40googlegroups.com.
[google-appengine] Re: App Engine Phishing Website
The form you submitted is correct, but you can additionally use this one <https://safebrowsing.google.com/safebrowsing/report_phish/> to report the fraudulent clone. Nevertheless, we created an internal report to escalate this concern too. On Thursday, June 16, 2022 at 4:58:18 PM UTC-5 dbab...@alluresecurity.com wrote: > Hello, > I used the form > <https://support.google.com/code/contact/cloud_platform_report> to report > a phishing website 10 days ago and the site, while difficult to reach, is > still publicly accessible. > > What can we do to escalate? > > IP address: 34.145.113.173 > https://34.145.113.173/ > *Hostname:* 173.113.145.34.bc.googleusercontent.com. > > That's a fraudulent clone of First Republic Bank's online banking website. > > > -- 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/ae033d4f-4057-4587-86cb-a62ae64ddd8dn%40googlegroups.com.
Re: [google-appengine] Re: appengine cron jobs
It seems there is no way to delete them directly from the Console. Instead, you will need to follow the documentation on Deleting cron jobs <https://cloud.google.com/appengine/docs/flexible/nodejs/scheduling-jobs-with-cron-yaml#deleting_cron_jobs> selecting the language you are currently using. Here is an example using Python and Java <https://stackoverflow.com/questions/2433899/how-to-deregister-a-cron-job-in-appengine>, and here is another using the gcloud command tool <https://stackoverflow.com/questions/47492050/how-to-cancel-or-stop-google-app-engine-cron-job> . On Wednesday, June 15, 2022 at 10:21:39 PM UTC-5 rajesh...@veersoftsolutions.com wrote: > I dont see the jobs to pause them. Regards, > > [image: image.png] > > On Thu, Jun 16, 2022 at 12:36 AM 'Andres Marquez Rodriguez' via Google App > Engine wrote: > >> You can’t ‘stop’ it, but here is a documentation on how to pause it. [1] >> >> [1] https://cloud.google.com/scheduler/docs/creating?hl=en#pause >> On Wednesday, June 15, 2022 at 3:25:20 AM UTC-5 >> rajesh...@veersoftsolutions.com wrote: >> >>> Hello, >>> How do I stop 'appengine-cron-jobs' from a console? >>> I am referring to the following screen in the console >>> >>> [image: image.png] >>> >>> >>> -- >>> Support Team >>> www.servicefolder.com >>> <https://mailtrack.io/trace/link/71ee40a6b018dcf8aba366a59bf36ebc892aecca?url=https%3A%2F%2Fwww.servicefolder.com=6615365=e6a13c2e624b1529> >>> *Field Service Software 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-appengi...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com?utm_medium=email_source=footer> >> . >> > > -- > Support Team > www.servicefolder.com > *Field Service Software 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eb34a6b4-4fad-4518-ae48-7d4279bb0a19n%40googlegroups.com.
[google-appengine] App Engine Phishing Website
Hello, I used the form <https://support.google.com/code/contact/cloud_platform_report> to report a phishing website 10 days ago and the site, while difficult to reach, is still publicly accessible. What can we do to escalate? IP address: 34.145.113.173 https://34.145.113.173/ *Hostname:* 173.113.145.34.bc.googleusercontent.com. That's a fraudulent clone of First Republic Bank's online banking website. -- 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/2a0b704f-6721-4ccc-a84e-16284fb0555en%40googlegroups.com.
Re: [google-appengine] Re: appengine cron jobs
I dont see the jobs to pause them. Regards, [image: image.png] On Thu, Jun 16, 2022 at 12:36 AM 'Andres Marquez Rodriguez' via Google App Engine wrote: > You can’t ‘stop’ it, but here is a documentation on how to pause it. [1] > > [1] https://cloud.google.com/scheduler/docs/creating?hl=en#pause > On Wednesday, June 15, 2022 at 3:25:20 AM UTC-5 > rajesh...@veersoftsolutions.com wrote: > >> Hello, >> How do I stop 'appengine-cron-jobs' from a console? >> I am referring to the following screen in the console >> >> [image: image.png] >> >> >> -- >> Support Team >> www.servicefolder.com >> <https://mailtrack.io/trace/link/71ee40a6b018dcf8aba366a59bf36ebc892aecca?url=https%3A%2F%2Fwww.servicefolder.com=6615365=e6a13c2e624b1529> >> *Field Service Software 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 view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Support Team www.servicefolder.com *Field Service Software 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbGDeaPunjtK1PLhq0iFXhg5AU9ROA9TiKQgxtf9kL8XQ%40mail.gmail.com.
[google-appengine] Re: appengine cron jobs
You can’t ‘stop’ it, but here is a documentation on how to pause it. [1] [1] https://cloud.google.com/scheduler/docs/creating?hl=en#pause On Wednesday, June 15, 2022 at 3:25:20 AM UTC-5 rajesh...@veersoftsolutions.com wrote: > Hello, > How do I stop 'appengine-cron-jobs' from a console? > I am referring to the following screen in the console > > [image: image.png] > > > -- > Support Team > www.servicefolder.com > <https://mailtrack.io/trace/link/71ee40a6b018dcf8aba366a59bf36ebc892aecca?url=https%3A%2F%2Fwww.servicefolder.com=6615365=e6a13c2e624b1529> > *Field Service Software 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a603e840-dd7d-4213-a1a9-4cba745ecf24n%40googlegroups.com.
Re: [google-appengine] Re: Not able to delete app engine
Hi, Please refer to the attachment, I have done some testing and after that want to delete this on my personal account. I'm not able to delete, now I have disabled app but I'm not sure billing is still active. I have deleted the bucket as well but only not able to delete this app engine. Regards, Siddhesh Kadu On Wed, Jun 15, 2022 at 10:28 PM 'Osvaldo Lopez Acuña' via Google App Engine wrote: > > Please share exactly what you have tried to delete your versions and service, > what documentation you have checked, any error or log you have. If your > environment is standard or flexible and also it might be helpful to share > which language you are using. Finally, make sure you have the right > credentials to do it. > > If you’re using Cloud SDK this document [1] might be helpful. Consider that > you cannot delete a version of a service that is currently receiving traffic. > > [1]:https://cloud.google.com/sdk/gcloud/reference/app/versions/delete > > On Tuesday, June 14, 2022 at 4:26:42 PM UTC-5 sidh@gmail.com wrote: >> >> Hi Team, >> >> I have created app engine for some testing, but now I'm not able to delete. >> >> Can you please help me, how to delete Versions and services. >> >> Regards, >> Siddhesh Kadu > > -- > 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/89c2f99e-fa3d-4abc-96eb-f1c8d55d16e4n%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/CAK77F48rE%3D7chxeKsJX7k-Ry3R4pQP8iDGMKt7CqwfZn_DHpjg%40mail.gmail.com.
[google-appengine] Re: Not able to delete app engine
Please share exactly what you have tried to delete your versions and service, what documentation you have checked, any error or log you have. If your environment is standard or flexible and also it might be helpful to share which language you are using. Finally, make sure you have the right credentials to do it. If you’re using Cloud SDK this document [1] might be helpful. Consider that you cannot delete a version of a service that is currently receiving traffic. [1]:https://cloud.google.com/sdk/gcloud/reference/app/versions/delete On Tuesday, June 14, 2022 at 4:26:42 PM UTC-5 sidh@gmail.com wrote: > Hi Team, > > I have created app engine for some testing, but now I'm not able to delete. > > Can you please help me, how to delete Versions and services. > > Regards, > Siddhesh Kadu > -- 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/89c2f99e-fa3d-4abc-96eb-f1c8d55d16e4n%40googlegroups.com.
[google-appengine] Creation of image from iso and use it for creation of working compute instance
Hi GCP group, Can anyone help in achieving this task. 1) iso to bootable image 2) bootable image to compute instance 3) and ssh and rdp should work without any issues for the created vm. Initially we followed this steps in the following documentation. https://cloud.google.com/compute/docs/images/creating-an-image-from-an-iso-file#local-iso-file But the problem is we are able to create the image out of it. But the image created is not a bootable one. Hence the compute engine instance created out of it will not have a bootable os on it and we cant rdp and ssh on respective windows and linux vm's. Can anyone find a alternative solution or fix for this issue? 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/721ff579-e877-4d1c-874e-390fdf5224bfn%40googlegroups.com.
[google-appengine] appengine cron jobs
Hello, How do I stop 'appengine-cron-jobs' from a console? I am referring to the following screen in the console [image: image.png] -- Support Team www.servicefolder.com <https://mailtrack.io/trace/link/71ee40a6b018dcf8aba366a59bf36ebc892aecca?url=https%3A%2F%2Fwww.servicefolder.com=6615365=e6a13c2e624b1529> *Field Service Software 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijb3pqCFsmAX5bcVgGk15cwN30amyaSpjndUhUz0eO%3D7zg%40mail.gmail.com.
[google-appengine] Not able to delete app engine
Hi Team, I have created app engine for some testing, but now I'm not able to delete. Can you please help me, how to delete Versions and services. Regards, Siddhesh Kadu -- 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/8c3f801c-e7ff-40ad-a788-470641266931n%40googlegroups.com.
[google-appengine] Compute engine - Not able to run startup script
I am not able to run startup script . Getting the following error ` systemd[1]: google-startup-scripts.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: google-startup-scripts.service: Failed with result 'exit-code' systemd[1]: Failed to start Google Compute Engine Startup Scripts. ` and my startup script ` #! /bin/bash apt-get remove --auto-remove sshguard apt-get purge --auto-remove sshguard ` Instance Image : ubuntu-1804-bionic-v20190722a Am I doing something wrong ?. Added the startup script in the metadata and restarted the instance. Note: I am not able to run browser SSH due to some issue. To debug the issue I am trying to disable the 'sshguard' service in the instance 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/5dd4f5bf-215b-4cc0-a15d-be481c350f8bn%40googlegroups.com.
[google-appengine] Re: App Engine & Cloud Run in VPC
The VPC serverless connectors would work well for this purpose, since they are used to connect your serverless services to a VPC with internal IP addresses. This ensures that the connection between the front and back ends goes through the VPC and not the internet. This documentation <https://cloud.google.com/vpc/docs/serverless-vpc-access> should be a starting point to know more about VPC serverless access. On Monday, June 6, 2022 at 9:55:29 AM UTC-5 kryt...@googlemail.com wrote: > Hi > I am setting up a front-end in App Engine which speaks to a back-end in > Cloud Run and I'd like all the traffic to be private (internal only). > > Is it necessary to use a serverless VPC Connector for this? > > I had pictured just adding these resources to the VPC subnet for the > relevant region. Any pointers would be very welcome! > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c323f3c6-c787-4e7f-933c-36b860188a7cn%40googlegroups.com.
[google-appengine] Re: Using pubsub to trigger subsequent cloud build with filtering
According to the error message, certain variables aren't sufficiently defined. Could you please check your IAM allocated roles? You should be something close to an "admin." It appears to be a rights-related error. Under Cloud Build, look at the Logging sections. Whether there isn't anything, you could try editing the trigger with the API <https://cloud.google.com/build/docs/api/reference/rest/v1/projects.triggers/patch> to see if it also fails. It might provide further information about the real error. Identity requirements To update Cloud Build triggers, you'll need the permission <https://cloud.google.com/build/docs/iam-roles-permissions#permissions> cloudbuild.build.create. You can also try disabling and enabling the Cloud Build API in your project so a new service account is created, or adding the role “App Engine Deployer” to the cloud build service account, then try to deploy again. On Friday, June 3, 2022 at 2:45:49 PM UTC-5 t...@terratrue.com wrote: > > To be 100% explicit, I am adding the following into the Filters section of > my Cloud Build Trigger, within the "Filter Editor" tab, as the first tab > doesn't let me select anything useful from the build pub/sub message. This > is right from the documentation. > > *filter: build.status == Build.Status.SUCCESS* > > And when I try to save my trigger, I receive this error at the bottom of > the page: > > *Failed to update trigger: generic::invalid_argument: ERROR: :1:7: > Syntax error: mismatched input ':' expecting | filter: build.status > == Build.Status.SUCCESS | ..^* > > I also tried removing "*filter: *" as it seems redundant to have that, > but that also fails with an error: > > *Failed to update trigger: generic::invalid_argument: ERROR: :1:1: > undeclared reference to 'build' (in container '') | build.status == > Build.Status.SUCCESS | ^ ERROR: :1:17: undeclared reference to > 'Build' (in container '') | build.status == Build.Status.SUCCESS | > ^* > > Nothing I have tried seems to be valid in this and the documentation link > right there in the trigger editor UI is exactly the documentation giving > the examples. > [image: cloud-build-trigger-filters-error.png] > > I've been working at this for a few days, and I'm out of ideas for making > this function as documented. Please, some assistance is needed. > > Thanks. > > On Thursday, June 2, 2022 at 5:52:19 PM UTC-7 Tom Harris wrote: > >> >> I have one cloud build trigger in one of our projects that deploys an App >> Engine. I have also created a pubsub topic named 'cloud-builds' in this >> same project, and I see that build event messages are being sent to that >> topic during and at the end of builds. >> >> I am attempting to use this topic in another project with a pubsub cloud >> build trigger. This works, but has no filtering, and as described on this >> page, its firing the build way too often: >> >> >> https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#risks_associated_with_an_unfiltered_trigger >> >> Now, all I need to determine how to do is add the filtering so only >> successful builds with the right trigger ID are used. The documentation ( >> https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#using_cel_to_filter_build_events) >> >> says to add something like this to my cloud build trigger filter: >> >> filter: build.build_trigger_id == "redacted" && build.status == >> Build.Status.SUCCESS >> >> However, I am never able to save my trigger, as whatever I type into the >> filter fails syntax validation. All the examples given on that page fail. I >> have not been able to find any examples on the net, either. I have tried >> subsets of these, exactly as described in the documentation, and they all >> fail with syntax errors. >> >> How is this supposed to be entered into the cloud build trigger filter? >> We cannot have every one of the pubsub messages firing a build, as I saw at >> least 15 messages delivered when there was no filter, triggering 15 builds >> in quick succession, most of which failed due to app engine deployment >> concurrency. >> >> Please, need some assistance. Also, better documentation around this area >> would be good. >> >> Many thanks, >> Tom Harris >> >> >> -- 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/774004fd-e9c3-42b6-ae28-c58e03f52a8fn%40googlegroups.com.
[google-appengine] App Engine & Cloud Run in VPC
Hi I am setting up a front-end in App Engine which speaks to a back-end in Cloud Run and I'd like all the traffic to be private (internal only). Is it necessary to use a serverless VPC Connector for this? I had pictured just adding these resources to the VPC subnet for the relevant region. Any pointers would be very welcome! 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/77a92131-80e2-4c2b-b9fc-cbc47095d94cn%40googlegroups.com.
[google-appengine] Re: Using pubsub to trigger subsequent cloud build with filtering
To be 100% explicit, I am adding the following into the Filters section of my Cloud Build Trigger, within the "Filter Editor" tab, as the first tab doesn't let me select anything useful from the build pub/sub message. This is right from the documentation. *filter: build.status == Build.Status.SUCCESS* And when I try to save my trigger, I receive this error at the bottom of the page: *Failed to update trigger: generic::invalid_argument: ERROR: :1:7: Syntax error: mismatched input ':' expecting | filter: build.status == Build.Status.SUCCESS | ..^* I also tried removing "*filter: *" as it seems redundant to have that, but that also fails with an error: *Failed to update trigger: generic::invalid_argument: ERROR: :1:1: undeclared reference to 'build' (in container '') | build.status == Build.Status.SUCCESS | ^ ERROR: :1:17: undeclared reference to 'Build' (in container '') | build.status == Build.Status.SUCCESS | ^* Nothing I have tried seems to be valid in this and the documentation link right there in the trigger editor UI is exactly the documentation giving the examples. [image: cloud-build-trigger-filters-error.png] I've been working at this for a few days, and I'm out of ideas for making this function as documented. Please, some assistance is needed. Thanks. On Thursday, June 2, 2022 at 5:52:19 PM UTC-7 Tom Harris wrote: > > I have one cloud build trigger in one of our projects that deploys an App > Engine. I have also created a pubsub topic named 'cloud-builds' in this > same project, and I see that build event messages are being sent to that > topic during and at the end of builds. > > I am attempting to use this topic in another project with a pubsub cloud > build trigger. This works, but has no filtering, and as described on this > page, its firing the build way too often: > > > https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#risks_associated_with_an_unfiltered_trigger > > Now, all I need to determine how to do is add the filtering so only > successful builds with the right trigger ID are used. The documentation ( > https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#using_cel_to_filter_build_events) > > says to add something like this to my cloud build trigger filter: > > filter: build.build_trigger_id == "redacted" && build.status == > Build.Status.SUCCESS > > However, I am never able to save my trigger, as whatever I type into the > filter fails syntax validation. All the examples given on that page fail. I > have not been able to find any examples on the net, either. I have tried > subsets of these, exactly as described in the documentation, and they all > fail with syntax errors. > > How is this supposed to be entered into the cloud build trigger filter? We > cannot have every one of the pubsub messages firing a build, as I saw at > least 15 messages delivered when there was no filter, triggering 15 builds > in quick succession, most of which failed due to app engine deployment > concurrency. > > Please, need some assistance. Also, better documentation around this area > would be good. > > Many thanks, > Tom Harris > > > -- 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/e4e20d14-8b5a-4922-93a7-06025f370e30n%40googlegroups.com.
[google-appengine] Re: The API call datastore_v3.Put() enable
Thanks, Its working with your suggestion. On Tuesday, 31 May 2022 at 01:07:06 UTC+5:30 NoCommandLine wrote: > Correction - '*gcloud beta app deploy*' > > On Monday, May 30, 2022 at 12:33:27 PM UTC-7 NoCommandLine wrote: > >> Try deploying your app with *'gcloud app beta deploy' *instead of the >> normal 'gcloud app deploy' >> >> When 'Bundled API for Python 3' was first released, it was only available >> in beta and required you to use 'gcloud app beta' commands. If you didn't, >> you would get the error about enabling 'app_engine_apis' even when you had >> it enabled. >> >> The github sample/documentation >> <https://github.com/GoogleCloudPlatform/appengine-python-standard> still >> has that instruction but the main documentation >> <https://cloud.google.com/appengine/docs/standard/python3/services/access> >> no longer has it. >> >> >> * .* NoCommandLine *..* >> https://nocommandline.com >> *A GUI for Google App Engine* >> >> On Monday, May 30, 2022 at 10:24:50 AM UTC-7 ankit...@gmail.com wrote: >> >>> Can anyone help us into this please. >>> >>> On Monday, 30 May 2022 at 16:34:51 UTC+5:30 Ankit Dwivedi wrote: >>> >>>> Hi All, >>>> >>>> We are facing a issue when trying to use memcache in one of our >>>> application and getting below error. >>>> >>>> Traceback (most recent call last): File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>>> line 2077, in wsgi_app response = self.full_dispatch_request() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>>> line 1525, in full_dispatch_request rv = self.handle_user_exception(e) >>>> File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>>> line 1523, in full_dispatch_request rv = self.dispatch_request() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>>> line 1509, in dispatch_request return >>>> self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File >>>> "/srv/main.py", line 32, in root store_visit(ip_addr, usr_agt) File >>>> "/srv/main.py", line 16, in store_visit Visit(visitor='{}: >>>> {}'.format(remote_addr, user_agent)).put() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/model.py", >>>> >>>> line 3538, in _put return self._put_async(**ctx_options).get_result() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>>> >>>> line 397, in get_result self.check_success() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>>> >>>> line 394, in check_success six.reraise(self._exception.__class__, >>>> self._exception, self._traceback) File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/six.py", line >>>> 719, in reraise raise value File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>>> >>>> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >>>> File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >>>> >>>> line 850, in put key = yield self._put_batcher.add(entity, options) File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>>> >>>> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >>>> File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >>>> >>>> line 382, in _put_tasklet keys = yield self._conn.async_put(options, >>>> datastore_entities) File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>>> >>>> line 527, in _on_rpc_completion result = rpc.get_result() File >>>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", >>>> >>>> line 64
[google-appengine] Using pubsub to trigger subsequent cloud build with filtering
I have one cloud build trigger in one of our projects that deploys an App Engine. I have also created a pubsub topic named 'cloud-builds' in this same project, and I see that build event messages are being sent to that topic during and at the end of builds. I am attempting to use this topic in another project with a pubsub cloud build trigger. This works, but has no filtering, and as described on this page, its firing the build way too often: https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#risks_associated_with_an_unfiltered_trigger Now, all I need to determine how to do is add the filtering so only successful builds with the right trigger ID are used. The documentation (https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#using_cel_to_filter_build_events) says to add something like this to my cloud build trigger filter: filter: build.build_trigger_id == "redacted" && build.status == Build.Status.SUCCESS However, I am never able to save my trigger, as whatever I type into the filter fails syntax validation. All the examples given on that page fail. I have not been able to find any examples on the net, either. I have tried subsets of these, exactly as described in the documentation, and they all fail with syntax errors. How is this supposed to be entered into the cloud build trigger filter? We cannot have every one of the pubsub messages firing a build, as I saw at least 15 messages delivered when there was no filter, triggering 15 builds in quick succession, most of which failed due to app engine deployment concurrency. Please, need some assistance. Also, better documentation around this area would be good. Many thanks, Tom Harris -- 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/3d4b74b4-30c4-437b-b1c9-f55de84ade7dn%40googlegroups.com.
[google-appengine] Re: Adding custom domain that does not support AAAA
Which domain name registrar are you using for your domain? Also, what is the incompatibility you are seeing with records from your App Engine app? You can check the documentation <https://cloud.google.com/appengine/docs/standard/python3/mapping-custom-domains#dns_update> for additional information, which includes how to map A or records from your App Engine app to your domain. On Wednesday, June 1, 2022 at 5:22:00 PM UTC-5 rafael.es...@gmail.com wrote: > We have added a custom domain in our AppEngine, but the DNS does not > resolve correctly. Invoking the domain causes an > ERR_SSL_VERSION_OR_CIPHER_MISMATCH error. From origin there is no > compatibility with . Is there a configuration alternative to that > we can add to our AppEngine to resolve this 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/9ac867f9-2812-4aa9-8918-ad1106e0aea5n%40googlegroups.com.
[google-appengine] Re: Problem Upgrading from 354.0.0
As a workaround, you can install Python 3 and set the CLOUDSDK_PYTHON env var to python3. On Wednesday, June 1, 2022 at 5:37:55 PM UTC-5 ron...@gmail.com wrote: > No, I'm still using version 354.0.0. This was the response from the > support team (I'm not sure they understand the issue is with their PHP > server dev_appserver.py). Let me know if you find an answer. > > *Hi,* > > *Thanks for contacting Google Cloud Platform Support Team,* > > *I was reviewing this issue and as the error message says, the environment > must only contain strings.* > > *Note that, judging by this traceback as example > <https://hg.python.org/cpython/file/ca54c27a9045/Modules/_winapi.c#l511>, > you are using Python 2.6(in this example case), so the linked code does not > in fact apply, because it comes from Python 3.3.0 beta2 > <https://hg.python.org/cpython/file/ca54c27a9045/README>. PyUnicode_Check > checks that the object is a unicode object, which makes sense in Python 3, > where strings are (internally implemented as) unicode objects. In Python > 2.6, however, the equivalent line > <https://hg.python.org/cpython/file/f130ce67387d/PC/_subprocess.c#l359> is > using PyString_Check.* > > *One workaround is to downgrade 364.0.0 to 354.0.0 to resolve this issue.* > > *Finally you can take a look to these 2 Stackoverflow post which also > include valuable details about this topic:* > > *can-only-contain-strings* > <https://stackoverflow.com/questions/12990622/windows-7-trigger-io-error-environment-can-only-contain-strings> > > *contains-a-unicode-object* > <https://stackoverflow.com/questions/12253014/why-does-popen-fail-on-windows-if-the-env-parameter-contains-a-unicode-object> > > *Thanks and regards.* > > On Wednesday, June 1, 2022 at 3:21:57 PM UTC-7 djsc...@gmail.com wrote: > >> Did you manage to solve this? Suffering the same issue on Windows 11 >> since updating components 'gcloud components update' >> >> On Friday, 19 November 2021 at 20:49:38 UTC 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=she
[google-appengine] Re: Problem Upgrading from 354.0.0
No, I'm still using version 354.0.0. This was the response from the support team (I'm not sure they understand the issue is with their PHP server dev_appserver.py). Let me know if you find an answer. *Hi,* *Thanks for contacting Google Cloud Platform Support Team,* *I was reviewing this issue and as the error message says, the environment must only contain strings.* *Note that, judging by this traceback as example <https://hg.python.org/cpython/file/ca54c27a9045/Modules/_winapi.c#l511>, you are using Python 2.6(in this example case), so the linked code does not in fact apply, because it comes from Python 3.3.0 beta2 <https://hg.python.org/cpython/file/ca54c27a9045/README>. PyUnicode_Check checks that the object is a unicode object, which makes sense in Python 3, where strings are (internally implemented as) unicode objects. In Python 2.6, however, the equivalent line <https://hg.python.org/cpython/file/f130ce67387d/PC/_subprocess.c#l359> is using PyString_Check.* *One workaround is to downgrade 364.0.0 to 354.0.0 to resolve this issue.* *Finally you can take a look to these 2 Stackoverflow post which also include valuable details about this topic:* *can-only-contain-strings* <https://stackoverflow.com/questions/12990622/windows-7-trigger-io-error-environment-can-only-contain-strings> *contains-a-unicode-object* <https://stackoverflow.com/questions/12253014/why-does-popen-fail-on-windows-if-the-env-parameter-contains-a-unicode-object> *Thanks and regards.* On Wednesday, June 1, 2022 at 3:21:57 PM UTC-7 djsc...@gmail.com wrote: > Did you manage to solve this? Suffering the same issue on Windows 11 since > updating components 'gcloud components update' > > On Friday, 19 November 2021 at 20:49:38 UTC 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_pa
[google-appengine] Adding custom domain that does not support AAAA
We have added a custom domain in our AppEngine, but the DNS does not resolve correctly. Invoking the domain causes an ERR_SSL_VERSION_OR_CIPHER_MISMATCH error. From origin there is no compatibility with . Is there a configuration alternative to that we can add to our AppEngine to resolve this 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/84d239b6-ca8e-47d1-a191-3830cd5d1f43n%40googlegroups.com.
[google-appengine] Re: Problem Upgrading from 354.0.0
Did you manage to solve this? Suffering the same issue on Windows 11 since updating components 'gcloud components update' On Friday, 19 November 2021 at 20:49:38 UTC 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/a6d4f401-b380-4fff-802a-d8fe4bb4e83bn%40googlegroups.com.
[google-appengine] Re: Google Cloud App Engine (GAE) Flexible: Load Balancer error: backend_connection_closed_before_data_sent_to_client
url_map_name": "", >> "target_proxy_name": "", >> "zone": "global", >> "project_id": "****", >> "backend_service_name": "", >> "forwarding_rule_name": "" >> } >> }, >> "timestamp": "2022-05-14T08:36:28.064500Z", >> "severity": "WARNING", >> "logName": "projects//logs/requests", >> "trace": "projects//traces/", >> "receiveTimestamp": "2022-05-14T08:36:28.882230792Z", >> "spanId": "" >> } >> >> Also I have some messages with >> >> /readiness_check failReason:"null" >> >> I've read Tuning NGINX behind Google Cloud Platform HTTP(S) Load Balancer >> <https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340#.6k2laoada>. >> >> But as I understand it is related to GCE(not GAE). >> >> For the current app it is VERY important to handle every request, so I >> want to be confident with fixing it. >> >> -- 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/f65f4edd-847f-40c1-a224-16cc8e5ded32n%40googlegroups.com.
[google-appengine] Re: The API call datastore_v3.Put() enable
Correction - '*gcloud beta app deploy*' On Monday, May 30, 2022 at 12:33:27 PM UTC-7 NoCommandLine wrote: > Try deploying your app with *'gcloud app beta deploy' *instead of the > normal 'gcloud app deploy' > > When 'Bundled API for Python 3' was first released, it was only available > in beta and required you to use 'gcloud app beta' commands. If you didn't, > you would get the error about enabling 'app_engine_apis' even when you had > it enabled. > > The github sample/documentation > <https://github.com/GoogleCloudPlatform/appengine-python-standard> still > has that instruction but the main documentation > <https://cloud.google.com/appengine/docs/standard/python3/services/access> > no longer has it. > > > * .* NoCommandLine *..* > https://nocommandline.com > *A GUI for Google App Engine* > > On Monday, May 30, 2022 at 10:24:50 AM UTC-7 ankit...@gmail.com wrote: > >> Can anyone help us into this please. >> >> On Monday, 30 May 2022 at 16:34:51 UTC+5:30 Ankit Dwivedi wrote: >> >>> Hi All, >>> >>> We are facing a issue when trying to use memcache in one of our >>> application and getting below error. >>> >>> Traceback (most recent call last): File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>> line 2077, in wsgi_app response = self.full_dispatch_request() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>> line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>> line 1523, in full_dispatch_request rv = self.dispatch_request() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >>> line 1509, in dispatch_request return >>> self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File >>> "/srv/main.py", line 32, in root store_visit(ip_addr, usr_agt) File >>> "/srv/main.py", line 16, in store_visit Visit(visitor='{}: >>> {}'.format(remote_addr, user_agent)).put() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/model.py", >>> >>> line 3538, in _put return self._put_async(**ctx_options).get_result() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>> >>> line 397, in get_result self.check_success() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>> >>> line 394, in check_success six.reraise(self._exception.__class__, >>> self._exception, self._traceback) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/six.py", line >>> 719, in reraise raise value File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>> >>> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >>> File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >>> >>> line 850, in put key = yield self._put_batcher.add(entity, options) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>> >>> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >>> File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >>> >>> line 382, in _put_tasklet keys = yield self._conn.async_put(options, >>> datastore_entities) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >>> >>> line 527, in _on_rpc_completion result = rpc.get_result() File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", >>> >>> line 648, in get_result return self.__get_result_hook(self) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", >>> >>> line 1875, in __put_hook self.check_rpc_success(rpc) File >>> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", >>> >>> line 1365, in check_rpc
[google-appengine] Re: The API call datastore_v3.Put() enable
Try deploying your app with *'gcloud app beta deploy' *instead of the normal 'gcloud app deploy' When 'Bundled API for Python 3' was first released, it was only available in beta and required you to use 'gcloud app beta' commands. If you didn't, you would get the error about enabling 'app_engine_apis' even when you had it enabled. The github sample/documentation <https://github.com/GoogleCloudPlatform/appengine-python-standard> still has that instruction but the main documentation <https://cloud.google.com/appengine/docs/standard/python3/services/access> no longer has it. * .* NoCommandLine *..* https://nocommandline.com *A GUI for Google App Engine* On Monday, May 30, 2022 at 10:24:50 AM UTC-7 ankit...@gmail.com wrote: > Can anyone help us into this please. > > On Monday, 30 May 2022 at 16:34:51 UTC+5:30 Ankit Dwivedi wrote: > >> Hi All, >> >> We are facing a issue when trying to use memcache in one of our >> application and getting below error. >> >> Traceback (most recent call last): File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >> line 2077, in wsgi_app response = self.full_dispatch_request() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >> line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >> line 1523, in full_dispatch_request rv = self.dispatch_request() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", >> line 1509, in dispatch_request return >> self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File >> "/srv/main.py", line 32, in root store_visit(ip_addr, usr_agt) File >> "/srv/main.py", line 16, in store_visit Visit(visitor='{}: >> {}'.format(remote_addr, user_agent)).put() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/model.py", >> >> line 3538, in _put return self._put_async(**ctx_options).get_result() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >> >> line 397, in get_result self.check_success() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >> >> line 394, in check_success six.reraise(self._exception.__class__, >> self._exception, self._traceback) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/six.py", line >> 719, in reraise raise value File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >> >> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >> File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >> >> line 850, in put key = yield self._put_batcher.add(entity, options) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >> >> line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) >> File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", >> >> line 382, in _put_tasklet keys = yield self._conn.async_put(options, >> datastore_entities) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", >> >> line 527, in _on_rpc_completion result = rpc.get_result() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", >> >> line 648, in get_result return self.__get_result_hook(self) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", >> >> line 1875, in __put_hook self.check_rpc_success(rpc) File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", >> >> line 1365, in check_rpc_success rpc.check_success() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", >> >> line 614, in check_success self.__rpc.CheckSuccess() File >> "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_rpc.py", >> >> line 149, in CheckSuccess raise self.exception File >> "/layers
[google-appengine] Re: The API call datastore_v3.Put() enable
Can anyone help us into this please. On Monday, 30 May 2022 at 16:34:51 UTC+5:30 Ankit Dwivedi wrote: > Hi All, > > We are facing a issue when trying to use memcache in one of our > application and getting below error. > > Traceback (most recent call last): File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", > line 2077, in wsgi_app response = self.full_dispatch_request() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", > line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", > line 1523, in full_dispatch_request rv = self.dispatch_request() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", > line 1509, in dispatch_request return > self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File > "/srv/main.py", line 32, in root store_visit(ip_addr, usr_agt) File > "/srv/main.py", line 16, in store_visit Visit(visitor='{}: > {}'.format(remote_addr, user_agent)).put() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/model.py", > > line 3538, in _put return self._put_async(**ctx_options).get_result() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", > > line 397, in get_result self.check_success() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", > > line 394, in check_success six.reraise(self._exception.__class__, > self._exception, self._traceback) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/six.py", line > 719, in reraise raise value File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", > > line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) > File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", > > line 850, in put key = yield self._put_batcher.add(entity, options) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", > > line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) > File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", > > line 382, in _put_tasklet keys = yield self._conn.async_put(options, > datastore_entities) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", > > line 527, in _on_rpc_completion result = rpc.get_result() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", > > line 648, in get_result return self.__get_result_hook(self) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", > > line 1875, in __put_hook self.check_rpc_success(rpc) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", > > line 1365, in check_rpc_success rpc.check_success() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", > > line 614, in check_success self.__rpc.CheckSuccess() File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_rpc.py", > > line 149, in CheckSuccess raise self.exception File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", > > line 276, in _CaptureTrace f(**kwargs) File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", > > line 269, in _SendRequest raise self._TranslateToError(parsed_response) > File > "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", > > line 135, in _TranslateToError raise self._ErrorException(exception_type, > msg) google.appengine.runtime.apiproxy_errors.FeatureNotEnabledError: The > API call datastore_v3.Put() is currently not enabled. -- Additional details > from server: App Engine APIs are not enabled, please add app_engine_apis: > true to your app.yaml to enable. > > We have already given app_engine_apis: true in our app.yaml file but still > getting same error. > > app.yam file -: > runtime: pyt
[google-appengine] The API call datastore_v3.Put() enable
Hi All, We are facing a issue when trying to use memcache in one of our application and getting below error. Traceback (most recent call last): File "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", line 2077, in wsgi_app response = self.full_dispatch_request() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", line 1523, in full_dispatch_request rv = self.dispatch_request() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/flask/app.py", line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/srv/main.py", line 32, in root store_visit(ip_addr, usr_agt) File "/srv/main.py", line 16, in store_visit Visit(visitor='{}: {}'.format(remote_addr, user_agent)).put() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/model.py", line 3538, in _put return self._put_async(**ctx_options).get_result() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", line 397, in get_result self.check_success() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", line 394, in check_success six.reraise(self._exception.__class__, self._exception, self._traceback) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/six.py", line 719, in reraise raise value File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", line 850, in put key = yield self._put_batcher.add(entity, options) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", line 441, in _help_tasklet_along value = gen.throw(exc.__class__, exc, tb) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/context.py", line 382, in _put_tasklet keys = yield self._conn.async_put(options, datastore_entities) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/ext/ndb/tasklets.py", line 527, in _on_rpc_completion result = rpc.get_result() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", line 648, in get_result return self.__get_result_hook(self) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", line 1875, in __put_hook self.check_rpc_success(rpc) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/datastore/datastore_rpc.py", line 1365, in check_rpc_success rpc.check_success() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_stub_map.py", line 614, in check_success self.__rpc.CheckSuccess() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/api/apiproxy_rpc.py", line 149, in CheckSuccess raise self.exception File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", line 276, in _CaptureTrace f(**kwargs) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", line 269, in _SendRequest raise self._TranslateToError(parsed_response) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/google/appengine/runtime/default_api_stub.py", line 135, in _TranslateToError raise self._ErrorException(exception_type, msg) google.appengine.runtime.apiproxy_errors.FeatureNotEnabledError: The API call datastore_v3.Put() is currently not enabled. -- Additional details from server: App Engine APIs are not enabled, please add app_engine_apis: true to your app.yaml to enable. We have already given app_engine_apis: true in our app.yaml file but still getting same error. app.yam file -: runtime: python39 app_engine_apis: true GCP Sample code for testing we are using - https://github.com/googlecodelabs/migrate-python2-appengine/tree/master/mod12b-memcache Can you please help us to resolve this issue. Regards, Rohit Chauhan -- 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/bb1744bf-e3b3-4449-9445-4736b5864a3en%40googlegroups.com.
[google-appengine] Re: GAE deployment throwing Error Response: [13] The system encountered a fatal error
The solution from the IssueTracker URL you were not able to access is also published in this <https://stackoverflow.com/questions/71339443/> Stackoverflow thread. You can try to check if it helps, but from the new error that you have received, it seems this is more of an issue related to the process of building your custom runtime on App Engine Flex. How long is the build process taking? In case it’s more than the default of 10 minutes, you’d have to set a larger timeout <https://cloud.google.com/build/docs/deploying-builds/deploy-appengine#configuring_the_deployment>, which can be done alternatively with this command: “gcloud config set app/cloud_build_timeout ”. Otherwise, doing a fresh build without using cached layers, could also help. You can use the “--no-cache” flag when running gcloud app deploy <https://cloud.google.com/sdk/gcloud/reference/app/deploy> to test this out. Moreover, have you also seen any difference when allocating additional memory and CPU to your App Engine instance? On Friday, May 27, 2022 at 10:06:55 AM UTC-5 adrian...@gmail.com wrote: > Hi Ernesto, > > Thanks a lot for the response. > > We have already tried the solutions we found online ie. validated billing > account is okay, and adding permissions. etc. Specifics are below: > >1. Verified almost all other threads >2. App.yaml has not defined min or max instance...just instances count >is defined as 1 >3. Not a transient network errors as we have tried it almost 15-20 >times with no network issues >4. Reg the code changeseven after reverting the code back to what >we had in the successful build it's failing >5. Quotas are still under the limit > > *app.yaml:* > runtime: custom > env: flex > resources: > cpu: 1 > memory_gb: 2 > disk_size_gb: 15 > manual_scaling: > instances: 1 > I will send the full logs as well. > > One thing we haven't tried is re-associating the App Engine account to the > app. However, we can't access this link in your comment. > https://issuetracker.google.com/issues/201556420 Would you be able to > give me access to view it or screenshots of the resolution if the access is > not possible? > > Many thanks! > On Friday, May 27, 2022 at 5:07:30 AM UTC+8 Ernesto Contreras Pinon wrote: > >> This error is rather generic and can be caused by multiple factors. Have >> you read past issues like this that have possible solutions? In this >> sample <https://issuetracker.google.com/issues/201556420>, the issue was >> solved through re-associating the App Engine service account with the app, >> for example. On a different occasion, it appears to be caused by transient >> network errors <https://issuetracker.google.com/issues/35907816>, are >> you still unable to deploy the version and are seeing the same error? >> >> Otherwise, can you give more details about the changes that you added in >> the last deployment which failed? Confirming whether all your App Engine >> Flex quotas <https://cloud.google.com/appengine/quotas#flex> are under >> the limit would also be useful, which you can confirm by searching on >> the Cloud Audit logs >> <https://cloud.google.com/logging/docs/audit#viewing_audit_logs> for any >> quota exceeded errors. >> On Thursday, May 26, 2022 at 10:51:53 AM UTC-5 adrian...@gmail.com wrote: >> >>> Wondering if anybody here encountered this error when deploying to app >>> engine? There are no changes with the app.yml file config and this was >>> working before. >>> >>> command used: gcloud app deploy --quiet --no-promote >>> --no-stop-previous-version --version={VERSION_NUMBER} >>> >>> I have submitted an issue here: >>> https://issuetracker.google.com/issues/233865148 >>> >> -- 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/6e849165-e23a-4b94-b0c0-856d4a235926n%40googlegroups.com.
[google-appengine] Re: GAE deployment throwing Error Response: [13] The system encountered a fatal error
Hi Ernesto, Thanks a lot for the response. We have already tried the solutions we found online ie. validated billing account is okay, and adding permissions. etc. Specifics are below: 1. Verified almost all other threads 2. App.yaml has not defined min or max instance...just instances count is defined as 1 3. Not a transient network errors as we have tried it almost 15-20 times with no network issues 4. Reg the code changeseven after reverting the code back to what we had in the successful build it's failing 5. Quotas are still under the limit *app.yaml:* runtime: custom env: flex resources: cpu: 1 memory_gb: 2 disk_size_gb: 15 manual_scaling: instances: 1 I will send the full logs as well. One thing we haven't tried is re-associating the App Engine account to the app. However, we can't access this link in your comment. https://issuetracker.google.com/issues/201556420 Would you be able to give me access to view it or screenshots of the resolution if the access is not possible? Many thanks! On Friday, May 27, 2022 at 5:07:30 AM UTC+8 Ernesto Contreras Pinon wrote: > This error is rather generic and can be caused by multiple factors. Have > you read past issues like this that have possible solutions? In this > sample <https://issuetracker.google.com/issues/201556420>, the issue was > solved through re-associating the App Engine service account with the app, > for example. On a different occasion, it appears to be caused by transient > network errors <https://issuetracker.google.com/issues/35907816>, are you > still unable to deploy the version and are seeing the same error? > > Otherwise, can you give more details about the changes that you added in > the last deployment which failed? Confirming whether all your App Engine > Flex quotas <https://cloud.google.com/appengine/quotas#flex> are under > the limit would also be useful, which you can confirm by searching on the > Cloud Audit logs > <https://cloud.google.com/logging/docs/audit#viewing_audit_logs> for any > quota exceeded errors. > On Thursday, May 26, 2022 at 10:51:53 AM UTC-5 adrian...@gmail.com wrote: > >> Wondering if anybody here encountered this error when deploying to app >> engine? There are no changes with the app.yml file config and this was >> working before. >> >> command used: gcloud app deploy --quiet --no-promote >> --no-stop-previous-version --version={VERSION_NUMBER} >> >> I have submitted an issue here: >> https://issuetracker.google.com/issues/233865148 >> > -- 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/c681576f-4c31-46f3-9152-97d30ebc400bn%40googlegroups.com.
[google-appengine] Re: Error Response: [13] The system encountered a fatal error
gine_api_client.py", >> >> line 216, in DeployService >> return operations_util.WaitForOperation( >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", >> line 307, in WaitForOperation >> completed_operation = waiter.WaitFor( >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 261, >> in WaitFor >> operation = PollUntilDone( >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 322, >> in PollUntilDone >> operation = retryer.RetryOnResult( >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 249, in >> RetryOnResult >> if not should_retry(result, state): >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 320, >> in _IsNotDone >> return not poller.IsDone(operation) >> File "D:\Program Files (x86)\Google\Cloud >> SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", >> line 182, in IsDone >> raise OperationError(requests.ExtractErrorMessage( >> googlecloudsdk.api_lib.app.operations_util.OperationError: Error >> Response: [13] The system encountered a fatal error >> ERROR: (gcloud.app.deploy) Error Response: [13] The system encountered a >> fatal 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/c34d66e4-c1bf-48b1-9f5e-a233da436189n%40googlegroups.com.
[google-appengine] Re: GAE deployment throwing Error Response: [13] The system encountered a fatal error
Here's the part of the logs. Also, the weird thing is we are getting different error messages. Last time we were getting the error "[13] The system encountered a fatal error" and sometimes "[14] Cloud Container build either failed or interrupted.". For this instance when I tried to do a deployment again, it's the error 14 again. On Friday, May 27, 2022 at 5:07:30 AM UTC+8 Ernesto Contreras Pinon wrote: > This error is rather generic and can be caused by multiple factors. Have > you read past issues like this that have possible solutions? In this > sample <https://issuetracker.google.com/issues/201556420>, the issue was > solved through re-associating the App Engine service account with the app, > for example. On a different occasion, it appears to be caused by transient > network errors <https://issuetracker.google.com/issues/35907816>, are you > still unable to deploy the version and are seeing the same error? > > Otherwise, can you give more details about the changes that you added in > the last deployment which failed? Confirming whether all your App Engine > Flex quotas <https://cloud.google.com/appengine/quotas#flex> are under > the limit would also be useful, which you can confirm by searching on the > Cloud Audit logs > <https://cloud.google.com/logging/docs/audit#viewing_audit_logs> for any > quota exceeded errors. > On Thursday, May 26, 2022 at 10:51:53 AM UTC-5 adrian...@gmail.com wrote: > >> Wondering if anybody here encountered this error when deploying to app >> engine? There are no changes with the app.yml file config and this was >> working before. >> >> command used: gcloud app deploy --quiet --no-promote >> --no-stop-previous-version --version={VERSION_NUMBER} >> >> I have submitted an issue here: >> https://issuetracker.google.com/issues/233865148 >> > -- 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/91a45347-5d36-4505-8b7f-79875d937810n%40googlegroups.com. Step #1: ? (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) Step #1: ? (Static) automatically rendered as static HTML (uses no initial props) Step #1: ? (SSG) automatically generated as static HTML + JSON (uses getStaticProps) Step #1:(ISR) incremental static regeneration (uses revalidate in getStaticProps) Step #1: Step #1: Done in 1474.55s. DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 416 168 DEBUG: Reading GCS logfile: 416 (no new content; keep polling) DEBUG: https://storage.googleapis.com:443 "GET /staging.{PROJECT_ID}.appspot.com/log-6a4fedba-d61a-4816-874e-98b24f8884a7.txt HTTP/1.1" 206 561 DEBUG: Reading GCS logfile: 206 (read 561 bytes) Step #1: Removing intermedi
[google-appengine] Re: GAE deployment throwing Error Response: [13] The system encountered a fatal error
This error is rather generic and can be caused by multiple factors. Have you read past issues like this that have possible solutions? In this sample <https://issuetracker.google.com/issues/201556420>, the issue was solved through re-associating the App Engine service account with the app, for example. On a different occasion, it appears to be caused by transient network errors <https://issuetracker.google.com/issues/35907816>, are you still unable to deploy the version and are seeing the same error? Otherwise, can you give more details about the changes that you added in the last deployment which failed? Confirming whether all your App Engine Flex quotas <https://cloud.google.com/appengine/quotas#flex> are under the limit would also be useful, which you can confirm by searching on the Cloud Audit logs <https://cloud.google.com/logging/docs/audit#viewing_audit_logs> for any quota exceeded errors. On Thursday, May 26, 2022 at 10:51:53 AM UTC-5 adrian...@gmail.com wrote: > Wondering if anybody here encountered this error when deploying to app > engine? There are no changes with the app.yml file config and this was > working before. > > command used: gcloud app deploy --quiet --no-promote > --no-stop-previous-version --version={VERSION_NUMBER} > > I have submitted an issue here: > https://issuetracker.google.com/issues/233865148 > -- 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/8797bf1e-4d63-42a8-8733-eb7e322c9fcan%40googlegroups.com.
[google-appengine] GAE deployment throwing Error Response: [13] The system encountered a fatal error
Wondering if anybody here encountered this error when deploying to app engine? There are no changes with the app.yml file config and this was working before. command used: gcloud app deploy --quiet --no-promote --no-stop-previous-version --version={VERSION_NUMBER} I have submitted an issue here: https://issuetracker.google.com/issues/233865148 -- 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/a2e4c4c6-8c6e-4c4a-9279-05b4a21aae1dn%40googlegroups.com.
[google-appengine] Re: Auto scaling to basic scaling migrate
Here is a post from “StackOverflow” that has similar characteristics. The user configures SECURE_SSL_REDIRECT and his App Engine has presented similar issues. The answer suggests adding a secure parameter <https://stackoverflow.com/a/41582457/16938011> to the app.yaml file. Could you try this? handlers: - url: /* script: anyfile.py secure: always On Tuesday, May 17, 2022 at 2:55:19 AM UTC-5 nikhilhem...@rakuten.com wrote: > To update you I managed to get the root cause. Django settings.py has > SECURE_SSL_REDIRECT configuration. If I enable it(I must), I get above > issue,if I disable then the instance starts successfully. Do you have any > idea? > > > On Saturday, May 14, 2022 at 8:12:47 AM UTC+9 Osvaldo Lopez Acuña wrote: > >> Were you able to change your App Engine settings the way Ernesto >> suggested? >> >> The issue ended on May 6, as you can see in the shared link, and App >> Engine was not affected. >> >> >> On Thursday, May 12, 2022 at 10:46:30 PM UTC-5 nikhilhem...@rakuten.com >> wrote: >> >>> Any update on this? >>> >>> >>> On Saturday, May 7, 2022 at 5:49:29 AM UTC+9 Ernesto Contreras Pinon >>> wrote: >>> >>>> Yes, using the app.yaml file, you can set the type of scaling that is >>>> used by your App Engine app. You can specifically see the reference >>>> <https://cloud.google.com/appengine/docs/standard/python3/config/appref#scaling_elements> >>>> >>>> on how the scaling elements are to be syntactically added in your app.yaml >>>> file. Since this file contains the specifications for the deployment of >>>> your app, it would be the proper place to change the settings. >>>> >>>> Have you recently encountered this issue? There is currently an >>>> existing incident >>>> <https://status.cloud.google.com/incidents/4Qvmd4q81VnA9RirCMqV> that >>>> is affecting multiple Google Cloud products which could be related to the >>>> errors you are seeing. >>>> On Friday, May 6, 2022 at 2:36:23 AM UTC-5 nikhilhem...@rakuten.com >>>> wrote: >>>> >>>>> I was using autoscaling but it has 10 min request timeout,so I want to >>>>> change it to basic scaling. >>>>> Does changing app.yaml will do the thing? or I need more settings. >>>>> runtime: python39 service: dev-app instance_class: B1 basic_scaling: >>>>> max_instances: 10 idle_timeout: 10m >>>>> I am getting error as >>>>> The request failed because the instance could not start >>>>> successfullyProcess terminated because it failed to respond to the start >>>>> request with an HTTP status code of 200-299 or 404. >>>>> >>>> -- 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/828d6daa-8802-45a4-9682-286836af7a16n%40googlegroups.com.
[google-appengine] Re: Google Cloud App Engine (GAE) Flexible: Load Balancer error: backend_connection_closed_before_data_sent_to_client
As per the error "backend_connection_closed_before_data_sent_to_client", the backend unexpectedly closed its connection to the load balancer before the response was proxied to the client. Please, follow this link for more information [1]. The GFE generates this HTTP response code[2] when the connection to the backend is dropped during a request. It is usually caused because the keepalive configuration parameter for the web server software running on the backend instance is less than the fixed (10 minute) keepalive (HTTP idle) timeout of the GFE. There are some situations where the backend may close a connection too soon while the GFE is still sending the HTTP request. The solution for this issue, is to configure the keepalive timeout parameter for your web server appropriately. (In short, set Keepalive to greater than 10 minutes, such as the recommended value of 620.) For more information, see the reference Google documentation below in link[3][4]. If it keeps failing after you changed the timeout, I’d suggest you contact Support. [1] https://cloud.google.com/load-balancing/docs/https/https-logging-monitoring#:~:text=backend_connection_closed_before_data_sent_to_client [2] 502s - "backend_connection_closed_before_data_sent_to_client" responses [3] https://cloud.google.com/load-balancing/docs/https#timeouts_and_retries [4] https://cloud.google.com/load-balancing/docs/https#statusdetail_http_failure_messages [5] https://cloud.google.com/support On Monday, May 16, 2022 at 2:06:47 AM UTC-5 46346...@gmail.com wrote: > I have GAE flexible this app.yaml: > > # [START runtime] > runtime: python > env: flex > entrypoint: gunicorn -b :$PORT **.wsgi > > automatic_scaling: > min_num_instances: 2 > max_num_instances: 2 > > beta_settings: > cloud_sql_instances: **:europe-west6:*** > > runtime_config: > python_version: 3 > > handlers: > - url: /.* > script: auto > secure: always > redirect_http_response_code: 301 > # [END runtime] > > [image: Screenshot 2022-05-14 130338.png] > After standard instance weekly restarting > <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#application_shutdown>, > > I've seen some internal errors in logs and 502 errors on POST requests: > > { > "insertId": "2", > "jsonPayload": {...}, > "timestamp": "2022-05-14T08:34:42.512018934Z", > "severity": "ERROR", > "logName": "projects//logs/compute.googleapis.com > %2Fshielded_vm_integrity", > "receiveTimestamp": "2022-05-14T08:34:44.518408254Z" > } > > and > > { > "insertId": "***", > "jsonPayload": { > "remoteIp": "**", > "@type": " > type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry", > "statusDetails": > "backend_connection_closed_before_data_sent_to_client" > }, > "httpRequest": { > "requestMethod": "POST", > "requestUrl": "https://*;, > "requestSize": "2208", > "status": 502, > "responseSize": "451", > "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) > Gecko/20100101 Firefox/100.0", > "remoteIp": "***", > "referer": "", > "serverIp": "" > }, > "resource": { > "type": "http_load_balancer", > "labels": { > "url_map_name": "", > "target_proxy_name": "", > "zone": "global", > "project_id": "", > "backend_service_name": "", > "forwarding_rule_name": "" > } > }, > "timestamp": "2022-05-14T08:36:28.064500Z", > "severity": "WARNING", > "logName": "projects//logs/requests", > "trace": "projects//traces/", > "receiveTimestamp": "2022-05-14T08:36:28.882230792Z", > "spanId": "" > } > > Also I have some messages with > > /readiness_check failReason:"null" > > I've read Tuning NGINX behind Google Cloud Platform HTTP(S) Load Balancer > <https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340#.6k2laoada>. > > But as I understand it is related to GCE(not GAE). > > For the current app it is VERY important to handle every request, so I > want to be confident with fixing it. > > -- 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/70dff8d6-cf81-41ae-8815-489172f39727n%40googlegroups.com.
[google-appengine] Getting error during Billing
[image: error.PNG] I am trying to buy Google API but in the final step it shows me this error how I can solve this can anyone help me out I will be very thankful to you. -- 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/01109e07-66e2-423f-a3a5-339b7fa027a7n%40googlegroups.com.
[google-appengine] Re: Error: Cannot sign data without `client_email`.
You can review the relevant roles for Cloud Storage that allow you to download/upload/manage objects and buckets here <https://cloud.google.com/storage/docs/access-control/iam-roles#standard-roles>. Did your application start showing this error without any change in the configuration? Also, which language and client library are you using to access Cloud Storage? On Tuesday, May 17, 2022 at 9:25:09 AM UTC-5 Maha Farhat wrote: > I am running GAE Flexible environment that is set up to use the default > service account which has the Editor Role. > > Since last week I have started facing the below issue when connecting to > GCS from GAE which results in the failure of the running process. > > *Error: Cannot sign data without `client_email`.* > > How do I fix this? What permissions do I need to provide to my GAE service > account? > -- 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/c349b872-def5-47f3-9260-d953864c411en%40googlegroups.com.
[google-appengine] Error: Cannot sign data without `client_email`.
I am running GAE Flexible environment that is set up to use the default service account which has the Editor Role. Since last week I have started facing the below issue when connecting to GCS from GAE which results in the failure of the running process. *Error: Cannot sign data without `client_email`.* How do I fix this? What permissions do I need to provide to my GAE service account? -- 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/caf4c988-eab0-4f0a-8d6b-f5f2657af943n%40googlegroups.com.
[google-appengine] Re: Auto scaling to basic scaling migrate
To update you I managed to get the root cause. Django settings.py has SECURE_SSL_REDIRECT configuration. If I enable it(I must), I get above issue,if I disable then the instance starts successfully. Do you have any idea? On Saturday, May 14, 2022 at 8:12:47 AM UTC+9 Osvaldo Lopez Acuña wrote: > Were you able to change your App Engine settings the way Ernesto suggested? > > The issue ended on May 6, as you can see in the shared link, and App > Engine was not affected. > > > On Thursday, May 12, 2022 at 10:46:30 PM UTC-5 nikhilhem...@rakuten.com > wrote: > >> Any update on this? >> >> >> On Saturday, May 7, 2022 at 5:49:29 AM UTC+9 Ernesto Contreras Pinon >> wrote: >> >>> Yes, using the app.yaml file, you can set the type of scaling that is >>> used by your App Engine app. You can specifically see the reference >>> <https://cloud.google.com/appengine/docs/standard/python3/config/appref#scaling_elements> >>> >>> on how the scaling elements are to be syntactically added in your app.yaml >>> file. Since this file contains the specifications for the deployment of >>> your app, it would be the proper place to change the settings. >>> >>> Have you recently encountered this issue? There is currently an existing >>> incident >>> <https://status.cloud.google.com/incidents/4Qvmd4q81VnA9RirCMqV> that >>> is affecting multiple Google Cloud products which could be related to the >>> errors you are seeing. >>> On Friday, May 6, 2022 at 2:36:23 AM UTC-5 nikhilhem...@rakuten.com >>> wrote: >>> >>>> I was using autoscaling but it has 10 min request timeout,so I want to >>>> change it to basic scaling. >>>> Does changing app.yaml will do the thing? or I need more settings. >>>> runtime: python39 service: dev-app instance_class: B1 basic_scaling: >>>> max_instances: 10 idle_timeout: 10m >>>> I am getting error as >>>> The request failed because the instance could not start >>>> successfullyProcess terminated because it failed to respond to the start >>>> request with an HTTP status code of 200-299 or 404. >>>> >>> -- 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/f16c0809-a60f-4cd5-846b-9c4454260cf7n%40googlegroups.com.
[google-appengine] Re: Lost access to Google Cloud groups?
Hi, Can you please clarify what the change that caused losing access to your previous Google Groups membership was? On Thursday, May 12, 2022 at 8:47:02 PM UTC-5 Sam G wrote: > *Could a Googler drop me a line 1:1?* We switched email services and I've > now lost access to my previous Google Groups :( > > I was in a few insiders programs and I owe some feedback, and am hoping to > get support especially with I/O 2022 coming to a close :). Congrats on all > the launches, as well!! > -- 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/836c63ee-21c1-409b-82bc-680fd4cf5bacn%40googlegroups.com.
[google-appengine] Google Cloud App Engine (GAE) Flexible: Load Balancer error: backend_connection_closed_before_data_sent_to_client
I have GAE flexible this app.yaml: # [START runtime] runtime: python env: flex entrypoint: gunicorn -b :$PORT **.wsgi automatic_scaling: min_num_instances: 2 max_num_instances: 2 beta_settings: cloud_sql_instances: **:europe-west6:*** runtime_config: python_version: 3 handlers: - url: /.* script: auto secure: always redirect_http_response_code: 301 # [END runtime] [image: Screenshot 2022-05-14 130338.png] After standard instance weekly restarting <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#application_shutdown>, I've seen some internal errors in logs and 502 errors on POST requests: { "insertId": "2", "jsonPayload": {...}, "timestamp": "2022-05-14T08:34:42.512018934Z", "severity": "ERROR", "logName": "projects//logs/ compute.googleapis.com%2Fshielded_vm_integrity", "receiveTimestamp": "2022-05-14T08:34:44.518408254Z" } and { "insertId": "***", "jsonPayload": { "remoteIp": "**", "@type": "type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry", "statusDetails": "backend_connection_closed_before_data_sent_to_client" }, "httpRequest": { "requestMethod": "POST", "requestUrl": "https://*;, "requestSize": "2208", "status": 502, "responseSize": "451", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0", "remoteIp": "***", "referer": "", "serverIp": "" }, "resource": { "type": "http_load_balancer", "labels": { "url_map_name": "", "target_proxy_name": "", "zone": "global", "project_id": "", "backend_service_name": "", "forwarding_rule_name": "" } }, "timestamp": "2022-05-14T08:36:28.064500Z", "severity": "WARNING", "logName": "projects//logs/requests", "trace": "projects//traces/", "receiveTimestamp": "2022-05-14T08:36:28.882230792Z", "spanId": "" } Also I have some messages with /readiness_check failReason:"null" I've read Tuning NGINX behind Google Cloud Platform HTTP(S) Load Balancer <https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340#.6k2laoada>. But as I understand it is related to GCE(not GAE). For the current app it is VERY important to handle every request, so I want to be confident with fixing it. -- 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/a1805c31-cbcf-4511-8d4d-8058ea94a143n%40googlegroups.com.
[google-appengine] Re: Auto scaling to basic scaling migrate
Were you able to change your App Engine settings the way Ernesto suggested? The issue ended on May 6, as you can see in the shared link, and App Engine was not affected. On Thursday, May 12, 2022 at 10:46:30 PM UTC-5 nikhilhem...@rakuten.com wrote: > Any update on this? > > > On Saturday, May 7, 2022 at 5:49:29 AM UTC+9 Ernesto Contreras Pinon wrote: > >> Yes, using the app.yaml file, you can set the type of scaling that is >> used by your App Engine app. You can specifically see the reference >> <https://cloud.google.com/appengine/docs/standard/python3/config/appref#scaling_elements> >> >> on how the scaling elements are to be syntactically added in your app.yaml >> file. Since this file contains the specifications for the deployment of >> your app, it would be the proper place to change the settings. >> >> Have you recently encountered this issue? There is currently an existing >> incident <https://status.cloud.google.com/incidents/4Qvmd4q81VnA9RirCMqV> >> that is affecting multiple Google Cloud products which could be related to >> the errors you are seeing. >> On Friday, May 6, 2022 at 2:36:23 AM UTC-5 nikhilhem...@rakuten.com >> wrote: >> >>> I was using autoscaling but it has 10 min request timeout,so I want to >>> change it to basic scaling. >>> Does changing app.yaml will do the thing? or I need more settings. >>> runtime: python39 service: dev-app instance_class: B1 basic_scaling: >>> max_instances: 10 idle_timeout: 10m >>> I am getting error as >>> The request failed because the instance could not start >>> successfullyProcess terminated because it failed to respond to the start >>> request with an HTTP status code of 200-299 or 404. >>> >> -- 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/a268c12e-28bb-4c12-99fd-8f963bf0176an%40googlegroups.com.
[google-appengine] Re: Auto scaling to basic scaling migrate
Were you able to change your Appengine settings the way Ernesto suggested? The issue ended on May 6 as you can check it in the shared link and Appengine was not affected. On Thursday, May 12, 2022 at 10:46:30 PM UTC-5 nikhilhem...@rakuten.com wrote: > Any update on this? > > > On Saturday, May 7, 2022 at 5:49:29 AM UTC+9 Ernesto Contreras Pinon wrote: > >> Yes, using the app.yaml file, you can set the type of scaling that is >> used by your App Engine app. You can specifically see the reference >> <https://cloud.google.com/appengine/docs/standard/python3/config/appref#scaling_elements> >> >> on how the scaling elements are to be syntactically added in your app.yaml >> file. Since this file contains the specifications for the deployment of >> your app, it would be the proper place to change the settings. >> >> Have you recently encountered this issue? There is currently an existing >> incident <https://status.cloud.google.com/incidents/4Qvmd4q81VnA9RirCMqV> >> that is affecting multiple Google Cloud products which could be related to >> the errors you are seeing. >> On Friday, May 6, 2022 at 2:36:23 AM UTC-5 nikhilhem...@rakuten.com >> wrote: >> >>> I was using autoscaling but it has 10 min request timeout,so I want to >>> change it to basic scaling. >>> Does changing app.yaml will do the thing? or I need more settings. >>> runtime: python39 service: dev-app instance_class: B1 basic_scaling: >>> max_instances: 10 idle_timeout: 10m >>> I am getting error as >>> The request failed because the instance could not start >>> successfullyProcess terminated because it failed to respond to the start >>> request with an HTTP status code of 200-299 or 404. >>> >> -- 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/d6d19a78-f2c4-4f9d-92cf-7d21ca9dfb59n%40googlegroups.com.
[google-appengine] Re: inconsistent daily "frontend instance" costs
> version by following our public official documentation [1] [2]: >>>>>>> >>>>>>> >>>>>>> >>>>>>> [1]. >>>>>>> https://cloud.google.com/nodejs/getting-started/delete-tutorial-resources#deleting_app_versions >>>>>>> >>>>>>> [2]. >>>>>>> https://cloud.google.com/sdk/gcloud/reference/app/versions/delete. >>>>>>> >>>>>>> On Friday, December 11, 2020 at 8:57:20 PM UTC+1 ph0...@gmail.com >>>>>>> wrote: >>>>>>> >>>>>>>> I don't think so, since again, the billing section on the AppEngine >>>>>>>> Dashboard <https://console.cloud.google.com/appengine> generally >>>>>>>> takes that into account, in my experience. But yes I've also verified >>>>>>>> that >>>>>>>> it is F1. >>>>>>>> Again last night, when I wrote this email at 3am, the counter was >>>>>>>> at 24.5h right before the reset, but today I see a charge of $0.55. >>>>>>>> >>>>>>>> The annoying part is that there seems to be no way to actually see >>>>>>>> the finalized quota usage to verify these costs. How can I make sure >>>>>>>> what >>>>>>>> Google is charging me is the right amount if I can't even see the >>>>>>>> usage? Is >>>>>>>> there some API that gives access to that which I'm missing? >>>>>>>> >>>>>>>> On Friday, December 11, 2020 at 12:30:12 PM UTC-5 >>>>>>>> jdfi...@cedreo.com wrote: >>>>>>>> >>>>>>>>> Hello, maybe it is due to your instance class. If I remember >>>>>>>>> correctly one hour of an F2 is billed as two hours and F4 is billed >>>>>>>>> as 4 >>>>>>>>> hours. I think the base idea is that one hour represents one hour of >>>>>>>>> F1. >>>>>>>>> There is this part of the doc that helped us understand our cost when >>>>>>>>> we >>>>>>>>> are facing the same question: >>>>>>>>> >>>>>>>>> " *Important:* When you view your bill >>>>>>>>> <https://cloud.google.com/billing/docs/how-to/reports>, you will >>>>>>>>> not see the names of the individual instance classes in your billing >>>>>>>>> line >>>>>>>>> items. Instead, you see instance hours from the "B" classes reported >>>>>>>>> as >>>>>>>>> "Backend Instances", and instance hours from the "F" classes reported >>>>>>>>> as >>>>>>>>> "Frontend Instances". The bill will apply the appropriate multiple of >>>>>>>>> instance hours for each instance class you use. For example, if you >>>>>>>>> use an >>>>>>>>> F4 instance for one hour, you see "Frontend Instance" billing for >>>>>>>>> four >>>>>>>>> instance hours at the F1 rate." >>>>>>>>> >>>>>>>>> It is extracted from https://cloud.google.com/appengine/pricing. >>>>>>>>> On Friday, December 11, 2020 at 9:04:14 AM UTC+1 ph0...@gmail.com >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Every day, I look at the appengine quota page, an hour before >>>>>>>>>> it's about to reset for the day, and it's sitting well below the 28h >>>>>>>>>> free-tier limit, yet the next day, I check billing for the previous >>>>>>>>>> day and >>>>>>>>>> I have ~1$ of charges, which at $0.05/hour, that means 20 hours of >>>>>>>>>> extra >>>>>>>>>> time. So unless my application somehow managed to start 20 instances >>>>>>>>>> in the >>>>>>>>>> last hour (which isn't possible, the limit is 3), those numbers make >>>>>>>>>> no >>>>>>>>>> sense. >>>>>>>>>> >>>>>>>>>> I remember years ago it was possible to see the quota usage for >>>>>>>>>> previous days, but it seems like that page doesn't even exist >>>>>>>>>> anymore, so >>>>>>>>>> there's no way for me to verify how many frontend instance hours >>>>>>>>>> were used >>>>>>>>>> in previous days. But the charges I'm getting definitely do not make >>>>>>>>>> sense. >>>>>>>>>> I never pass 28 hours, yet I'm constantly getting charged every day >>>>>>>>>> for >>>>>>>>>> "frontend instance". >>>>>>>>>> >>>>>>>>>> Is there any way to debug where these costs come from and what my >>>>>>>>>> usage is? I'm not sure if GCP intentionally hides this information >>>>>>>>>> away, >>>>>>>>>> all I can see is the billing cost per day, per SKU, but this still >>>>>>>>>> doesn't >>>>>>>>>> give me my quota usage, and it doesn't explain why I'm being charged >>>>>>>>>> even >>>>>>>>>> after being below free tier usage. >>>>>>>>>> >>>>>>>>> -- 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/2147b0de-d688-4bde-9321-08299a097075n%40googlegroups.com.