Coder Social home page Coder Social logo

Comments (9)

github-actions avatar github-actions commented on September 28, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kasun04.

from azure-sdk-for-js.

deyaaeldeen avatar deyaaeldeen commented on September 28, 2024

@Yionse for the first three issues, did you make sure to configure service principal correctly following the instructions in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/README.md#use-the-event-hubs-namespace-and-azure-identity? It would be helpful to share what you see in the logs, especially from @azure/identity.

For the forth one, the fix is to delete AbortController from the import statement because it is a global provided by NodeJS and the web API.

I'll take a look at the fifth one.

from azure-sdk-for-js.

Yionse avatar Yionse commented on September 28, 2024

@deyaaeldeen thank you for your reply. For the first three issues. I'm sure I configured it according to the instructions in the document.

from azure-sdk-for-js.

deyaaeldeen avatar deyaaeldeen commented on September 28, 2024

@Yionse thanks for confirming! Could you share the logs then so we can better diagnose the issue you are facing?

from azure-sdk-for-js.

Yionse avatar Yionse commented on September 28, 2024

@Yionse thanks for confirming! Could you share the logs then so we can better diagnose the issue you are facing?

@deyaaeldeen when using '@azure/identity', an error is reported. if 'ConnectString' is used, it will run successfully. The value of fullQualifiedNamespace is https://<eventhubname>.services.windows.net. Below is the running logs.
image

from azure-sdk-for-js.

deyaaeldeen avatar deyaaeldeen commented on September 28, 2024

@Yionse The fully qualified namespace shouldn’t have the eventhub name in it, that is why you’re getting a not found error. It should have the namespace instead. I would encourage you to use the existing test resources arm template to create a resource and use the output variable EVENTHUB_FQDN as the environment variable for the sample.

from azure-sdk-for-js.

Yionse avatar Yionse commented on September 28, 2024

@Yionse The fully qualified namespace shouldn’t have the eventhub name in it, that is why you’re getting a not found error. It should have the namespace instead. I would encourage you to use the existing test resources arm template to create a resource and use the output variable EVENTHUB_FQDN as the environment variable for the sample.

@deyaaeldeen The value of fullQualifiedNamespace is <namespace>.services.windows.net. I have now received another error. Below is the running logs.
image

from azure-sdk-for-js.

deyaaeldeen avatar deyaaeldeen commented on September 28, 2024

@Yionse this error indicates there is a problem with authentication and I can't know what exactly is the issue without looking at the logs. Could you share the logs?

from azure-sdk-for-js.

Yionse avatar Yionse commented on September 28, 2024

@Yionse this error indicates there is a problem with authentication and I can't know what exactly is the issue without looking at the logs. Could you share the logs?

I have added the Azure Event Hubs Data Owner permission for the resource in the portal, and it can now run normally. Also, how is the progress status of item5?

from azure-sdk-for-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.