跳到主要内容
ArcBlock Community

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 条回复

wangshijun21个月前

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

voidmanevoid21个月前

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

wangshijun21个月前

They should be in the same intranet.

Robert21个月前

image.png

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

voidmanevoid21个月前

that did it!!! thanks z1bhjbMg9fma2gVTi2DmSLhEv81taqUEaf2

voidmanevoid21个月前

got it. thanks!

voidmanevoid21个月前

z1VV21NqNWkiadznN32ALkos5dQqQwnCMty 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

wangshijun21个月前

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?

voidmanevoid20个月前

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

thanks!

回复