Dweb - web publishing, RESTful web apps, versioned data and

Thanks for finding this. The reason is that Archives created from Windows and Linux have different path separators (‘/’ or ‘\\’). I can work around this in dweb but have opened an issue to see if this can be standardised on one so that apps don’t have to deal with both unless they need to use the OS which will only apply to a subset of apps.

Just to be sure I have this right and it isn’t a fault in dweb, if you have time please can you use ant file upload -r from Windows for the same directory, and send me the Archive address. :folded_hands:

3 Likes

@happybeing just uploaded same folder from windows for you same folder as was published with dweb

ant file download 3774075204e2e566b3b222025a9ae34bb4a9dba89ce6d1fc0fba1bf0d6b70e75 .
1 Like

I was meaning to report that issue, as had the same thing on AntTP too. Definitely feels like there should be a standard (unix preferably, like URLs) separator, regardless of source.

3 Likes

In python there’s the os.sep object that is / on Unix and \ on windows
(just mentioning in case there’s something similar in rust)

1 Like

Yeh, it is because they user PathBuf in the APIs and I think that’s effectively a bug. Much better to have the network standardise on ‘/’ and let any client that wants to use the OS filesystem translate to that. Otherwise every app needs to do this because the storage format is not standardised.

I confirm (thanks to @aatonnomicc) that ant file upload creates one format from Windows (using ‘\\’) and another from Linux/Mac (using ‘/’). And since web also uses ‘/’ I’ve suggested they change all to ‘/’.

@Traktion add your voice here if you like: BUG: paths in Archive are OS dependent · Issue #3042 · maidsafe/autonomi · GitHub

4 Likes

I am testing a fix for the publish from Windows issue which indeed doesn’t have the error about “failed to add path”.

But your archive at 8728b75d9363d6e96cf84b895dce49b75da706e02641559e9f0469be071263b2 doesn’t appear to have a /index.html so I think it works and will publish an update but we still need a working upload to test…

`dweb inspect-files -pd 8728b75d9363d6e96cf84b895dce49b75da706e02641559e9f0469be071263b2`
Dweb Autonomi client initialising...
DEBUG loaded wallet: 0xFB8B4DC5e7117835f1D0A08dDe366f4F66ce7909
DEBUG     tokens: 1688994457926247711943
DEBUG     gas   : 88313422171550883
-> public network evm-arbitrum-one
fetching directory at 8728b75d9363d6e96cf84b895dce49b75da706e02641559e9f0469be071263b2
DEBUG from_archive_address() at 8728b75d9363d6e96cf84b895dce49b75da706e02641559e9f0469be071263b2
DEBUG DualArchive attempting to deserialise as PrivateArchive...
DEBUG Retrieved PrivateArchive of 43 files
add_content_to_metadata() failed to add path  - Path separator not found in resource website path: 
DEBUG Tree initialised using PrivateArchive
directories: 6
files      : 42
total bytes: 9764962
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/main.js" 5217 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/modernizr.js" 15250 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/plugins.js" 67758 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/FontAwesome.otf" 106260 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/fontawesome-webfont.eot" 68875 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/fontawesome-webfont.svg" 355981 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/fontawesome-webfont.ttf" 138204 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/fontawesome-webfont.woff" 81284 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/fontawesome-webfont.woff2" 64464 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/glyphicons-halflings-regular.eot" 20335 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/glyphicons-halflings-regular.svg" 62926 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/glyphicons-halflings-regular.ttf" 41280 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/fonts/glyphicons-halflings-regular.woff" 23320 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/1.jpg" 71882 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/bg.png" 9633 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/feature-1.jpg" 74020 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/feature-2.jpg" 75508 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/flaticon1.png" 1327 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/flaticon2.png" 2593 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/flaticon3.png" 2628 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/flaticon4.png" 4163 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/ftiphone.png" 165342 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/ftiphone1.png" 7696 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/homebg-.jpg" 114858 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/homebg.jpg" 7157773 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/logo.png" 871 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/monitor.png" 117715 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/images/pf1.jpg" 3688 bytes and JSON: ""
[private] c(1970-01-01 00:00:00) m(1970-01-01 00:00:00) "/.dweb/history-address/b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82:1" 1 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/bootstrap.js" 67155 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/bootstrap.min.js" 35601 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/gmaps.min.js" 31680 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/jquery-1.11.2.min.js" 95931 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js" 20106 bytes and JSON: ""
[private] c(2025-06-15 14:28:38) m(2017-06-06 08:19:04) "/js/vendor/npm.js" 484 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/bootstrap-theme.css.map" 43029 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/bootstrap-theme.min.css" 19835 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/bootstrap.css.map" 366144 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/bootstrap.min.css" 113498 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/plugins.css" 71531 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/responsive.css" 2591 bytes and JSON: ""
[private] c(2025-06-15 14:28:37) m(2017-06-06 08:19:04) "/css/style.css" 36525 bytes and JSON: ""

