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

Unable to Create Room #302

Open
Parker-A-Webb opened this issue Jan 14, 2025 · 0 comments
Open

Unable to Create Room #302

Parker-A-Webb opened this issue Jan 14, 2025 · 0 comments

Comments

@Parker-A-Webb
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Following this quick start https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/rooms/get-started-rooms?tabs=windows&pivots=programming-language-javascript and using this sample https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/rooms-quickstart the api call to create the room fails with the CORS error PreflightMissingAllowOriginHeader. When trying to make the same call using Postman I get a 404 response. I am able to create the users and tokens using the same Azure Communications Services resource connection string.

Any log messages given by the failure

using npm package:
Cross-Origin Resource Sharing error: PreflightMissingAllowOriginHeader

using Postman to hit the Rest API:

<!DOCTYPE html>
<!-- saved from url=(0058)https://df.onecloud.azure-test.net/Error/UE_404?shown=true -->
<html lang="en" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Page not found</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="msapplication-config" content="none" />
    <link rel="icon"
          type="image/x-icon"
          href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/favicon.ico" />
    <link rel="shortcut icon"
          type="image/x-icon"
          href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/favicon.ico" />
    <meta name="robots" content="noindex, nofollow" />

    <link rel="stylesheet"
          property="stylesheet"
          type="text/css"
          href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/UxFxErrorCss_8097D4DBB3B4874308CB3816C1762BED98637360.css" />

    <link rel="stylesheet"
          property="stylesheet"
          type="text/css"
          href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/UxFxStableCssWesternEuropean_6724ABFCA058F28804A76FD40AD14C9D7A6031D9.css" />

    <style type="text/css"></style>
</head>

<body class="error-page-wrapper">
    <div class="error-page">
        <div class="error-page-content">
            <h1>Fairfax - Page not found</h1>

            <div style="padding-top: 35px">
                Oops! We weren't able to find your Azure Front Door Service
                configuration. If it's a new configuration that you recently created,
                it might not be ready yet. You should check again in a few minutes. If
                the problem persists, please contact Azure support.
            </div>
            <ul>
                <li>
                    <a class="error-page-content-tryagain"
                       href="https://portal.azure.com/#create/Microsoft.AFDX">
                        <span>Try again</span><img src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
                                                   alt="" />
                    </a>
                </li>

                <li>
                    <a class="error-page-content-support"
                       href="https://azure.microsoft.com/en-us/support/options/">
                        <span>Contact support</span><img src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
                                                         alt="" />
                    </a>
                </li>

                <li>
                    <a class="error-page-content-support"
                       href="https://azure.microsoft.com/en-us/documentation/services/frontdoor/">
                        <span>Documentation</span><img src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
                                                       alt="" />
                    </a>
                </li>
            </ul>
        </div>
        <img class="error-page-cloud1"
             src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg" />
        <img class="error-page-cloud2"
             src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg" />
        <img class="error-page-cloud3"
             src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg" />
    </div>
    <div class="error-body">
        <div></div>
    </div>
</body>
</html>

Expected/desired behavior

A new room is created

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Using the C# Nuget package I get the same result as Postman


Thanks! We'll be in touch soon.

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

No branches or pull requests

1 participant