question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`func host start` does not work with Azurite V3 on MacOS

See original GitHub issue

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

Both v3 and v2

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

npm

What’s the Node.js version?

v10.14.1

What problem was encountered?

Problem

I am trying to use Azurite as local storage emulator for a Node.js Azure Functions app offline testing.

I am using the connection string stated in the doc for AzureWebJobsStorage.

I get the following error from func host start

[8/16/19 4:48:33 AM] An unhandled exception has occurred. Host is shutting down.
[8/16/19 4:48:33 AM] Microsoft.WindowsAzure.Storage: Connection refused. System.Net.Http: Connection refused. System.Private.CoreLib: Connection refused.

Steps to reproduce the issue?

Follow the README.md instructions in this sample app


### Have you found a mitigation/solution?
Yes, use V2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
XiaoningLiucommented, Aug 19, 2019

@mydiemho Thanks! Will take a look

0reactions
edwin-hubercommented, May 14, 2021

Table API is merged into the master branch and batch API implemented in preview. Azure Functions local development now works with current release 3.12. For GA we will also update the VS Code extension to start the table service automatically.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Azurite emulator for local Azure Storage development
The Azurite open-source emulator provides a free local environment for testing your Azure Blob, Queue Storage, and Table Storage applications.
Read more >
Not able to run Azure functions in VS code in mac?
View task output for more information. But when I use the command func host start in my local terminal, it can run smoothly....
Read more >
Writing Azure Functions on macOS - Marc Roussy
A (mostly) step-by-step process to building Azure Functions on macOS.
Read more >
azure-functions-core-tools - npm
Azure Functions Core Tools. Latest version: 4.0.4915, last published: 21 days ago. Start using azure-functions-core-tools in your project by ...
Read more >
Can I Develop Az Functions on a Mac? - Thiago Passos
I WAS SAD; I stopped using the Mac for Azure Functions ... I found out a community maintained open source storage emulator called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found