not sure what i did there i just did ant file upload -p ./<DIR> if you push an update ill give it a test in windows

dweb v0.8.3

Available for download at: Releases · happybeing/dweb · GitHub

This has a fix to support archives that have been created from a Windows system, which have backslash as path separator rather than forward slash.

I have not tested this, but the change should mean that websites published from a Windows system can be viewed using dweb.

@aatonnomicc please can you try another publish from Windows, with a /index.html in the --files-root and report back :folded_hands:

3 Likes

goood!!!

1 Like

should I try update or publish new ?

started a publish-update for same folder there is definitely an index.html in there

That’s odd, maybe more work to do! (Update is fine BTW). :folded_hands:

1 Like

index was uploaded during the publish

file: "index.html"
>>TRYING file_content_upload_public() unlimited times...
>>TRY 1 of unlimited
>>OK

still getting this error when trying to open with

dweb open b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82

1 Like

dweb v0.9.0

Download for Win/Mac/Linux available at: dweb releases
Update with: cargo install dweb-cli

Changes

Due to popular demand and the benevolent dictatorship of happybeing…

  • dweb serve now listens on port 5537 by default, though this can be changed using dweb serve --port PORT

This avoids clashes with anything else wanting to use port 8080 which is a popular choice for web related stuff, but should not affect anyone other than app developers.

Why 5537?

  • 5537 is first four digits of the DMS coordinates of Irvine, Ayrshire: 55°37’9.84" N -4°39’18.29" W

Attention anyone assuming 8080!

cc @riddim @Southside @Traktion

8 Likes

dweb v0.9.1

Download for Win/Mac/Linux available at: dweb releases

Or you can update with: cargo install dweb-cli

Changes

I think we now have dweb publishing and viewing for Windows, MacOS and Linux. :partying_face:

This fixes a bug introduced while enabling sites published from Windows to be displayed - thanks to @aatonnomicc for your help. Your site now displays for me so all good I hope.

Pointers bug

@aatonnomicc However, it also shows the Pointer bug is still lurking as your pointer for History b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82 did not update when you did the update. It did update once, when you first published. This means that folk opening with the History address will not get the most recent version unless you start the server with dweb --ignore-pointers serve which unfortunately slows the initial website down considerably.

The problem seems intermittent and I don’t know if something like the connection being used can make it more likely to not update.

I have included a command to attempt to heal this, but it isn’t 100% reliable:

dweb heal-history <NAME>

NAME is the name you used when publishing and for updates.

You can see whether a Pointer is pointing at the last GraphEntry or stuck at an earlier value using:

dweb inspect-history -pdfe 0: <HISTORY-ADDRESS>

The P> shows which entry the pointer is pointing to and this should always be the last one.

Here’s the current output in this case where the Pointer is still pointing at Entry 1:

$ dweb inspect-history -pdfe 0: b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82
Dweb Autonomi client initialising...
DEBUG loaded wallet: 0xFB8B4DC5e7117835f1D0A08dDe366f4F66ce7909
DEBUG     tokens: 1689051082554790148751
DEBUG     gas   : 88313422171550883
-> public network evm-arbitrum-one
DEBUG History::from_history_address(b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82)
>>TRYING pointer_get() 1 times...
>>TRY 1 of 1
DEBUG pointer counter: 1, head address: aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc
>>OK
DEBUG INSPECT pointer_counter: 1
DEBUG INSPECT pointer_target : aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc
DEBUG History::update_from_graph_internal()
DEBUG get child of GraphEntry index 1 - child...
DEBUG GraphEntry exists
DEBUG get child of GraphEntry index 2 - child...
DEBUG GraphEntry does not exist
DEBUG from_history_address() returning History with num_entries: 3
history address  : b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82
  type           : 89d56e1dd78941e18b36d75d339014aa845bee4d8cce2ca9d608c0e8e432308a
  size           : 3
  pointer address: a6376caed65caff7758403d3e1c2f0e4ea705934f4808bb4251dbb9a27431bc6a346ad6d6ecb410fa0a1ee147bd63f99
  graph root     : b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82
  graph head     : 88945cea3279091ac94d7eecbf316543110ff024824639a09be83e95cbe24168e0915dfe282e872291cd935776bbf8f2
  entries 0 to  2:
DEBUG INSPECT history.pointer_counter(): 1
    entry    0:
    address   : b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82
      owner      : b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82
      parents    : 
      descendents: [aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc] 
      content    : 89d56e1dd78941e18b36d75d339014aa845bee4d8cce2ca9d608c0e8e432308a
      signature  : 98698392c1522fb47cd648fe34f155b96f0fbd4bd89b4df74303ef179696d02585f6b44f6131a1866e355c904f0aa93b050e1f8ef85d3f5684490b174971211ed4ec8c99d41036dd178b164a88cae32c482228906a31d99949384f6fb6bc8ab9
DEBUG GraphEntry exists
DEBUG INSPECT history.pointer_counter(): 1
P>  entry    1:
    address   : aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc
      owner      : aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc
      parents    : [b3f448c9b4820e7ce4ec620220d612fec039155b6754727de7cc1ecf46d3546b6f8bfa18671b266914af3d3acae78e82] 
      descendents: [88945cea3279091ac94d7eecbf316543110ff024824639a09be83e95cbe24168e0915dfe282e872291cd935776bbf8f2] 
      content    : 8728b75d9363d6e96cf84b895dce49b75da706e02641559e9f0469be071263b2
      signature  : b657a1f255a3868f063e6ee8e271fdd6a991e447791a4555355c29165162a8816a4179a06692792b05464bbfb206a0400df21b19d4a9aaac83d4a30942379a27192515f83bb57e6a10bca2b557fa20d831134e84d6756bc5650668e9120d7597
DEBUG GraphEntry exists
DEBUG INSPECT history.pointer_counter(): 1
    entry    2:
    address   : 88945cea3279091ac94d7eecbf316543110ff024824639a09be83e95cbe24168e0915dfe282e872291cd935776bbf8f2
      owner      : 88945cea3279091ac94d7eecbf316543110ff024824639a09be83e95cbe24168e0915dfe282e872291cd935776bbf8f2
      parents    : [aacf5c7cc3e456460f97236423b0e38338de62d773dec3d1a7a8bec1433e27e31e4f4969a7908e1562b1715622e1cdcc] 
      descendents: [8e180744c6b983ab5027325d1ae68efa1454ad2bf98a61db6cbb6f174b0b479edc6482c6f1cd474d6ef7a3b6cc114463] 
      content    : 22f46450f166eec9a89d40aa4c6def899f87c77c60501fb1bc5b339bbc6a094b
      signature  : a0f1d13fcf9f66947aef95d5752d1e2ed8581e7cd7b96b7593973a138178a3521f0c5f2a8734138daf0cac7cc337d2d408158912e69254ea403e9b22785227ee9cd1d826d1e946736e613ed0cd75a9a5cf3db6659c852894b5b887d35ecbf341
