wise-team / steem-wise-cli

Vote delegation system for STEEM blockchain: cli tool for delegators
MIT License
11 stars 1 forks source link

"Error: HTTP 504: Gateway Time-out" during sync-rules #11

Open noisy opened 6 years ago

noisy commented 6 years ago
$ wise -c config.json sync-rules rules.json 
Error: HTTP 504: Gateway Time-out
    at /usr/local/lib/node_modules/steem-wise-cli/node_modules/steem/lib/api/transports/http.js:66:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:182:7)
Jblew commented 6 years ago

Fallback Api will be introduced together with WisePlatform.

noisy commented 6 years ago

selection_980

We cannot wait for WisePlatform. This is unusable with that bug

noisy commented 5 years ago

@Jblew do you think this is still an issue?

We do not have sync-rules anymore, and also... I didn't encounter this issue during last testing of upload/download-rules

What special condition might be needed to reproduce this error?

Jblew commented 5 years ago

Solution: add retry in upload-rules command.

  1. Do not retry broadcast after 3 unsuccessful broadcasts
  2. Write elegant information about the error and current status of sync (x/n) (list which rules has been synced)