In my Angular 10 application, I am attempting to integrate Azure Functions. The key is to simplify the Azure function protocol by using a single Observable. Executing an Azure function requires the following steps: Initiate a POST request to the Azure fu ...
I'm facing a challenge trying to integrate my model type with Windows Azure Mobile Services. It's functioning well, except for when I introduce the following member: [DataMemberJsonConverter(ConverterType = typeof(DictionaryJsonConverter))] public ...
Running the command 'npm run coverage' in an Azure DevOps Build pipeline requires 2 environment variables to be available for successful completion. Previously, the NPM Task was used for this purpose but it doesn't support passing environme ...
I am currently utilizing git to deploy a node.js application to Azure App Service. However, upon accessing the app page, I am encountering an error message that reads: Service Unavailable Furthermore, in the console, I am seeing the following error: ...
Is there a solution for integrating Fontawesome Pro with CI builds? I have successfully set up my build and Fontawesome Pro locally using these commands: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ && \ npm config set ...
I'm curious about the best way to notify the frontend when there is a change in the backend. How can this situation be effectively handled? While developing an application on Azure, I have considered two possibilities, but none of them seem ideal. The fi ...
Currently, my setup involves Azure Functions and node.js working with Sendgrid to send emails to users when specific PDF blobs are uploaded to our blob repository. While everything has been functioning properly so far, I am facing an issue when trying to a ...
In my Node.js project, I am currently utilizing azure-graph: const MsRest = require('ms-rest-azure'); const credentials = await MsRest.loginWithServicePrincipalSecret(keys.appId, keys.pass, keys.tenantId, { tokenAudience: 'graph' } ...
My attempt to launch my reactjs application on Azure cloud platform has hit a roadblock. I have designated the git repository as the deployment source, but my deployment is failing due to numerous npm errors. The azure error log shows the following: C ...
I have an existing git repository for a solution consisting of multiple projects, both .Net and Node.js. My goal is to use git to deploy certain projects to Azure Web sites. Deploying an ASP.Net project located in a subfolder was a breeze thanks to Scott ...
I'm currently developing server code in ASP.NET with the MVC framework. The client-side code is written in javascript. When sending an AJAX request from the browser to the server, whether using JQuery or not, timeouts can be set. Additionally, the browser ...
Can someone assist me with code sample for file validation using sha-1 hash in Node.js? I am looking to obtain the sha-1 hash value without downloading the block from azure storageblob. // Example of uploading BlockBlob using @azure/storage-blob npm bloc ...
I am encountering an issue with my node.js app while deploying it on Azure. It runs perfectly fine locally using express, but on Azure, I am getting the following error: Application has thrown an uncaught exception and is terminated: Error: Cannot find mo ...
Hey there, I'm currently working on implementing a copyIndex in a script to handle an array of virtual machines. You can find the full script here: https://pastebin.com/embed_iframe/vQyyKrYn The error message I am encountering states: is not valid: The ...
I recently attempted to create an Express 4 Web App using Azure. I came across multiple articles that suggested using Azure Redis Cache for storing sessions. However, I am unsure about the proper way to connect my web app to the redis cache. var session = ...
Is it possible to use Azure maps to display a large amount of data points, such as one million? I am interested in creating an Azure map with optimized performance and loading it into my Angular application using a map URL. Can you provide guidance on how ...
I'm curious - is it possible to implement an Azure SQL connection pool for Azure Functions (Node.js) requests? The time it takes to create a connection is a significant portion of the overall execution time of my requests, and I'm interested in finding wa ...
I recently deployed my web app to two Azure app services and encountered different results - one is working fine, while the other is throwing an error. My web app is built on Express and I am unsure how to resolve this issue as the error does not seem to ...
Recently, I encountered an issue while trying to deploy my app that utilizes Next.js on the frontend (including some getStaticProps function) and a custom express/node.js backend on Azure. The backend is connected to MySQL, although I don't believe this is ...
In my Azure Pipeline, I have set up the following task: - script: npm run test --watch=false --loglevel verbose --single displayName: npm run tests When running this task on an Ubuntu agent with Puppeteer, the tests complete successfully: Chrome H ...
I recently faced an issue with my angular4 app deployed on azure web app (website) using Deployment Options through the Portal. To customize the deployment script, I utilized kuduscript [kuduscript -y –node] and modified deploy.cmd to specify how Azure s ...
Having trouble creating a custom deploy script for my Azure website. The errors I'm encountering seem to be related to Azure using an outdated version of Node. After researching online, the common solution is to specify the Node version in the packag ...
I'm facing an issue while trying to deploy my React web app on Azure through a GitHub workflow. After committing changes, I encountered an error during the build process which is shown in this screenshot: https://i.stack.imgur.com/UkEOE.png I experienced ...
Currently, I am working on a web application using ReactJS for the frontend and Express for the backend. My deployment platform is Azure. In order to verify that my requests are being processed correctly, I decided to conduct two API tests. The first tes ...
I'm currently utilizing the django framework and attempting to set up an index in the Azure portal through their REST API guide. However, upon sending my post request, I encountered the following error: JSONDecodeError at /createIndex Here is the m ...
Having an issue with posting a complex JSON object to my Azure IIS server running PHP 5.4 using AngularJS: var request = $http({ method: "post", url: "/php/mail.php", data: $scope.contactForm, headers: { 'Content-Type': & ...
I have a React component that is responsible for sending the user's profile image to a proxy Next.js API. The reason for using a proxy API is to prevent Azure secrets from being exposed in the browser's network tab. Below is the front-end React ...
Having trouble setting up Azure app insight with nextjs, is there anyone who can provide assistance? ...
I am utilizing a VM deployment template where I specify the VM size using T-Shirt Sizes, for example, small = Standard_DS2_v2, medium = Standard_E4s_v3 and large = Standard_E32s_v3. These sizes are defined in an array within the variables section as shown ...
I've been working on a node.js project hosted on Azure and recently implemented password encryption with bcrypt. While everything was running smoothly on my test computer, the deployment to Azure failed with the following error message: node-gyp rebuild C ...
I'm looking to retrieve the list of users from the Azure active directory. The client has set up a Graph API application but is hesitant to share the client secret, opting instead to use Key Vault for security. How can I access the key required to fetch th ...
I am facing an issue with adding customresourcedeployment in aks. Previously, we were using the V1beta1 version which appears to be deprecated now. I have attempted to transition to the v1 version, but encountered a schema validation error. The original V1 ...
Issue: My project consists of a server (Express Server for file uploading and deleting) and client (Front End Create-React-App). The structure of the project is as follows: Root Folder With Server Client Folder Each folder has its own package.json. Serv ...
I currently have a Xamarin.Forms mobile application utilizing Azure Easy Tables successfully for all CRUD operations. Now, I am in need of some node.js server-side functionality that will allow me to update and increment a column's count in tableB bas ...
Struggling to deploy an Angular Application on Azure App Service, encountering a failed deployment with the following log: Command: "D:homesitedeployments oolsdeploy.cmd" Handling ASP.NET Core Web Application deployment. Restore completed in 862 ms ...
I have an azure website with a URL like: . In my server.js file, I have the following code: var restify = require('restify'); function respond(req, res, next) { res.send('hello ' + req.params.name); next(); } var server = restify.createServer(); ser ...
When deploying to Azure sites, issues may arise if one of your npm modules requires compilation. Is there a simple method to review the packages.json file in order to alert users not on Windows when they might encounter problems? ...
So I have been working on developing a NodeJs application on my Windows machine. Recently, I decided to deploy it on Azure cloud and set up a SQL Server instance. During the testing phase, where the node app was running locally and the SQL Server was conn ...
My issue involves an Angular Universal application. While everything runs smoothly locally with express, and inside of node, deploying the production build to IIS with iisnode results in a 500 Internal Server Error when navigating directly via URL. Unfor ...
I am in need of transferring a group of files (Python or Scala) from a DBFS location to my user workspace directory for testing purposes. Uploading each file individually to the user workspace directory is quite cumbersome. Is there a way to easily move f ...
I encountered an issue while setting up backup policies using Azure ARM Template for weekly SQL Backup. Any assistance would be greatly appreciated. It seems that the backupmanagementype for VM is AzureIaasVM, so for SQL it should be "backupManagementType ...
Below is my Dockerfile setup: FROM node:alpine WORKDIR ./usr/local/lib/node_modules/npm/ COPY .npmrc ./ COPY package.json ./ COPY package-lock.json ./ RUN npm ci COPY . . EXPOSE 3000 CMD ["npm", "run", "start-prod"] Th ...
During my local development work with an Azure Function in Python, I am experimenting with the python-gnupg wrapper to call a GnuPG binary. Within the Azure Function triggered by HTTP, this is the code snippet that I am testing. import gnupg import tempfi ...
While attempting to deploy my node.js server on Azure using app service, I consistently encounter various errors. The issues range from the build command being unavailable in the configuration to difficulties fetching content. It has become quite frustrati ...
One of the parameters in my API Url is TIMESTAMP, with a specific value like: Actual Url: The timestamp value could expire, so I've created a parameter TS with the value utcNow() to prevent that. Now, my URL looks like: I'm using this updated ...
I need help with creating a JSON file using JAVA. The file will have multiple JSONs in it. My goal is to automatically import this file into Azure Cosmos DB once it's been generated. Is there a Java-based solution for achieving this task? Thank you in ad ...
Seeking assistance with transforming XML to JSON using Azure liquid mapping in order to extract the session ID. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3. ...
Currently, I am attempting to deploy my Next.js 13 application to AppServices using Github Actions. The compilation process on Github was successful, however, I am encountering an issue where my application does not seem to be deploying or starting up prop ...
After successfully deploying a NodeJs app to a Linux Azure AppService, I am now aiming to retrieve the server settings of this particular app-service. By enabling managed Identity for the AppService under the 'Identity' tab, I attempted to achieve this in ...
I attempted to upload the xgboost python library to Azure ML, but encountered an error stating that my library is not a Win32 application. I made sure to install the 32 bit version of the package and I am running conda 32 bit as well. The library was downl ...
I've been trying to deploy my Angular application on Azure. While I can successfully publish it using Azure, I keep encountering an error message when trying to access the published site: AggregateException: One or more errors occurred. (One or more ...
I have a functioning Azure function with the following code: module.exports = function(context, req) { // this is the complete source code, believe it or not context.done(null, {favoriteNumber: 3}); }; When I utilize a tool like Postman to access ...
My dilemma lies in my app setup which involves a Node.js runtime stack serving a ReactJs Typescript application. I have set some API URLs in the application settings, and attempted to access them in ReactJs components using process.env.REACT_APP_URL, only ...
I encountered an issue when calling a currency conversion function I created in Databricks. The error message is as follows: I attempted to resolve the problem with the following code snippet from pyspark.sql.functions import lit from pyspark.sql.function ...
Setting up the Angular app can be quite tricky. In our Azure Yaml pipeline publishing job, we tackle the challenge by executing a "token" replacement to tailor the configuration for the specific target environment within a tokenized artifact. Subsequently ...
I am having issues deploying my application built with Next.js on an Azure Web App. Despite following the guidelines provided by Microsoft, I encountered a problem while trying to deploy. After compiling the application with the "standalone" flag as instru ...
Struggling to develop a feature in a React Native mobile app where users can upload and crop their profile picture, then store it in Azure blob storage. I encountered difficulty with implementing react-native-fs as many resources recommended it, but I kep ...
I recently started working with Node.js/Express and I'm trying to upload a file to Azure blob storage. For the front end form, I'm using AngularJS. However, when I try to upload a file, I encounter the following error: TypeError: Cannot read p ...
I'm currently facing an issue while attempting to deploy a next.js (with typescript) application on Azure using Bitbucket pipelines. As part of my pipeline process, I build the next.js app with the following build configuration: // next.config.js /** ...
Hey there! I currently have two web applications deployed on Azure - one serving as the frontend and the other as an API. The communication between the frontend and API is established using the following code: @Injectable({ providedIn: 'root' } ...
In the first method, data is retrieved from the database and populated into the grid. The second method is used for viewing user details. When the user clicks on this method, it displays the user details. However, if the page is refreshed at that time, v ...
There is a PHP script hosted on my Azure server that returns JSON when accessed through the browser. However, I am having trouble making an AJAX call to this script as none of my requests seem to go through. The issue remains unclear. You can see a failed ...
I'm encountering an error message whenever I attempt to execute any npm command (such as npm i) on a Windows Azure app console. The environment consists of Node v10.19.0 and Npm v6.13.4. https://i.stack.imgur.com/QyKZC.png Here is the formatted code ...
I have been experimenting with Azure Functions and wanted to incorporate some dependencies into my code. I followed the instructions provided HERE. However, after running 'npm install' and waiting for an extended period of time, the Kudu console ...
As a newcomer to Microsoft Event Hub, I've managed to send data to the eventHub using Node.js according to this reference. Now, I'm looking for guidance on how to receive and display the data from the event hub. Any suggestions? ...
Exploring with jq and jmespath: I am intrigued by the objectId located in the middle of this string... I've attempted to use sed, regex, but there has to be a more clever solution... Command 1: az dls fs access show --account "$account" --path "$rootpath ...
I am facing a challenge while trying to establish a connection to an Azure DevOps Artifacts feed as I keep encountering an E401 error. Interestingly, when I attempted the same on a different device, the connection was successful. Additionally, I have gone ...
Struggling to authenticate with Azure AD from my Angular app. Finding it difficult to understand the process due to outdated examples on the internet. I've been following the latest documentation on GitHub but keep encountering this error when trying to ac ...
While conducting a Load test locally, everything runs smoothly. Chrome opens and performs the necessary actions without any issues. However, when attempting to run the test online in Azure, an error is encountered: The Initialization method SeleniumWebLoa ...
Encountering an issue when trying to connect to Azure Database for MySQL using the mysql npm module (version 2.13.0): Error: /Users/sascha/Desktop/azure-mysql/index.js:19 if (error) throw error; ^ Error: ER_HANDSHAKE_ERROR: Bad handshake ...
I need to transfer an ES2015 node.js application from Heroku to Azure hosting. Currently, the start-up command on Heroku is "start": "./node_modules/babel-cli/bin/babel-node.js index.js" However, I encountered this issue while trying to replicate it on ...
Looking for an efficient solution to handle millions of entities stored in Windows Azure Table Storage, I am seeking a method that satisfies the following criteria: 1) When searching for an entity, retrieve that entity along with a specified number of ent ...
When implementing an Azure Durable Function in Python on the consumption plan, I encountered an issue where the function would fail to execute successfully after running it around 2000 times a day for a couple of weeks. The process involves fetching data f ...
I have set up a simple express website on an Azure shared resource in the Australia Southeast region. The website runs locally on port 3000, but when deployed to Azure, it does not render at all. Instead, I receive the following error message: node server ...
I have successfully developed an application using NextJS My goal is to deploy this app on an Azure App service The deployment was a success on the Vercel server without any need for customization Currently, I am utilizing DevOps tools such as Pipelines ...