่ทณๅˆฐไธป่ฆๅ†…ๅฎน

Pages Loading Error

Wasil
ๆ”ฏๆŒ
pages-kitbugqualifiedresolvedrewarded

Yooo! Recently, I noticed one of my apps is not loading properly, while the other works normally. Each of the blocklets are updated, so not sure what the issue might be?๐Ÿค” I thought it was maybe my connection, cause itโ€˜s garbage right now๐Ÿคฃ but my Trinity app loads fine still, so thinking it might be a bug? Lastly, I also tried to restart the entire app, but still nothing, which is why I figured to make this post. I then was able to individually access each blocklet, but not the pages kit or media kit, which makes me think the issue stems from one or the other. The app with the issue is - https://oblivion.did.life

zNKd7wLVSytMnAjm5DrAypmrd5nwyAmzo6GN.20250104213306.log.zip

Pages Kit "stderr" logs as shown in the video above.

Thanks for your help and time in advance!

27 ๆกๅ›žๅค

Yongzhuo Liang22ไธชๆœˆๅ‰(edited)

ๆƒณไบ†่งฃไธ€ไธ‹๏ผŒ https://oblivion.did.life ๆ˜ฏไฝ ไปฌ่‡ชๆ‰˜็ฎก็š„ๆœบๅ™จๅ—๏ผŸ

ๆˆ‘ไปฌ้€š่ฟ‡ๆŸฅ็œ‹ๆ—ฅๅฟ—ๅ‘็Žฐ๏ผŒไผผไนŽๅ‡บ็Žฐไบ† js ๅ †ๅ†…ๅญ˜ๆบขๅ‡บ็š„้—ฎ้ข˜๏ผŒๅฆ‚ๆžœๆ˜ฏ่‡ชๆ‰˜็ฎก็š„ๆœบๅ™จ๏ผŒไฝ ไปฌๅฏไปฅๅฐ่ฏ•ไธ‹้ข็š„่งฃๅ†ณๆ–นๆณ•

javascriptCopy
echo "export NODE_OPTIONS='--max-old-space-size=4096'" >> ~/.bashrc
source ~/.bashrc

่ฟ˜้œ€่ฆ้‡ๅฏ blocklet server & blocklet

ๆ—ฅๅฟ—ๅฆ‚ไธ‹๏ผš

javascriptCopy
2025-01-05T01:20:20: BadRequestError: request aborted
2025-01-05T01:20:20:     at IncomingMessage.onAborted (/var/lib/blocklet/blocklets/node_modules/raw-body/index.js:245:1)
2025-01-05T01:20:20:     at IncomingMessage.emit (node:events:518:28)
2025-01-05T01:20:20:     at IncomingMessage._destroy (node:_http_incoming:221:10)
2025-01-05T01:20:20:     at _destroy (node:internal/streams/destroy:122:10)
2025-01-05T01:20:20:     at IncomingMessage.destroy (node:internal/streams/destroy:84:5)
2025-01-05T01:20:20:     at abortIncoming (node:_http_server:805:9)
2025-01-05T01:20:20:     at socketOnClose (node:_http_server:799:3)
2025-01-05T01:20:20:     at Socket.emit (node:events:530:35)
2025-01-05T01:20:20:     at TCP.<anonymous> (node:net:343:12)
2025-01-05T01:21:53: 
2025-01-05T01:21:53: <--- Last few GCs --->
2025-01-05T01:21:53: 
2025-01-05T01:21:53: [69:0x7ddc000]  8431968 ms: Mark-Compact (reduce) 1022.5 (1046.4) -> 1022.5 (1039.4) MB, pooled: 0 MB, 1903.49 / 0.00 ms  (+ 6.4 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1950 ms) (average mu = 0.243, curre[69:0x7ddc000]  8433038 ms: Mark-Compact 1023.4 (1039.4) -> 1023.4 (1043.4) MB, pooled: 0 MB, 1068.80 / 0.00 ms  (average mu = 0.155, current mu = 0.000) allocation failure; scavenge might not succeed
2025-01-05T01:21:53: 
2025-01-05T01:21:53: 
2025-01-05T01:21:53: <--- JS stacktrace --->
2025-01-05T01:21:53: 
2025-01-05T01:21:53: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2025-01-05T01:21:53: ----- Native stack trace -----
2025-01-05T01:21:53: 
2025-01-05T01:21:53:  1: 0xe19de0 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2025-01-05T01:21:53:  2: 0x1240390 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
2025-01-05T01:21:53:  3: 0x1240667 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
2025-01-05T01:21:53:  4: 0x146e1a5  [node]
2025-01-05T01:21:53:  5: 0x146e1d3  [node]
2025-01-05T01:21:53:  6: 0x148728a  [node]
2025-01-05T01:21:53:  7: 0x148a458  [node]
2025-01-05T01:21:53:  8: 0x1cc5791  [node]
2025-01-05T01:26:53: Aborted (core dumped)
2025-01-05T01:27:00: Sun, 05 Jan 2025 01:27:00 GMT express-session deprecated undefined resave option; provide resave option at blocklet-compact.js:11:21
2025-01-05T01:27:00: Sun, 05 Jan 2025 01:27:00 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at blocklet-compact.js:11:21
2025-01-05T01:27:00: Warning: connect.session() MemoryStore is not
2025-01-05T01:27:00: designed for a production environment, as it will leak
2025-01-05T01:27:00: memory, and will not scale past a single process.
2025-01-05T01:27:00: (node:68) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2025-01-05T01:27:00: (Use `node --trace-deprecation ...` to show where the warning was created)
2025-01-05T01:27:00: (node:68) DeprecationWarning: user middleware is deprecated, please use session middleware for better security
2025-01-05T01:27:00: (node:68) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
2025-01-05T02:24:22: BadRequestError: request aborted
2025-01-05T02:24:22:     at IncomingMessage.onAborted (/var/lib/blocklet/blocklets/node_modules/raw-body/index.js:245:1)
2025-01-05T02:24:22:     at IncomingMessage.emit (node:events:518:28)
2025-01-05T02:24:22:     at IncomingMessage._destroy (node:_http_incoming:221:10)
2025-01-05T02:24:22:     at _destroy (node:internal/streams/destroy:122:10)
2025-01-05T02:24:22:     at IncomingMessage.destroy (node:internal/streams/destroy:84:5)
2025-01-05T02:24:22:     at abortIncoming (node:_http_server:805:9)
2025-01-05T02:24:22:     at socketOnClose (node:_http_server:799:3)
2025-01-05T02:24:22:     at Socket.emit (node:events:530:35)
2025-01-05T02:24:22:     at TCP.<anonymous> (node:net:343:12)
2025-01-05T02:26:01: 
2025-01-05T02:26:01: <--- Last few GCs --->
2025-01-05T02:26:01: 
Yongzhuo Liang22ไธชๆœˆๅ‰

ๅฅฝ็š„๏ผŒ้‚ฃๆˆ‘ไปฌๆŽ’ๆŸฅไธ€ไธ‹ๆœๅŠกๅ™จๆƒ…ๅ†ต

Wasil22ไธชๆœˆๅ‰

Okay bet! I donโ€™t know how to exactly, so if you could guide me on how to do so. Here is a screen shot of my blocklet dashboard, and the DID of server!

did:abt

IMG_2496.png

If you need me to get any other information or logs, just let me know!

Yongzhuo Liang22ไธชๆœˆๅ‰

ๆˆ‘ๆƒณไบ†่งฃไธ‹ๆœ€่ฟ‘ๅœจ Pages Kit ๆœ‰ๆ›ดๆ–ฐ่ฟ‡่‡ชๅฎšไน‰็ป„ไปถ็š„ไปฃ็ ๅ—๏ผŸ

่ฟ˜ๆœ‰ๆˆ‘ๅ‘็Žฐๅฅฝๅƒ็Žฐๅœจ Media Kit ่ƒฝๆญฃๅธธ่ฎฟ้—ฎไบ†๏ผŸ

Wasil22ไธชๆœˆๅ‰

The pages kit blocklet is updated, and I have not updated any custom components in the Pages kit.

Wasil22ไธชๆœˆๅ‰

yes the media blocklet is working now! and I was able to access the blocklet

Wasil22ไธชๆœˆๅ‰

itโ€™s now just the pages kit giving me an issue

Yongzhuo Liang22ไธชๆœˆๅ‰

่ƒฝๅธฎๆˆ‘ๅฐ่ฏ•ไธ€ไธ‹ไปฅไธ‹ๆ“ไฝœ๏ผŸ

ๅ…ˆๆŠŠ Pages Kit ๅ•็‹ฌๅœๆญขไบ†๏ผŒ็ญ‰ไธชๅ‡ ๅˆ†้’Ÿ๏ผŒๅ†ๆŠŠ Pages Kit ๅฏๅŠจ

Wasil22ไธชๆœˆๅ‰

you got it!๐Ÿซก

Yongzhuo Liang22ไธชๆœˆๅ‰

็›ฎๅ‰ๆˆ‘็œ‹ Pages Kit ๆ˜ฏๅœๆญข็š„็Šถๆ€๏ผŒ่ฏท้—ฎๆ˜ฏๆ‰‹ๅŠจๅœๆญขไบ†ๆฒกๆœ‰ๅฏๅŠจๅ—๏ผŸ่ฟ˜ๆ˜ฏๅฆๅค–้‡ๅˆฐไบ†ไป€ไนˆๆŠฅ้”™

Wasil22ไธชๆœˆๅ‰

I manually stopped it, and then tried to manually start it, but it gave me a few issues, and then it finally started. But it still does not allow me to access the blocklet.

IMG_2506.jpeg

Yongzhuo Liang22ไธชๆœˆๅ‰

ๅฅฝ็š„๏ผŒๆˆ‘่ฟ˜้œ€่ฆๆœ€ๆ–ฐ็š„ๆ—ฅๅฟ—๏ผŒ่ฟ™ไธช้—ฎ้ข˜็œ‹็€ๅคชๅฅ‡ๆ€ชไบ†

Wasil22ไธชๆœˆๅ‰

Pages Kit Logs stderr

Let me know if you need other Logs!

Yongzhuo Liang22ไธชๆœˆๅ‰

ๅฆ‚ๆžœไธŠ้ข็š„ๆญฅ้ชคไพ็„ถๆ— ๆณ•ๆขๅค๏ผŒ่ฏท้€š็Ÿฅๆˆ‘ ๐Ÿ˜ญ

Wasil22ไธชๆœˆๅ‰(edited)

I went through the process as indicated, but still no luck! The pages kit still wonโ€™t load properly๐Ÿ’€๐Ÿ˜…

Yongzhuo Liang22ไธชๆœˆๅ‰

ๅœจไฝ ๅˆšๅˆšๅšๅฎŒ่ฟ™ไบ›ๆ“ไฝœ๏ผŒๆˆ‘ไปฌๅฐ่ฏ•่ฎฟ้—ฎไฝ ็š„็ซ™็‚น๏ผŒๅ‘็Žฐ่ƒฝๆญฃๅธธ่ฎฟ้—ฎ๏ผŒไฝ†ๆ˜ฏ่ฟ‡ไบ†ไธ€ไผšๅฐฑๆ— ๆณ•่ฎฟ้—ฎไบ†

็›ฎๅ‰ๆˆ‘ไปฌๆ— ๆณ•ๅค็Žฐ่ฟ™็งๆƒ…ๅ†ต๏ผŒไฝ†ๆ˜ฏๆˆ‘ไปฌไผšๅฐ่ฏ•ๅšไธ€ไธ‹ไฟฎๅค

Yongzhuo Liang22ไธชๆœˆๅ‰

ๆˆ‘ไปฌๅœจๅˆšๅˆšๅ‘ๅธƒไบ† Pages Kit 0.3.19 ็‰ˆๆœฌ๏ผŒๅฐ่ฏ•ไฟฎๅค่ฟ™ไธช้—ฎ้ข˜

ไฝ ๅฏไปฅๆ›ดๆ–ฐไธ€ไธ‹๏ผŒ็œ‹็œ‹ๆ˜ฏๅฆ่ƒฝๆขๅคๆญฃๅธธ

Yongzhuo Liang22ไธชๆœˆๅ‰

ๆˆ‘ไปฌๅœจๆ˜จๅคฉๅ‘ๅธƒไบ† Pages Kit 0.3.19 ็‰ˆๆœฌ๏ผŒๅฐ่ฏ•ไฟฎๅค่ฟ™ไธช้—ฎ้ข˜

ไฝ ๅฏไปฅๆ›ดๆ–ฐไธ€ไธ‹๏ผŒ็œ‹็œ‹ๆ˜ฏๅฆ่ƒฝๆขๅคๆญฃๅธธ

Yongzhuo Liang22ไธชๆœˆๅ‰

@Wasil ไธๅฅฝๆ„ๆ€๏ผŒ่ฎฉไฝ ไน…็ญ‰ไบ†

้€š่ฟ‡ๆœ€ๆ–ฐ็š„ๆ—ฅๅฟ—ๆŽ’ๆŸฅ๏ผŒๅ‘็Žฐๅบ”่ฏฅๆ˜ฏ่ทŸ PassBlock ่ฟ™ไธช Blocklet ๆœ‰ๅ…ณ๏ผŒ้‡Œ้ขๅญ˜ๆ”พไบ†ๆฏ”่พƒๅคš็š„่ต„ๆบๆ–‡ไปถ ๅฝ“ Pages Kit ๅฏๅŠจ็š„ๆ—ถๅ€™๏ผŒไผšๆŠŠ่ฟ™ไบ›ๆ–‡ไปถไธŠไผ ๅˆฐ Media Kit ไธญ๏ผŒไฝ†ๆ˜ฏๅœจไธŠไผ ็š„ๆ—ถๅ€™๏ผŒไผผไนŽ้‡ๅˆฐไธ€ไบ›้”™่ฏฏ๏ผŒPages Kit ๆฒกๆœ‰ๆญฃๅธธๅค„็†๏ผŒๅฏผ่‡ด้—ฎ้ข˜็š„ๅ‘็”Ÿ

็›ฎๅ‰ๆˆ‘ไปฌๆญฃๅœจๅŒๆญฅๅค„็†่ฟ™ไธช้—ฎ้ข˜๏ผŒไฝ ๅฏไปฅ้€š่ฟ‡ไปฅไธ‹ๆญฅ้ชค๏ผŒๆŸฅ็œ‹็ฝ‘็ซ™ๆ˜ฏๅฆ่ƒฝๆขๅค

  1. ๅœๆญข PassBlock Blocklet
  2. ้‡ๅฏ Pages Kit Blocklet
Wasil22ไธชๆœˆๅ‰

Now that I'm going through and deleting all the images, I think this would be a good time to also suggest the option to quickly select many uploads in the Media Kit, and delete them all lol

ๅ›žๅค