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

fix socketio cors authentication for object detection and qa metrics requests #2455

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

imatiach-msft
Copy link
Contributor

@imatiach-msft imatiach-msft commented Dec 11, 2023

Description

On notebook VM environment in AzureML, there are errors when making socket connections to the flask service due to CORS authentication.
This PR adds the required settings in the flask backend service, specifically by accepting wss:// websocket connections, and updates the UI request to handle credentials.

One of the error messages:
image

Working screenshot in notebook VM environment:
image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

2 similar comments
@imatiach-msft imatiach-msft merged commit afcc4ba into main Dec 13, 2023
74 checks passed
@imatiach-msft imatiach-msft deleted the ilmat/fix-socket-cors-auth branch December 13, 2023 15:12
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

Successfully merging this pull request may close these issues.

3 participants