跳到主要内容

local blocklet server cant scan qr code to login

voidmanevoid
开发者
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 条回复

wangshijun22个月前

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个月前

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

wangshijun22个月前

They should be in the same intranet.

Robert22个月前

image.png

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

voidmanevoid22个月前

that did it!!! thanks @Robert

voidmanevoid22个月前

got it. thanks!

voidmanevoid22个月前

@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个月前

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个月前

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

thanks!

回复