config: use http for oracle nodes

Otherwise the following error occurs:
```
first path segment in URL cannot contain colon
```
This commit is contained in:
Anna Shaleva 2021-11-26 16:56:48 +03:00
parent b455e9338c
commit e2ef904901
6 changed files with 18 additions and 17 deletions

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes:
- application/json
Nodes:
- node_one:30333
- node_two:30334
- node_three:30335
- node_four:30336
- http://node_one:30333
- http://node_two:30334
- http://node_three:30335
- http://node_four:30336
RequestTimeout: 5s
UnlockWallet:
Path: "/wallet4.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes:
- application/json
Nodes:
- node_one:30333
- node_two:30334
- node_three:30335
- node_four:30336
- http://node_one:30333
- http://node_two:30334
- http://node_three:30335
- http://node_four:30336
RequestTimeout: 5s
UnlockWallet:
Path: "/wallet1.json"

View file

@ -48,7 +48,7 @@ ApplicationConfiguration:
AllowedContentTypes:
- application/json
Nodes:
- node_single:30333
- http://node_single:30333
RequestTimeout: 5s
UnlockWallet:
Path: "/wallet1_solo.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes:
- application/json
Nodes:
- node_one:30333
- node_two:30334
- node_three:30335
- node_four:30336
- http://node_one:30333
- http://node_two:30334
- http://node_three:30335
- http://node_four:30336
RequestTimeout: 5s
UnlockWallet:
Path: "/wallet3.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes:
- application/json
Nodes:
- node_one:30333
- node_two:30334
- node_three:30335
- node_four:30336
- http://node_one:30333
- http://node_two:30334
- http://node_three:30335
- http://node_four:30336
RequestTimeout: 5s
UnlockWallet:
Path: "/wallet2.json"

View file

@ -53,6 +53,7 @@ func (c *RPCClient) run() {
RequestTimeout: c.sendTimeout,
})
if err != nil {
c.log.Error("failed to create client to submit oracle response", zap.Error(err))
continue
}
}