Azure / Azure/azure-functions-host

Local function App starts only when there's internet connection

Open
#8,178 4 comments 0 reactions 0 assignees View on GitHub
Needs: Attention :wave:
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

I have a default PowerShell function app. It only starts when there is an internet connection, but gives the below error when there is no internet connectivity

![error log](https://user-images.githubusercontent.com/31422222/156051415-eed09ca2-6daf-4244-a164-d88e5d7b699b.PNG)

Here are more info below:

**Version Info**

![image](https://user-images.githubusercontent.com/31422222/156051731-3847af0d-fb31-4363-86d3-8639acb37034.png)

**local.settings.json**

![image](https://user-images.githubusercontent.com/31422222/156051941-6d746918-0adb-4318-903b-9f8bec8b9d88.png)

**host.json**

![image](https://user-images.githubusercontent.com/31422222/156052056-2d682434-0958-4662-b6bc-86adcb761628.png)

**function.json**

![image](https://user-images.githubusercontent.com/31422222/156052220-5db1644d-d77e-4095-a920-093846cf6741.png)

**run.ps1**

![image](https://user-images.githubusercontent.com/31422222/156052882-08cbfce7-84cc-42b2-9628-5f2590ca16b8.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the offline startup failure and reading the attached error log. Compare local.settings.json, host.json, function.json, and run.ps1 with the reported version information; done means the default PowerShell function app starts without internet connectivity.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.