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

Use @fluidframework/azure-client can not create container and get Error: 0x883 at app.js:125 #19274

Closed
LuBu0505 opened this issue Jan 18, 2024 · 3 comments
Labels
bug Something isn't working community-contribution

Comments

@LuBu0505
Copy link

User Azure Fluid quick start docs, and try to start it in my loca.

quickstart-fluid-relay

Logs

The browser console error:

[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.
bootstrap:24 [HMR] Waiting for update signal from WDS...
app.js:125  Error: 0x883
    at assert (assert.mjs:18:1)
    at new SharedTree (sharedTree.js:28:15)
    at TreeFactory.create (treeFactory.js:27:1)
    at new LocalChannelContext (localChannelContext.js:186:1)
    at RuntimeWithRequestHandler.createChannel (dataStoreRuntime.js:206:1)
    at RootDataObject.createSharedObject (rootDataObject.js:95:1)
    at RootDataObject.create (rootDataObject.js:83:1)
    at createObject (rootDataObject.js:39:1)
    at rootDataObject.js:42:1
    at Array.forEach (<anonymous>)
(anonymous) @ app.js:125
Promise.catch (async)
./src/app.js @ app.js:125
__webpack_require__ @ bootstrap:24
(anonymous) @ startup:6
(anonymous) @ startup:6
index.js:485 [webpack-dev-server] Disconnected!
index.js:485 [webpack-dev-server] Trying to reconnect...

image

The client code I used:
const { container } = await client.createContainer(containerSchema);
image

@LuBu0505 LuBu0505 added the bug Something isn't working label Jan 18, 2024
@nmsimons
Copy link
Contributor

I believe the issue you encountered is the result of cloning the main-azure branch. Try using git clone -b main https://github.com/microsoft/FluidHelloWorld.git instead. Meanwhile, I will update that branch to resolve this issue for others.

@nmsimons
Copy link
Contributor

Alternatively, if you start from a clean clone of the repo and use Node 14, it should work.

@LuBu0505
Copy link
Author

Thanks @nmsimons , You are right.

when i downgrade nodejs version from ~16 to ~14. the FluidFramework for azure works.
image

and it works in my local. and connect to azure fluid relay server in Mooncake.
image

Thanks very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community-contribution
Projects
None yet
Development

No branches or pull requests

2 participants