-
Notifications
You must be signed in to change notification settings - Fork 10
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
How to connect local function func start
? What's the value of SharedAccessKey=SAS_KEY_VALUE
#16
Comments
func start
func start
? What's the value of SharedAccessKey=SAS_KEY_VALUE
@ranma2913 - You don't need to change anything for SharedAccessKey=SAS_KEY_VALUE. Other questions in your issue seems related to #15, can you review it to get more details on local.settings.json? Additionally, I have similar questions on your setup- Where are the local function and emulator running and how does the networking topology look like? |
Hi, just my 2 cents. From what I saw in my PoC using node is that coreamqp library is connecting to 5671 port (TLS port for amqp if I'm not wrong) which is not exposed by the docker compose. Adding it to the docker compose turns into a connection reset error. Using the |
@ranma2913 |
@phs18, sadly no I've not make any progress. Sample-Code-Snippets/JavaScript/EventHubTrigger-FunctionApp/src/functions/MyEventHubTrigger.js still sits without anyone from Azure getting a chance to look into this. |
I'm getting the exact same problem with a Python function. This is on M2.
edit: this solved it: #15 (comment) |
@ranma2913 - I posted a comment on the sample that you provided. Could you please review? Similar to @kyrre, I was also able to run it successfully on my local machine |
@ranma2913 - could you please confirm if you had a chance to look at above feedback? Are you still facing the issue? |
The issue is the same as one I encountered with a Java Spring Azure application. As previously mentioned, an Azure Function attempts to connect to the Event Hubs Emulator on port 5671. I'm using the emulator to develop both Java Spring Azure application and Azure Functions in TypeScript, but with a reverse proxy in front of the emulator. For more details about this workaround check this link: https://github.com/mirkoiv/azure-event-hubs-emulator-installer/blob/main/Sample-Code-Snippets/Java/spring-cloud-azure-samples/README.md. To make this workaround work with Azure Functions, ensure that the generated certificate for the Nginx reverse proxy is added to the computer's trusted root certificate store. |
can we change the default port |
I'm developing a Javascript v4 function. It's working fine in cloud, but on local I'm not able to connect to my docker-compose started Event Hub Emulator.
I have Questions:
eventhubs-emulator
SharedAccessKey=SAS_KEY_VALUE
have some 'real' value instead of string 'SAS_KEY_VALUE'?I'm using the connection string provided in the documentation
Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;
but get a connection refused:Tagged in Redit Question here
The text was updated successfully, but these errors were encountered: