Skip to main content

local blocklet server cant scan qr code to login

voidmanevoid
developers
blocklet-serversolution

i'm using the latest beta for @blocklet/cli.

when running the blocklet server locally and trying to login via qr code from my phone i receive this:

IMG_2188.PNG

this works on our currently deployed blocklet at bassmoney.io, which uses v1.16.33

9 replies

wangshijun22 months ago

Hi, please ensure your Phone and your local server are in the same network, otherwise your phone will not able to access your server.

voidmanevoid22 months ago

hello, they are in the same network. not sure what else to try.

wangshijun22 months ago

They should be in the same intranet.

Robert22 months ago

image.png

If you use iOS latest version you may need to ensure DID Wallet have Local Network access.

voidmanevoid22 months ago

that did it!!! thanks @Robert

voidmanevoid22 months ago

got it. thanks!

voidmanevoid22 months ago

@wangshijun is it normal for the blocklet running locally to use significantly more memory than the deployed blocklet?

for example the same app:

local: 957 MB memory usage

production: 253 MB memory usage

wangshijun22 months ago

Intuitively, it seems so, because the blocklet in the development environment includes some features that are only available in the development environment at runtime, such as Hot Module Replacement and File Watching.

By the way, where did you see the data?

voidmanevoid22 months ago

that makes sense! i did some memory profiling locally but also just look at the memory usage for the tab in chrome.

thanks!

Reply