Error no error - Does the network send a response when the endpoint does not exist?

There’s a problem with client side knowing they have connection to the network.

I wonder it’s a bit like proving a negative, if the network is not responding that it is not finding the requested endpoint, to confirm that state, the client is stuck unsure if the network not responding because the broadband provider sucks(x3).

So, just now again and again having poor connection for other unSAFE browsing, I see this below from the CLI… sometimes getting the expected and more often a message from CLI that suggests ContentNotFound.

Problem is, I don’t know how to test for it.

Does the network send a response when the endpoint does not exist?
My impression is that the network is not sending a response and then this is not about the network being confused about what exists but more simply uncertainty at the client side.

I’d noted this already as https://github.com/maidsafe/safe-api/issues/543 but perhaps needs expanding or some clarity brought from others.

and I don’t think this is dog I think cat likely doing the same.

$ safe dog safe://weibo
[2020-05-20T19:46:27Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo?v=1
[2020-05-20T19:46:47Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo?v=1
$ safe dog safe://weibo?v=0
[2020-05-20T19:46:49Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo?v=0
$ safe dog safe://weibo
Native data type: PublishedSeqAppendOnlyData
Version: 0
Type tag: 1100
XOR name: 0xcc8d0df7cc98505726754a9d069592f1ffc1487773ac5c9637afd389acc84950
XOR-URL: safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0

Resolved using NRS Map:
PublicName: "weibo"
Container XOR-URL: safe://hnyydyi55dztwuzwpspp8jghwrsnzux19w1pxfodwuyxzdygm5sdfaf5nnbqh
Native data type: PublishedSeqAppendOnlyData
Type tag: 1500
XOR name: 0x77b1de349de8db35a749b94258579be5fa49af2c074981f7180cbdd865c17621
Version: 0
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| NRS name/subname | Created              | Modified             | Link                                                                     |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| weibo            | 2020-05-11T09:43:46Z | 2020-05-11T09:43:46Z | safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0 |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
$ safe dog safe://weibo
[2020-05-20T19:47:28Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo?v=0
Native data type: PublishedSeqAppendOnlyData
Version: 0
Type tag: 1100
XOR name: 0xcc8d0df7cc98505726754a9d069592f1ffc1487773ac5c9637afd389acc84950
XOR-URL: safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0

Resolved using NRS Map:
PublicName: "weibo"
Container XOR-URL: safe://hnyydyi55dztwuzwpspp8jghwrsnzux19w1pxfodwuyxzdygm5sdfaf5nnbqh?v=0
Native data type: PublishedSeqAppendOnlyData
Type tag: 1500
XOR name: 0x77b1de349de8db35a749b94258579be5fa49af2c074981f7180cbdd865c17621
Version: 0
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| NRS name/subname | Created              | Modified             | Link                                                                     |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| weibo            | 2020-05-11T09:43:46Z | 2020-05-11T09:43:46Z | safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0 |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
$ safe dog safe://weibo
[2020-05-20T19:47:35Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo
[2020-05-20T19:47:39Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo
[2020-05-20T19:47:41Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo
[2020-05-20T19:47:44Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo
[2020-05-20T19:47:52Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
$ safe dog safe://weibo
Native data type: PublishedSeqAppendOnlyData
Version: 0
Type tag: 1100
XOR name: 0xcc8d0df7cc98505726754a9d069592f1ffc1487773ac5c9637afd389acc84950
XOR-URL: safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0

Resolved using NRS Map:
PublicName: "weibo"
Container XOR-URL: safe://hnyydyi55dztwuzwpspp8jghwrsnzux19w1pxfodwuyxzdygm5sdfaf5nnbqh
Native data type: PublishedSeqAppendOnlyData
Type tag: 1500
XOR name: 0x77b1de349de8db35a749b94258579be5fa49af2c074981f7180cbdd865c17621
Version: 0
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| NRS name/subname | Created              | Modified             | Link                                                                     |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
| weibo            | 2020-05-11T09:43:46Z | 2020-05-11T09:43:46Z | safe://hnyynyzge4dxz31cfyi3gqifj4bwi1ma99okeq734azrsg6z78npc3briybnc?v=0 |
+------------------+----------------------+----------------------+--------------------------------------------------------------------------+
$ safe dog safe://weibo
[2020-05-20T19:49:16Z ERROR safe] safe-cli error: [Error] ContentNotFound - Content not found at safe://weibo
4 Likes

If someone with a good broadband does the same repeat and always gets success, then that would be a good indicator of difference.

2 Likes

I think this is just related to current state of baby fleming, it seems that your site’s files container was not stored in all vaults and therefore when trying to fetch it you’ll get success if hitting the vault which did stored it.

7 Likes

This is a solvable issue and especially so when we move towards proper quorum/crdt types.

6 Likes

This topic was automatically closed after 60 days. New replies are no longer allowed.