All Questions
577 questions
0
votes
1
answer
41
views
Stop Otel from tracing its own internal metric exporting activity
I've implemented Otel for my python app sending telemetry to GCP backend. I'm seeing these trace spans for https://otel-collector-xxx.asia-southeast1.run.app/opentelemetry.proto.collector.metrics.v1....
0
votes
0
answers
23
views
Google Compute Auto Deletes /etc/init.d/Script Custom Script
I created a my own init.d script: using bash on command shell: sudo nano /etc/init.d/myscript
Here is my script:
#!/bin/sh
case "$1" in
start)
echo "Starting my script"
/usr/...
0
votes
0
answers
42
views
Google Cloud Platform App Engine flask app gives 404 but not locally
I created a flask app that has been working until I deleted the default project to clean up. I had no versionining so the buckets were non-recoverable.
So, I created a new project and pointed my local ...
1
vote
1
answer
202
views
Cannot gcloud builds submit due to a tempfile file.tgz permissions error on Windows
I have an issue running the following command on Windows:
gcloud builds submit --timeout=3600s --region=europe-west1 --tag europe-west1-docker.pkg.dev/project/project-appengine/project-image:latest
...
0
votes
0
answers
70
views
Access Issue with Newly Deployed Flask App on Google Cloud Platform
I'm encountering an issue with accessing a newly deployed Flask application on the Google Cloud Platform. Here's the scenario:
I have an existing project on Google Cloud Platform with a default ...
0
votes
1
answer
65
views
'item' object has no attribute 'date' Google Cloud NDB
I am building an google appengine app using python 3.9. I use cloud ndb as a database for my app. My app has an item ndb model like this:
class item(ndb.Model):
nameFr = ndb.StringProperty()
...
0
votes
2
answers
77
views
'Key' object has no attribute 'database' Error in Google Cloud Ndb
I am running an google appengine app using python 3.9. I use cloud ndb as a database for my app.
My app has a customer ndb model. When creating an entity everything works fine. However when I want to ...
0
votes
2
answers
154
views
Google App Engine does not find pip package
I am deployging a python app in Google App Engine and I am facing an error when running google cloud deploy
My requiremetns.txt file includes the followign python packages and versions:
requests==2.31....
0
votes
0
answers
79
views
Error "data is invalid" for Custom SSL certificate Google App Engine
I am trying to install a custom SSL certificate for google app engine but I get this error: "The certificate data is invalid. Please ensure that the private key and public certificate match."...
1
vote
1
answer
2k
views
FastAPI streamingResponse Not Streaming Text response but instead getting it in one shot [on GAE Platform]
I want to stream vertexAI response for that I have prepared the following function which presumably yields the response in Chunks :
import vertexai
import os
import time
from vertexai.language_models ...
0
votes
2
answers
59
views
GAE: Submit task from one service to be executed by another service
I have a GAE app with a Python3 service (the default) and a NodeJS18 service.
I currently submit App Engine tasks (not HTTP target tasks) from the Python3 service and those tasks are executed by that ...
1
vote
1
answer
61
views
Ensure that App Engine applications enforce HTTPS connections
I have to Verify that the app.yaml file controlling the application contains a line which enforces
secure connections. For example
handlers:
- url: /.*
secure: always
redirect_http_response_code: ...
0
votes
0
answers
408
views
gunicorn looking for deleted module; cannot run django application in GCP
I have a django application that's been running fine on GCP, and I recently removed a dependency: django-colorfields. I didn't need this functionality, so I removed these items from my models, ...
2
votes
1
answer
299
views
Transactional Operations with google.cloud.ndb
I am using Google Cloud Datastore via the python-ndb library (Python 3). My goal is to transactionally create two entities at once. For example, when a user creates an Account entity, also create a ...
0
votes
0
answers
50
views
Can't upload video over 5GB on App Engine
I recently decided to move my software hosting to Google App Engine (since we believe it's serverless), but, I am coming across a problem where I cannot upload large video files. This is a big problem,...