swarm-cli
swarm-cli copied to clipboard
bug: debug api is required for upload
debug api should not be required
sig32 :: swarm/swapchat2/build 1 » swarm-cli upload --curl --bee-api-url https://swerm.org --index-document index.html .
Cannot ensure Debug API correctness!
--bee-api-url is set explicitly, but --bee-debug-api-url is left default.
This may be incorrect and cause unexpected behaviour.
Please run the command again and specify explicitly the --bee-debug-api-url value.
Well, there two things here:
- to my knowledge we need access to the Debug API because managing the stamps (eq. list them etc.)
- not sure if it is happening or not, but we could try deduce the Debug port from the
bee-api-url
configuration, but with the upcoming merge of the endpoints not sure if it will have the priority for it
aha, i see. well, perhaps then it is better to state the use case:
i would like to use (and have been using) swarm-cli
to upload using a public gateway.
i can no longer do this.
@significance you can provide --stamp 0000000000000000000000000000000000000000000000000000000000000000
to bypass the debug API usage
Related: https://github.com/ethersphere/swarm-cli/issues/421
Also in Bee there is the endevour to merge the API and Debug API so that will pretty much solves this issue.
No longer the case with the merge