7 Likes

Dweb on Windows for Dweb Publishing & Atlas use

  1. follow this guide to set up Metamask an ANT compatible wallet. https://docs.autonomi.com/ant/using-ant/holding/how-to-create-a-metamask-wallet
  2. add a small amount of ANT and ETH or visit the community faucet for small top up to get you started. Community Faucet Live!
  3. then get your private key from meta mask by going to Account Details then click the tab account details then the button show private key to show the private key.
  4. open file explorer and navigate to home folder C:\Users<YOUR USER NAME>
    create a new folder called dweb.
  5. download dweb-amd64.exe from. https://github.com/happybeing/dweb/releases
  6. open your download folder and cut dweb-amd64.exe.
  7. paste it into the folder we created at C:\Users<YOUR USER NAME>\dweb
  8. rename the file dweb-amd64.exe to dweb.exe if you don’t see the .exe when you are renaming don’t add it you have file extensions hidden.
  9. inside the dweb folder right click and select open in terminal to open the first power shell terminal.
  10. in first PowerShell terminal set the private key of meta mask wallet for dweb to use with autonomi type command $env:SECRET_KEY="<YOUR META MASK PRIVATE KEY>"
  11. in first PowerShell terminal run dweb by typing command ./dweb serve
  12. first run may fail if dweb is blocked by anti virus or windows defender click unblock / allow and try again second time is the charm.
  13. inside the dweb folder right click and select open in terminal to open a second PowerShell terminal
  14. in second power shell terminal type ./dweb open atlas
  15. in second power shell terminal type ./dweb list-names to list all available names of sites to load direct from dweb that can also be opened with ./dweb open <NAME>

on first opening of Atlas be patient and give it time to set up your profile then add some people to follow to see the links of what has been shared.

atlas links.
@Josh
a2b7e4734910406a54255bbd87bc8e03a89671121cab8d5b6a18287e613886ddb89c3d82be35577241a55d2ed299c3b0
@happybeing
931debff9fef86856b5ba84377cf0fc43745c41f5c18a1f9d340d3a5f542fff19d4d983f1ef4d29be6f6f8eb2782a3e9
@riddim
8e4cf996c7236dd44ae541a6c88b2b24184f1bc9f31c68fa51d1c06b8bb71f488935b9346c4ba310885fc61ebc6b703f
@Southside
8e096e5b4798c09f351e3402f09bfc0a2a3cbaa53f2abd76245b19287d6dd64eaceb6a1ed2f12e0c2367ed6533804523
@scottefc86
92f1318f958cbf39c392ff324096b0f0c44c9a6fea2d604595c8271aa4653d38cd40b0b6a79effc380017357b2327b8d
@aatonnomicc
b5afa72021a5523a901e0de6c8e60da4dadbbb0cac4334c9415b81c366e255c222fbfcda3af67f756b1fef83f5ffedee

6 Likes

updated start to finish if anyone who has not tried Dweb and Atlas would like to give it a try and and give any feed back on the instructions.

2 Likes

Can you see my new avatar at

f910ee4901637f82694dfa8f2637a51ce7812368b99f2dde5fff94c0b31be624 ?

3 posts were merged into an existing topic: Atlas - Things on Autonomi

So, I’m not sure this is any better. I took a fresh start of dweb (with max-fee-per-gas set and a SECRET_KEY) and then launched Atlas in Brave, all on OSX. The Atlas interface loads within 1 minute then, nothing.

dweb-darwin-amd64 --max-fee-per-gas 10000000 serve
Dweb Autonomi client initialising...
DEBUG loaded wallet: 0xREDACT
DEBUG     tokens: 9999992313466555742
DEBUG     gas   : 688569998090000
Max fee per gas set to: 10000000
-> public network evm-arbitrum-one
DEBUG Registered built-in DWEB-NAME: atlas -> 99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612
DEBUG Registered built-in DWEB-NAME: awesome -> 80ef65377028522309551ff549e015d82572b7ae306e029fce702ebffde4167c0b67049ad062174055fbb2526f237cc7
DEBUG Registered built-in DWEB-NAME: billboard -> b6da6740bc5394f9ac0e6a6fa5a42f7f587d3aeaa48fd23ae9a45bef95b571a32429b0353148aa9e04f17cd6da57d179
DEBUG Registered built-in DWEB-NAME: friends -> a447871043968be2be1628584026cad30b824009a30eab43db3ee6dd8c0990051c27160cc8d1662da763d57c41c091f6
DEBUG Registered built-in DWEB-NAME: scratchchat -> a27b3fdb495870ace8f91005223998dc675c8e1bceb50bac66c993bb720a013c9f83d7a46e6d0daecbb3530d5249e587
DEBUG Registered built-in DWEB-NAME: toast -> 95be239165b7016b7f6dada20134438e038d0456bff04ec37943e95742726854225aa03faeed4e7bbd96f5383a8f9448
dweb main server listening on 127.0.0.1:8080
DEBUG serve with ports HttpRequest : GET /dweb-open/v/99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612/
DEBUG /dweb-open/v/99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612/
DEBUG parse_versioned_path_params_with_as_name() v/99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612/
1:v 2: 99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612 r:
version:None as_name: anonymous, address_or_name: 99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612 remote_path:
DEBUG History::from_history_address(99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612)
>>TRYING pointer_get() unlimited times...
>>TRY 1 of unlimited
DEBUG pointer counter: 60, head address: b9161e5032b7783607713e9bed80bc363d04be560e34957940e272338fb72934ded550cde7a5f5b25c2dff39c82d2487
>>OK
DEBUG INSPECT pointer_counter: 60
DEBUG INSPECT pointer_target : b9161e5032b7783607713e9bed80bc363d04be560e34957940e272338fb72934ded550cde7a5f5b25c2dff39c82d2487
DEBUG from_history_address() returning History with num_entries: 61
DEBUG History::get_version_entry_value(version: 60)
DEBUG History::get_entry_value(index: 60)
DEBUG from_archive_address() at 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
DEBUG DualArchive attempting to deserialise as PrivateArchive...
DEBUG Retrieved PrivateArchive of 5 files
DEBUG Tree initialised using PrivateArchive
Started a dweb server listening on 127.0.0.1:44096 for version None at Some(HistoryAddress { owner: PublicKey(19e3..b297) }) -> 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
DEBUG req.full_url(): http://127.0.0.1:8080/dweb-open/v/99e3b8df52814b379e216caf797426071000905a2cd93a9f5e90eef2b32517a9ec1ef0bfe27d79360014fd97639ac612/
DEBUG scheme   : http
DEBUG port     : :44096
DEBUG response_redirect() redirecting to http://127.0.0.1:44096
DEBUG serve with ports HttpResponse: 303 See Other  (See Other)
DEBUG serve with ports HttpRequest : GET /
DEBUG www_handler(/)...
DEBUG our_directory_version:
            port: 44096
 history_address: Some(HistoryAddress { owner: PublicKey(19e3..b297) })
         version: None
 archive_address: 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
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-11254693861628017524-text/html"
DEBUG get_content_using_hex() calling data_get() with datamap_chunk: 81a54669727374939400dc0020cc891eccf66bcc86cca1cca47bccf3ccdb4d5bccd56accd57508cce24a5cccbccc99ccc5cc8f76cccf20cce5477e18cce5dc0020495d473560ccac65cca0507d644346233d1bcccfcccb38cce4480e48cce2ccebccbb72cc8708cce9cceccc9bce000152bb9401dc002042ccbd4b32ccd70829ccfdcceecceccccdccadcceacc8a22ccdaccbbcc915331ccf2cc86ccb7ccb2ccc6cca9cc95ccaf693774ccb4dc0020ccfa1ecc84cc867dccb807cc8e3c42ccc237cc9bccf6ccd0ccb646ccffccab25ccf04ccc8143cccecc98cccacce4cc91ccb15218ce000152bb9402dc0020cc89cce9ccf0746bccbecca972ccaf730c2cccbdccbfccd071cc92ccb0cc9acce808ccffccfecc8cccd7ccd16e03542c3540dc0020cca23ccccaccb82538340fcc8bcce6cc9eccd9475128cc94ccee6175cca3694dcc9acca23b297b37ccb4cce06acc92ce000152bd
DEBUG serve with ports HttpResponse: 200 OK
DEBUG serve with ports HttpRequest : GET /ant-0/scratchpad-private
DEBUG /ant-0/scratchpad-private
DEBUG process_mutable_type_header_and_query_params()
DEBUG parse_app_id_header_params()
DEBUG REST request ParsedParams: ParsedRequestParams { tries: 0, object_name: Some("private atlas settings"), owner_secret: None, type_derivation_index: None, app_id: Some("atlas-links/v1.0") }
DEBUG serve with ports HttpRequest : GET /favicon.ico
DEBUG www_handler(/favicon.ico)...
DEBUG our_directory_version:
            port: 44096
 history_address: Some(HistoryAddress { owner: PublicKey(19e3..b297) })
         version: None
 archive_address: 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
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)
DEBUG: immutable data with eTag: "immutable-9927189465070177800-image/x-icon"
DEBUG get_content_using_hex() calling data_get() with datamap_chunk: 81a54669727374939400dc00207c0456ccafccb346cc974ccc95cccf10cce508cca61004ccc1cca5cce00b41742972cc9acc9accf6cc8a436f2949dc0020cccaccf346ccc45f47ccc4cc9fcc8274ccf3cce4306e682ccc8ecca7ccee66ccb1ccc136cc8677cc852178cc95cce5ccf9cc88cd140f9401dc0020ccfe2b127c483828ccfc1152cc9ecca64a204f4bccffcc9f4a12ccd90dccc9ccac09cc9053cc870549ccaacca8dc00203d5ccc9f623eccd6ccaa1fccedccc8cc84ccd0792845cc9ecce447cc96ccd2ccad29ccb4cc8d05ccc666cc98cc852818cc9ecd140f9402dc0020367a336accc31bcca521cca446611934ccf7cc81cc8dcce16c7dcccf217976ccc40fccaeccdecc83cce8ccca36cca5dc0020cc9e507cccb82ecc95ccfe73ccf9cccc362ecc9bccbd03cc88166cccba02ccc4cc83027fcc9465ccf7100a30ccc0ccc9cd1410
DEBUG serve with ports HttpRequest : GET /atlas-sw.js
DEBUG www_handler(/atlas-sw.js)...
DEBUG our_directory_version:
            port: 44096
 history_address: Some(HistoryAddress { owner: PublicKey(19e3..b297) })
         version: None
 archive_address: 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
Splitting path '/atlas-sw.js'
...into '/' and 'atlas-sw.js'
Looking for resource at '/'
DEBUG Tree looking up 'atlas-sw.js'
DEBUG lookup_name_in_vec(atlas-sw.js)
DEBUG: immutable data with eTag: "immutable-15949405356089013969-text/javascript"
DEBUG get_content_using_hex() calling data_get() with datamap_chunk: 81a54669727374939400dc0020cc8c001fcc9e290c20cccd406a463e4362ccba45cca65ecc9934ccf314ccc0cc834765ccb3cc873f0dccdc5ddc00204568ccd5cccdccce27ccfbcca0ccc969cc8f59cc9647cc8fccbeccedcce9406642ccf77dcc8b671eccd21e6ecc8d2f3ccd052c9401dc0020ccf639cca4ccddcca9432e6fccdfcc82196e005e3fcc92cceecca9ccc05d5cccb9cca1ccc401ccf5cc8ccc9b0b7bcca339dc00203fcc9d09ccbbccbacc90ccf862ccbacc82ccda54cccdcc9209cc9e63cc8c16342bccce1bcca85bcc87ccb5ccceccd80a40cc92cd052c9402dc0020ccee5eccf8ccc50e31ccb8367460ccbf476fccd75accecccb5ccf8cce6ccb74e00ccba046b52ccf3cc886163cc9a07dc0020076c4bccb5ccf4cc84ccf2cca86ecca2213fccacccceccf9cce8cc8959ccbecca710ccd63cccd5631dcc8ccc99ccb3142728cd052d
DEBUG serve with ports HttpResponse: 200 OK
DEBUG serve with ports HttpResponse: 200 OK
DEBUG serve with ports HttpRequest : GET /
DEBUG www_handler(/)...
DEBUG our_directory_version:
            port: 44096
 history_address: Some(HistoryAddress { owner: PublicKey(19e3..b297) })
         version: None
 archive_address: 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
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-11254693861628017524-text/html"
DEBUG ETAG COMPARING: "immutable-11254693861628017524-text/html" and "immutable-11254693861628017524-text/html"
DEBUG serve with ports HttpResponse: 304 Not Modified  (Not Modified)
DEBUG serve with ports HttpRequest : GET /index.html
DEBUG www_handler(/index.html)...
DEBUG our_directory_version:
            port: 44096
 history_address: Some(HistoryAddress { owner: PublicKey(19e3..b297) })
         version: None
 archive_address: 97380ec06a76d202c728d49d43a22fe40db96de1f130ab11d5b1fac3d46778b0
