Skip to main content
ArcBlock Community

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

wangshijun21 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.

voidmanevoid21 months ago

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

wangshijun21 months ago

They should be in the same intranet.

Robert21 months ago

image.png

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

voidmanevoid21 months ago

that did it!!! thanks z1bhjbMg9fma2gVTi2DmSLhEv81taqUEaf2

voidmanevoid21 months ago

got it. thanks!

voidmanevoid21 months ago

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 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?

voidmanevoid20 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