Skip to content
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

Regarding Feature Registry configuration for Feathr #1063

Open
SourabhGurjAr7 opened this issue Feb 13, 2023 · 2 comments
Open

Regarding Feature Registry configuration for Feathr #1063

SourabhGurjAr7 opened this issue Feb 13, 2023 · 2 comments
Assignees

Comments

@SourabhGurjAr7
Copy link

SourabhGurjAr7 commented Feb 13, 2023

Hi,

I am using api-endpoint for feature_registry in feathr as mysql path.Is it fine to use this as an api-endpoint or we must have it from azure? When I am using this while registering an feature in feathr i am getting this error " DefaultAzureCredential failed to retrieve a token from the included credentials".So, if anyone can help me to resolve this issue it will be very helpful.

api-endpoint: "mysql://username:password@host:port/database"

@blrchen
Copy link
Collaborator

blrchen commented Feb 16, 2023

Adding this week's oncall @enya-yx to help

@enya-yx
Copy link
Collaborator

enya-yx commented Feb 17, 2023

Hi,

I am using api-endpoint for feature_registry in feathr as mysql path.Is it fine to use this as an api-endpoint or we must have it from azure? When I am using this while registering an feature in feathr i am getting this error " DefaultAzureCredential failed to retrieve a token from the included credentials".So, if anyone can help me to resolve this issue it will be very helpful.

api-endpoint: "mysql://username:password@host:port/database"

For the first question, yes if you plan to register features into your sql, you need to set and use an 'api-endpoint'. And you should set it in the config or environment variable. It should be like: "https://{..}webapp.azurewebsites.net/api/v1". For more details, you may check any samples provided in our docs: https://github.com/feathr-ai/feathr/tree/main/docs/samples

For the second question, it may because you don't have credential to visit azure resources. You may check if configurations in your web service are correctly, especially the 'CONNECTION_STR'. An example for that is: ""Server=tcp:{...}.database.windows.net,1433;Initial Catalog={...};Persist Security Info=False;User ID={...@...};Password={...};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants