Skip to content

Instantly share code, notes, and snippets.

@ambled
Last active June 1, 2025 20:31
Show Gist options
  • Select an option

  • Save ambled/8e738272dbc56900a4ad60dafdc24a5f to your computer and use it in GitHub Desktop.

Select an option

Save ambled/8e738272dbc56900a4ad60dafdc24a5f to your computer and use it in GitHub Desktop.
dweb output
ubuntu@xdant:~$ dweb serve --port 8123
Dweb Autonomi client initialising...
DEBUG loaded wallet: 0x6ACd8B6A9Dc0B324190e3A31230e4Ac4c7E21E4f
DEBUG tokens: 9999997650950423614
DEBUG gas : 693637408090000
-> public network evm-arbitrum-one
DEBUG Registered built-in DWEB-NAME: awesome -> 80ef65377028522309551ff549e015d82572b7ae306e029fce702ebffde4167c0b67049ad0621
74055fbb2526f237cc7
DEBUG Registered built-in DWEB-NAME: friends -> b1d0f2c3c1dbbd1772a40d29f664104783cc93333d3a922c5e2c17dbe07c329cee1fa4e345232
9c8a5d3eeb93f9c7d80
DEBUG Registered built-in DWEB-NAME: scratchchat -> a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46
e6d0daecbb3530d5249e587
DEBUG Registered built-in DWEB-NAME: toast -> 95be239165b7016b7f6dada20134438e038d0456bff04ec37943e95742726854225aa03faeed4e7
bbd96f5383a8f9448
dweb main server listening on 127.0.0.1:8123
DEBUG serve with ports HttpRequest : GET /dweb-open/v/scratchchat/
DEBUG /dweb-open/v/scratchchat/
DEBUG parse_versioned_path_params_with_as_name() v/scratchchat/
1:v 2: scratchchat r:
version:None as_name: anonymous, address_or_name: scratchchat remote_path:
DEBUG History::from_history_address(a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46e6d0daecbb3530d5
249e587)
>>TRYING pointer_get() unlimited times...
>>TRY 1 of unlimited
DEBUG pointer counter: 0, head address: a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46e6d0daecbb35
30d5249e587
>>OK
DEBUG INSPECT pointer_counter: 0
DEBUG INSPECT pointer_target : a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46e6d0daecbb3530d5249e5
87
DEBUG History::update_from_graph_internal()
DEBUG get child of GraphEntry index 0 - child...
DEBUG GraphEntry exists
DEBUG get child of GraphEntry index 1 - child...
DEBUG GraphEntry does not exist
DEBUG from_history_address() returning History with num_entries: 2
DEBUG History::get_version_entry_value(version: 1)
DEBUG History::get_entry_value(index: 1)
DEBUG stepping forwards: index 1 > 0 iter_index
DEBUG from_archive_address() at 40ea2e530a60645363ae561c8a50c165f79d8a034c4458f68f1b848c11386e45
DEBUG DualArchive attempting to deserialise as PrivateArchive...
DEBUG Retrieved PrivateArchive of 2 files
DEBUG Tree initialised using PrivateArchive
Started a dweb server listening on 127.0.0.1:39935 for version None at Some(HistoryAddress { owner: PublicKey(027b..87b7) }) -> 40ea2e530a60645363ae561c8a50c165f79d8a034c4458f68f1b848c11386e45
DEBUG req.full_url(): http://127.0.0.1:8123/dweb-open/v/scratchchat/
DEBUG scheme : http
DEBUG port : :39935
DEBUG response_redirect() redirecting to http://127.0.0.1:39935
DEBUG serve with ports HttpResponse: 303 See Other (See Other)
DEBUG serve with ports HttpRequest : GET /
DEBUG www_handler(/)...
DEBUG our_directory_version:
port: 39935
history_address: Some(HistoryAddress { owner: PublicKey(027b..87b7) })
version: None
archive_address: 40ea2e530a60645363ae561c8a50c165f79d8a034c4458f68f1b848c11386e45
Splitting path '/'
...into '/' and ''
Looking for resource at '/'
Retrying for index file in new_resource_path '/'
DEBUG looking for a default INDEX file, one of ["index.html", "index.htm"]
DEBUG lookup_name_in_vec(index.html)
DEBUG lookup_name_in_vec(index.htm)
DEBUG: immutable data with eTag: "immutable-81a5466972-text/html"
DEBUG get_content_using_hex() calling data_get() with datamap_chunk: 81a54669727374939400dc00201dcc8cccdcccbf1372ccff6c10cc89ccf6cc93ccbe13ccc61acc86ccff65ccddccee01cce43dccbf30087bccc7cca8cca41edc002032547c544dcc9ecca7cc96ccfc02ccb67117ccebccdc5b39745dccdbccf704604b4eccd5ccd91cccc8cccbcca12fcd53509401dc002047cca3ccb0cc91242b09ccaccce17d160ecc974ccc9accd7ccebccc1cca5cc8dccdecc946f1d21cc91ccdb0ccca2cce3ccf16ddc0020ccc6cc9d4741053ecc8d165762cccbcc97cc9dccf8cc97cc9e23ccbdccc1cce27fcceb516bccafcc86cc93cce15555cccf52cd53509402dc0020cceb344534ccf9ccf0cca02f5dccb97558cca7cc940bccbc061572cc9621cc9accac44ccad127f42ccc21a3b18dc0020274acccccc9a22ccbdcced047b31cc9c31cc96cca9ccdc69cce2cca65ecc83ccc75547cc83cca0ccaaccb7ccee204ecc80cca5cd5350
DEBUG serve with ports HttpResponse: 200 OK
DEBUG serve with ports HttpRequest : GET /favicon.ico
DEBUG www_handler(/favicon.ico)...
DEBUG our_directory_version:
port: 39935
history_address: Some(HistoryAddress { owner: PublicKey(027b..87b7) })
version: None
archive_address: 40ea2e530a60645363ae561c8a50c165f79d8a034c4458f68f1b848c11386e45
Splitting path '/favicon.ico'
...into '/' and 'favicon.ico'
Looking for resource at '/'
DEBUG Tree looking up 'favicon.ico'
DEBUG lookup_name_in_vec(favicon.ico)
Retrying for index file in new_resource_path '/favicon.ico/'
FAILED to find resource for path: '/favicon.ico' in:
{"/.dweb/history-address/": [("a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46e6d0daecbb3530d5249e587", "81a54669727374939400dc00204f71ccc3ccdb7bcc95ccbaccd80a6eccd6125a2dccab2acc9657ccb5ccd9ccf518ccc4ccc455ccb311cc96ccd3ccf6cca139dc0020ccdbccf2cce1cccdccd03bccfccce4ccbe563220cca74a7fcca6cca13c2f21cc8e0248ccbaccc967cc87ccabcce65ecc99ccdcce000123179401dc0020cc8064cc8112cc9fcca6ccbcccf5151e4a4ccc87ccfc6d455650cc980dcc9a11cc8c7ccc83cced01cc90ccdbccc8cca341dc0020cc891d5677cc8267ccd7ccf6ccaf7acccb75ccde01ccb3cc81cc88cc82cc8c354f135cccd9cc836b48cc85ccf601ccebcce6ce000123179402dc00206accd622cccf50ccf5ccb4ccbccca738027bccd1ccceccc95f222173020921ccb000cc82ccd43a1ecc80cce2cce3ccfedc0020386cccc344360619157d6541ccd2ccbf7dcc866ecca812ccc424cc841c43cc81ccf1cc8563ccab353bccc3ccf4ce00012318", "", Metadata { created: 0, modified: 0, size: 1, extra: None })], "/": [("index.html", "81a54669727374939400dc00201dcc8cccdcccbf1372ccff6c10cc89ccf6cc93ccbe13ccc61acc86ccff65ccddccee01cce43dccbf30087bccc7cca8cca41edc002032547c544dcc9ecca7cc96ccfc02ccb67117ccebccdc5b39745dccdbccf704604b4eccd5ccd91cccc8cccbcca12fcd53509401dc002047cca3ccb0cc91242b09ccaccce17d160ecc974ccc9accd7ccebccc1cca5cc8dccdecc946f1d21cc91ccdb0ccca2cce3ccf16ddc0020ccc6cc9d4741053ecc8d165762cccbcc97cc9dccf8cc97cc9e23ccbdccc1cce27fcceb516bccafcc86cc93cce15555cccf52cd53509402dc0020cceb344534ccf9ccf0cca02f5dccb97558cca7cc940bccbc061572cc9621cc9accac44ccad127f42ccc21a3b18dc0020274acccccc9a22ccbdcced047b31cc9c31cc96cca9ccdc69cce2cca65ecc83ccc75547cc83cca0ccaaccb7ccee204ecc80cca5cd5350", "", Metadata { created: 1747391068, modified: 1747737234, size: 63984, extra: None })]}
DEBUG: immutable data with eTag: "immutable-35cae92977"
DEBUG get_content_using_hex() calling data_get_public() with data_address: 35cae9297780dcc0fe2d328dd1dc8060ec352eb54cc8192faaf3aedd803c119d
DEBUG serve with ports HttpResponse: 200 OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment