I have a Python script that requires logging in and retrieving an access_token from an authentication server. The process involves navigating to the authentication server's URL, entering a username and password, clicking 'login', waiting for ...
My journey began by setting up a Google App Engine where I deployed both the API and the frontend on my custom domain, which I referred to as mysite.ms. The API was written in nodejs with Express, while the frontend was a React application. To achieve this ...
I encountered an error while trying to deploy updates to the node.js code for Google Cloud. 503 All backends failed or unhealthy: @google-cloud/pubsub@https://registry.npmjs.org/@google-cloud/pubsub/-/pubsub-0.13.0.tgz Here are the logs: 4421 http fetch ...
After adding my IP to the whitelist, I successfully connected to a Google Cloud Platform SQL Server instance using the sqlcmd utility in my terminal. sqlcmd -S <ip-address> -U <username> -P<password> However, when attempting the same co ...
Currently, I am working on a project in Google Cloud that involves utilizing both their App Engine and Compute Engine services. Within the Compute Engine, there is a virtual machine instance named "instance-1", where a python file (file.py) resides: name ...
Currently, my team and I are working on a project using Firebase with Vue.js as the framework. We've come across a challenge regarding creating, updating, and deleting elements in a Firebase cloud document. For instance, within our 'people&apos ...
Recently, I embarked on my first journey to utilize the BigQuery API by following a Python tutorial guide available here. My primary objective is to create datasets, however, I'm encountering challenges with basic public data access. To address this, ...
Currently, I am utilizing React along with next.js and Google Cloud functions to host my application. Additionally, I am integrating firebase into the mix. One pressing issue I am facing pertains to efficiently configuring the staging and production enviro ...
I'm facing an issue with my service that utilizes Google Cloud Pub/Sub for handling job requests. When a high volume of requests comes in, it causes the Docker pod to fail. Any suggestions on how I can effectively limit the rate of incoming messages? ...
In order to utilize Pub/Sub Notifications for Cloud Storage, I am working with storage files on Firebase and need to perform various processes. These processes result in additional data being stored in different fields on Firebase. However, there are insta ...
Seeking your thoughts on combining a Vue App with a Node using API for my upcoming project. I have set up two separate folders for the client (VueJs) and server (Node) locally: - client (VueJs) - server (Node) I am currently running them individually usi ...
My experience with developing a simple appEngine using pubsub app has led me to some concerning observations. Upon reviewing the appEngine logs, I noticed a constant increase and drop in memory usage that repeats itself. Upon closer inspection of the logs, ...
A NestJS server has been set up as follows: import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import * as fs from 'fs' import * as https from 'https' import * as express from 'express' import * as http from 'http' import ...
Is it possible to deploy my Angular 4 apps on Google Cloud App Engine while only uploading the dist folder? I currently have 220mb of data in node_modules, but I only want to deploy the dist folder which is around 10mb after running ng build --prod. In t ...
Does anyone have experience dealing with issues related to Firebase and its emulators? I keep encountering the following error during hot reload: FirebaseError: Firestore has already been started and its settings can no longer be changed. You can only mo ...
I have deployed a standard nodejs app (free tier) using cloud shell, but when I try to access https://[ID].du.r.appspot.com/ , it keeps loading indefinitely. app.js: const express = require('express'); const path = require('path'); const app = express(); ...
I'm working with Google Cloud Functions that require a JSON key file. Here is an example: const SERVICE_ACCOUNT_EMAIL = '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="41382e34331e322433372822241e2022222e342f351e242 ...
For my application to be built, it requires cmake, libx11-dev, and libpng-dev. I found guidance in this documentation suggesting that these dependencies can be listed for the Google App Engine platform, but I am unsure of the process. While I managed to ...
I'm looking to empower artist clients to easily upload images to Cloud Storage by utilizing Signed URLs. Here's the backend script used to fetch the signed URL, which resides behind a Google Cloud load balancer: (Does the presence of a load balancer have ...
Looking for advice on connecting a Google App Engine project written in NodeJS to a MongoDB server hosted in Compute Engine. Since the App Engine has a dynamic IP and can't be added to the white list of Compute Engine, what is the best way to establis ...
Recently, I've developed a React application that leverages socket.io to establish a connection with the Google Cloud Platform. However, upon running both the client and server components, an error is encountered in the client file: Uncaught SyntaxError: ...
Suppose I have a static website hosted on App Engine using a Python runtime. If I wish to make a jQuery AJAX call to a single Python script to retrieve some data, would I need to integrate the entire site into a Python framework just to execute that file? ...
This project is utilizing express.js along with firebase. Whenever attempting to access a different file containing routes, it results in failure. Instead of successful emulation, an error is thrown when running this code: const functions = require(" ...
I am facing an issue where I can only retrieve the values I need from the array by adding a specific string like "اقلام" or "سبورة". However, I want the value to be passed as a prop from another component or screen. Is there a way to resolve this ...
Is it possible to query cloud storage using the external table concept in Node.js? I found some code in Python that achieves this functionality, but I would prefer to implement the same logic in Node.js. Is there a way to do this? ...
Currently, I am attempting to utilize the Google Cloud Storage Python client library to generate a new bucket that contains two empty folders. Despite referencing the Python client library API for GCS (https://google-cloud-python.readthedocs.io/en/latest/s ...
I recently integrated Login with Google into my react.js app. I followed the steps outlined in a tutorial video which can be found here: . Even though I registered my app with my client Id on Google Cloud Platform under the "Authorised JavaScript origins" ...
I'm interested in creating a cloud function that can be executed from both the client and the backend. After exploring the documentation, I learned that an HTTPS callable function will automatically include user authentication data, accessible through the ...
Whenever I try to query with a date range, the results returned are incorrect. I have implemented DateRangePicker jQuery for selecting both date and time ranges. After that, I make an API call and send my date/Moment JS object to my Node.js API where I q ...
Is there a method to locally test applications designed for Google Cloud or Azure on a computer, comparable to the Localstack Docker image used for AWS? Your help is greatly appreciated! ...
I am currently in the process of authenticating Gmail using OAuth2 for my web application. Upon receiving a URL from the server, the client opens a pop-up window with the following code: var win = window.open(data.google_oauth_url, `<h1>Gmail ...
I have set up a new vue3 router and configured different routes: const routes = [ { path: "/", name: "home", component: HomeView, }, { path: "/about", name: "about", component: () => ...
My current setup involves using docker to build an image through Google Cloud Build and Google Cloud Registry. I have Pub/Sub triggers in place to populate Cloud Run instances with new Docker images upon a successful build. The issue I am facing is that m ...
I have successfully built my React app using create-react-app and then uploaded it to GCP Storage. I configured the website settings (Main page and 404 page) to index.html. This is the current folder structure: ├── asset-manifest.json ├── fav ...
I am currently navigating my way through Google Cloud and facing challenges with deploying a Google App Engine service that relies on a local sibling dependency. My project structure follows this format (using TypeScript, nestJS, React): -frontend app ...
Currently, I am developing a Node.js + MongoDB API that is hosted on a virtual machine on Google Cloud Platform. The data for the API is stored in a MongoDB instance running on the same VM. I am wondering if it is advisable to run a local MongoDB instance ...
The objective is to obtain an archive from the client, include a file, and transfer it to Cloud Storage without generating a temporary file. Both the client and server utilize the archiver library. The issue with the code snippet provided is that the file ...
I encountered an issue while trying to deploy a simple Flask app that utilizes Google Bucket. Upon deployment, I kept getting error 503 - Service Unavailable. I'm unsure if I missed something crucial or what exactly I might be doing wrong. Any assistance ...
I'm currently facing a challenge while coding a Google Cloud Function using TypeScript. The concept involves having handler functions defined for various Cloud Functions in separate files within the source repository, along with some code that is shar ...
Replacing the contents in the bucket associated with an app may not update the app as expected. I recently deployed a site where I created a bucket, a directory, and deployed a React app using commands like: gsutil rsync -r gs://bucket-name ./app-name T ...
Our web application frontend is built using React and deployed on Google Cloud Platform App Engine Standard. We have implemented code splitting, where each page is loaded upon user navigation. While the application is performing well, we have encountered ...
Exploring ways to enhance cold start times for my Firebase functions led me to discover an article that focused on maximizing performance and readability using TypeScript with the base usage of the http onRequest function. However, I was eager to implement ...
Recently, I was involved in a project that hosts its application on GAE. During a late-night deployment to the QA server (also on GAE), a cron job in the cron.yaml file was commented out. To my surprise, the cron task ran as soon as the deployment was com ...
this.ref.collection("users", ref => ref.where("uid1","in", [reciverId, senderId]) .where("uid2","in", [reciverId, senderId])) throws an error stating: "Invalid query. Multiple 'in' filters cannot be used." ...
This Dockerfile is based on the recommendations provided in the official documentation. # To ensure dependencies are installed only when necessary FROM node:alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a ...
I attempted to upsert a record in DataStore and then retrieve it based on Google's official documentation. While the upsert operation was successful, I encountered issues with the retrieval process. Could it be possible that the documentation is outdated? ...
Recently, I started using Google Cloud to host my React application. The version of React that I am using is "16.8.3" (although I don't think it's relevant to my issue). The problem arises when I make some updates to the application by running 'npm run bu ...
I've been encountering an issue while trying to deploy my Node.js application with MySQL Backend to Google App Engine. I am utilizing Sequelize ORM and have both the Cloud SQL Instance and App Engine within the same project. However, upon attempting t ...
Currently, I am in the process of enhancing an existing Firebase Auth project by transitioning to Identity Platform to take advantage of multi-tenancy features. During my testing phase on the local emulator, I encountered some challenges: Users are not a ...
Objective I aim to gain a deeper understanding of how the firebase CLI manages the deployment process for multiple firebase functions, each stored in different files, and how it handles dependencies that are specific to certain functions. Situation If I ...
I currently have an application deployed on Kubernetes (Google Cloud). To ensure the deployment runs smoothly, it must return a 200 status response to endpoints "/healthz" and "/". In my Express server, I've set up a route that handles this like so: ...
I'm in search of a database solution that can meet the following requirements: Store flat, random JSON structures separated by table names (e.g. random_json_table_1, random_json_table_2). Handle a high volume of insert operations (over 10,000 per se ...
In my current project, I am utilizing Selenium and Selenium Wire. The task at hand involves creating flows to log into Google Cloud portals. The process involves entering my Google Cloud email, clicking on "continue" in the Google sign-in page, and then s ...
I'm currently working on a Firebase/Next.js application deployed via Firebase hosting. In this project, I am focused on developing a user registration feature. When a new user registers, they are assigned a document containing their data, with one of ...
Everything was functioning properly with Next version 12, however upon upgrading to Next 13 I encountered the following error. and current node version: "18.x.x" Next Js version: "13.2.1" Step #2: /app/node_modules/next/dist/build/index ...
After completing the instructions in this tutorial, I have managed to deploy a ReactJS website. Now, my query is regarding the process of modifying or updating the site with a new build/version. ...
Issue I've been utilizing Firebase auth on my client and using firebase-admin to verify on the server. It was functioning well until I decided to migrate to a different server, which caused it to stop working. The crucial part of the error message i ...
I have a requirement to analyze any uploaded image for inappropriate content and blur it if necessary. The log this image is inappropriate indicates that the detection process is working correctly. However, I am not able to see any further logs which sugg ...
I am currently experiencing performance issues with a simple Cloud Function in Firebase. This function is responsible for taking JSON data through an HTTP POST request and storing it in a Firestore collection. Despite being assigned 512MB of memory, the pe ...
I have a NodeJS application hosted on Google Cloud App Engine. It's built using Vite & Vue3 with Vite's native SSR. Everything runs smoothly when accessing the app through the google subdomain: <domain>.appspot.com. However, I encounter an ...
**While working on my CRUD project, I encountered an issue where the admin needed to add a user in the documentation as well as in the authentication process. Using the normal SDK would simply replace the current user, so I attempted to use the admin SDK. ...
My VueJs single page website currently has very few transactions, prompting me to explore implementing it with a serverless architecture. One recommended approach for a basic Web Application on AWS includes: Vue App uploaded on AWS S3 Backend connection ...
Below is a Firebase cloud function I have created that can be accessed through a REST API. My aim is to save the user-submitted values from the front end via the 'Web service URL': 1.) The data should be stored in the Firebase-realtime database. 2.) I c ...
Our web application utilizes JAVA with the latest updates AngularJs framework Cloudflare for domain mapping GCP load balancing services We have encountered a message stating: "The website has been blocked by order of Ministry of electronics and inf ...
Currently, my Google Compute Engine VM is utilizing a Node.js v6.16 image. I am interested in updating to the latest version as I need async functions which are not supported in v6. How can I go about updating this? ...
Let me give you some background on our current project. We have weather and soil monitoring stations scattered across the country collecting data that is then uploaded to a server via FTP for processing. Although this server is not currently in the GCP, we ...
Below is the package.json I am currently using: { "dependencies": { "@nextui-org/react": "^2.2.8", "axios": "^1.6.0", "framer-motion": "^10.16.4", "next": "latest", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependenci ...
I am facing an issue with merging data in my firebase database. I consulted the documentation at https://firebase.google.com/docs/firestore/manage-data/add-data for guidance. After attempting to merge data using setDoc, I encountered an error (Uncaught Ty ...
I am currently managing a virtual machine that is running pm2 on Google Compute Engine. What steps do I need to take in order to automate the deployment of an express.js server from a GitHub repository? I have generated an SSH key for user login and hav ...
I'm in the process of building a REST API with NodeJS. What are some recommended options for hosting or deploying my API? If Google Cloud Platform is not feasible, what other alternatives would you suggest? ...
I am currently working on the labs for "Google Cloud Platform fundamentals" and encountering some issues. Every time I try to use a CoreOS instance to launch a Docker instance, I encounter an error. For instance, in the Cloud SQL lab, there is a step wher ...
Up to this point, I have experimented with different approaches. X class CustomError extends Error { constructor(message, code) { super(message); this.code = code; } } exports.CustomError = CustomError; VueJS is giving an error "exports is n ...
Currently, I am working on a code to generate a json file that can be accessed via an endpoint. The structure of the file includes the connection details for the endpoint along with some specific data. %%writefile default-pred.json { PROJECT_ID:"msd ...
My index.js file has a dependency on Cloud Tasks: const {CloudTasksClient} = require("@google-cloud/tasks"). However, when attempting to deploy my cloud function using Tasks, I encountered the error: Detailed stack trace: Error: Cannot find module '@g ...
In my attempt to schedule a cloud function using the Pub/Sub trigger method along with crontabs, I realized that it only provides granularity to the nearest minute. However, for my specific application - which involves working with trades at precise time ...