-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internet access is required for running azure functions on local machine #3821
Comments
@umangsriv Could you investigate this? You can use fiddler to find out what exact URL it is pinging. May be it's related to Azure/azure-functions-host#9434 |
Sure @kshyju , I'll look into this. |
Hello @kshyju, I have investigated the issue and performed debugging in both online and offline modes. During my analysis, I identified two suspected URLs:
Beyond these, I did not observe and significant issues, if anything else you would suggest I explore or if there are further steps you would recommend, please let me know. |
Hey @kshyju, could you please provide an update so we can proceed? |
Hi @kshyju , I wanted to provide an update on the offline mode issue I've been investigating and seek some guidance on the best approach to move forward. Issue Summary : The core problem arises when trying to run 'func start' in offline mode, as certain components in the application continue to make network calls to external resources, specifically to 'functionscdn.azureedge.net'. Example :A host error has occurred during startup operation '647a2997-d85f-4c99-9bac-49186e155f1d'. Findings Network Dependencies in multiple components like:
Proposed SolutionMocking or Bypass Network Dependencies:
I would appreciate any guidance or suggestions on ensuring we address offline mode compatibility comprehensively. Additionally, if there are existing strategies or preferred practices for handling offline mode, insights on those would be very helpful. |
@kshyju just a heads up that there are updates here! Thanks :) |
Version
Description
func start
would fail to execute when there is no Internet access. Some developers may have to work in a network without Internet access (or very limited access). It potentially makes azure-functions-core-tools not work..When the machine has Internet access, we can run the tools locally.
But when we stop the Internet access, the tool would fail to build configuration in an external class. It looks like this process needs to download something from a CDN (functionscdn.azureedge.net:443).
Steps to reproduce
simply stop the Internet access and then run
func start
. We should see error following messages:The text was updated successfully, but these errors were encountered: