azure-web-sites

Laravel-websocket can't connect to Azure VM through apache2

蹲街弑〆低调 提交于 2020-06-17 15:15:19
问题 I want to implement Laravel-WebSocket + pusher substitute (https://github.com/beyondcode/laravel-websockets) with Laravel-echo on an Azure VM with apache2 reverse proxy. However, no matter what I tried, they just can't connect. It's always between error 404, 502 and 500 when a client-side listener tries to connect. This VM only allows entry through 80 and 443. Therefore, I did reverse proxy which redirects '/WebSocket' to http://127.0.0.1:6001 (where the WebSocket runs. TCP) The server is

Laravel-websocket can't connect to Azure VM through apache2

六月ゝ 毕业季﹏ 提交于 2020-06-17 15:13:12
问题 I want to implement Laravel-WebSocket + pusher substitute (https://github.com/beyondcode/laravel-websockets) with Laravel-echo on an Azure VM with apache2 reverse proxy. However, no matter what I tried, they just can't connect. It's always between error 404, 502 and 500 when a client-side listener tries to connect. This VM only allows entry through 80 and 443. Therefore, I did reverse proxy which redirects '/WebSocket' to http://127.0.0.1:6001 (where the WebSocket runs. TCP) The server is

How to Start/Stop IIS on the target Windows server before deployment in Azure Devops Pipeline

流过昼夜 提交于 2020-06-17 00:49:41
问题 I created the step in Azure Devops to Start and Stop IIS Website but it is failing with below error message: **2020-05-23T10:28:04.7393424Z ##[section]Starting: Start 2020-05-23T10:28:04.7659676Z 2020-05-23T10:28:06.5436980Z ##[command]"C:\Windows\system32\inetsrv\appcmd.exe" start site /site.name:"taxrpt-deva" 2020-05-23T10:28:06.6132349Z ERROR ( message:The W3SVC service is not available - try starting the service first. ) 2020-05-23T10:28:06.7434786Z ##[error]Process 'appcmd.exe' exited

Unable to Connect to Azure SQL DB from Azure App Service

老子叫甜甜 提交于 2020-06-16 17:05:31
问题 We have an ASP Classic web application running successfully in an Azure App Service that currently uses SQL Server Authentication to access the Azure SQL Database. We need to change the authentication to Active Directory user. We managed to make this application work from a developer’s workstation accessing the Azure SQL Database, see what worked and did not, below. * Does NOT work on desktop and Does NOT works in Azure Conportail.Open "Provider=SQLOLEDB; Server=tcp:.database.windows.net,1433

access SSL certificate in Azure Web App

半城伤御伤魂 提交于 2020-06-14 07:42:11
问题 I've uploaded an SSL certificate to my Azure Web App, running on Node, and now I'd like to access my certificate programmatically from my Node scripts to use it for signing JWTs. Is there a way to do this? I've found similar answers for C#, but I haven't been able to translate this into Node-world. Update Here is code that worked successfully, with help from @peter-pan-msft. Before running this code, I had to SFTP upload my SSL certificate to a private folder on the server. process.env.KEY =

Why Azure appsettings encoding bring me wrong chars?

倖福魔咒の 提交于 2020-06-14 05:57:07
问题 I have a problem whit the azure appsettings encoding. I have a node.js application deployed into an app service. When calling the environment variables using process.env, the values are comming in wrong encoding. I was expect a "utf8" encoding that supports chars like "ñ", "ó", "í", "á", "é", "ú" but instead of that, I get chars like "¢", "£", " ", etc. Could you help me? Thanks! 回答1: Exactly same thing on my side. There seems some encoding problem with process.env as on Kudu( https://

Why Azure appsettings encoding bring me wrong chars?

我是研究僧i 提交于 2020-06-14 05:55:28
问题 I have a problem whit the azure appsettings encoding. I have a node.js application deployed into an app service. When calling the environment variables using process.env, the values are comming in wrong encoding. I was expect a "utf8" encoding that supports chars like "ñ", "ó", "í", "á", "é", "ú" but instead of that, I get chars like "¢", "£", " ", etc. Could you help me? Thanks! 回答1: Exactly same thing on my side. There seems some encoding problem with process.env as on Kudu( https://

Change variables in appsettings when deploying with github actions

╄→尐↘猪︶ㄣ 提交于 2020-05-31 02:35:08
问题 I am trying to deploy an app with github actions. I linked my azure account to my github repository and the following actions has been created: name: Build and deploy ASP.Net Core app to Azure Web App - my_app_name on: push: branches: - master jobs: build-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.102' - name: Build with dotnet run: dotnet build --configuration Release - name:

Change variables in appsettings when deploying with github actions

我的梦境 提交于 2020-05-31 02:32:40
问题 I am trying to deploy an app with github actions. I linked my azure account to my github repository and the following actions has been created: name: Build and deploy ASP.Net Core app to Azure Web App - my_app_name on: push: branches: - master jobs: build-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.102' - name: Build with dotnet run: dotnet build --configuration Release - name:

Azure App Service Active Directory Authentication Access Denied

时间秒杀一切 提交于 2020-05-29 08:28:02
问题 We have a web app that we are transitioning from a Azure classic cloud service to an App Service web app. The classic cloud service was on a vnet that contained our domain controllers (regular AD, NOT Azure AD). The App service uses VNET Integration so it is connected to our vnet, and therefore DCs,(essentially via a client vpn). When we run the code that creates a new AD in the web app, the user is created successfully, but as soon as we try to change anything - set the password, add to a