Splitting path '/index.html'
...into '/' and 'index.html'
Looking for resource at '/'
DEBUG Tree looking up 'index.html'
DEBUG lookup_name_in_vec(index.html)
DEBUG: immutable data with eTag: "immutable-11254693861628017524-text/html"
DEBUG get_content_using_hex() calling data_get() with datamap_chunk: 81a54669727374939400dc0020cc891eccf66bcc86cca1cca47bccf3ccdb4d5bccd56accd57508cce24a5cccbccc99ccc5cc8f76cccf20cce5477e18cce5dc0020495d473560ccac65cca0507d644346233d1bcccfcccb38cce4480e48cce2ccebccbb72cc8708cce9cceccc9bce000152bb9401dc002042ccbd4b32ccd70829ccfdcceecceccccdccadcceacc8a22ccdaccbbcc915331ccf2cc86ccb7ccb2ccc6cca9cc95ccaf693774ccb4dc0020ccfa1ecc84cc867dccb807cc8e3c42ccc237cc9bccf6ccd0ccb646ccffccab25ccf04ccc8143cccecc98cccacce4cc91ccb15218ce000152bb9402dc0020cc89cce9ccf0746bccbecca972ccaf730c2cccbdccbfccd071cc92ccb0cc9acce808ccffccfecc8cccd7ccd16e03542c3540dc0020cca23ccccaccb82538340fcc8bcce6cc9eccd9475128cc94ccee6175cca3694dcc9acca23b297b37ccb4cce06acc92ce000152bd
DEBUG serve with ports HttpResponse: 200 OK
DEBUG make_error_response_page() - message: scratchpad_private_get_owned() failed to get private Scratchpad from network - Network: GetRecord Query Error RecordNotFound
DEBUG serve with ports HttpResponse: 404 Not Found  (Not Found)
DEBUG serve with ports HttpRequest : POST /ant-0/scratchpad-private
DEBUG serve with ports HttpResponse: 400 Bad Request  (Bad Request)
2 Likes

Thanks for persevering @ambled. This log shows up to the point of trying to access your scratchpads (which don’t exist yet - hence the error). Is there more output you can show me?

Also, did you check the browser console to see what Atlas is reporting? Ctrl-Shift-J in the browser should open that.

So far I don’t see anything wrong so I need more info! Thanks.

1 Like