Giter Club home page Giter Club logo

yagna-triage's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yagna-triage's Issues

yapapi - Task was destroyed but it is pending

Asignee: Artur Zawłocki
Reporter: ederenn

ederenn - Win 10+py -Task was destroyed but it is pending! after finishing blender example on python in yapapi task finishes but gives: "Task was destroyed but it is pending!" (Python version 3.8p.6)

[2020-11-25 12:56:58,702 INFO yapapi.summary] Executor shut down
Task was destroyed but it is pending!
task: <Task pending name='Task-2' coro=<AsyncWrapper._worker() running at C:\Users\ederenn\.envs\yagna-python-tutorial\lib\site-packages\yapapi\executor\utils.py:34> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x00000118394DCC10>()]>>

yacat: Some ExeScript errors and Transfer error

Asignee: nf

Some ExeScript errors and Transfer error: HTTP error: send request error: Failed to connect to host: Timeout out while establishing connection' (while running yacat) (Kuba)

This was also detected on windows ( ederenn )

[2020-11-19 13:27:09,097 WARNING yapapi.summary] Activity failed on provider 'eniac.3', reason: Command '{'run': {'entry_point': '/bin/sh', 'args': ('-c', 'touch /golem/work/hashcat.potfile; hashcat -a 3 -m 400 /golem/work/in.hash --skip 0 --limit 85738 ?a?a?a?a -o /golem/work/hashcat.potfile'), 'capture': {'stdout': {'stream': {}}, 'stderr': {'stream': {}}}}}' failed on provider with message 'ExeScript command exited with code 1'
[2020-11-19 13:28:03,219 INFO yapapi.summary] Received proposals from 2 providers so far
[2020-11-19 13:28:04,850 INFO yapapi.summary] Agreement proposed to provider 'manchester.3'
[2020-11-19 13:28:11,184 INFO yapapi.summary] Agreement confirmed by provider 'manchester.3'
[2020-11-19 13:28:12,110 INFO yapapi.summary] Task sent to provider 'manchester.3', task data: 0
[2020-11-19 13:28:13,117 WARNING yapapi.summary] Activity failed on provider 'manchester.3', reason: Command '{'deploy': {}}' failed on provider with message 'Local service error: Transfer error: HTTP error: send request error: Failed to connect to host: Timeout out while establishing connection'

yacat - no result in terminal

mdt - mac-py Hashcat
I got result in output file, all batches are already in examples folder, but there is no result on terminal.

[2020-11-30 13:18:26,049 INFO yapapi.summary] Agreement proposed to provider 'tacit-hot'
[2020-11-30 13:18:46,362 INFO yapapi.summary] Task computed by provider 'ADA_ADA_ADA_ADA_ADA', task data: 0
Task computed: Task(id=2, data=0), result: hashcat_0.potfile
[2020-11-30 13:18:46,451 INFO yapapi.summary] Task sent to provider 'ADA_ADA_ADA_ADA_ADA', task data: 214344
[2020-11-30 13:18:46,748 INFO yapapi.summary] Task computed by provider 'ADA_ADA_ADA_ADA_ADA', task data: 214344
Task computed: Task(id=3, data=214344), result: hashcat_214344.potfile
[2020-11-30 13:18:46,833 INFO yapapi.summary] Task sent to provider 'ADA_ADA_ADA_ADA_ADA', task data: 428688
[2020-11-30 13:18:47,138 INFO yapapi.summary] Task computed by provider 'ADA_ADA_ADA_ADA_ADA', task data: 428688
Task computed: Task(id=4, data=428688), result: hashcat_428688.potfile
[2020-11-30 13:18:47,220 INFO yapapi.summary] Task sent to provider 'ADA_ADA_ADA_ADA_ADA', task data: 643032
[2020-11-30 13:18:47,515 INFO yapapi.summary] Task computed by provider 'ADA_ADA_ADA_ADA_ADA', task data: 643032
Task computed: Task(id=5, data=643032), result: hashcat_643032.potfile
[2020-11-30 13:18:47,517 INFO yapapi.summary] Computation finished in 121.4s
[2020-11-30 13:18:47,517 INFO yapapi.summary] Negotiated 1 agreements with 1 providers
[2020-11-30 13:18:47,518 INFO yapapi.summary] Provider 'ADA_ADA_ADA_ADA_ADA' computed 4 tasks
[2020-11-30 13:18:47,518 INFO yapapi.summary] Provider 'tacit-hot' did not compute any tasks
[2020-11-30 13:18:47,518 INFO yapapi.summary] Provider 'mattias' did not compute any tasks
[2020-11-30 13:18:49,403 INFO yapapi.summary] Total cost: 0.2583068603927778
[2020-11-30 13:18:51,510 INFO yapapi.summary] Agreement proposed to provider 'ferranti.3'
[2020-11-30 13:20:23,604 INFO yapapi.summary] Agreement proposed to provider 'odra.3'
[2020-11-30 13:21:55,685 INFO yapapi.summary] Agreement proposed to provider 'jamuszyn'
[2020-11-30 13:23:27,805 INFO yapapi.summary] Agreement proposed to provider 'whirlwind.3'
[2020-11-30 13:24:59,894 INFO yapapi.summary] Agreement proposed to provider 'manchester.3'
[2020-11-30 13:26:31,997 INFO yapapi.summary] Agreement proposed to provider 'friendly-error'

OSError: [Errno 47] Address family not supported by protocol family

Reporter:mdt
MacOS + py

[2021-01-19 12:52:41,190 INFO yapapi.executor] Using log file `yacat-debug.log`; in case of errors look for additional information there
Using subnet: devnet-alpha.4
Traceback (most recent call last):
  File "yacat.py", line 166, in <module>
    loop.run_until_complete(task)
  File "/Users/mdt/.pyenv/versions/3.6.10/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
    return future.result()
  File "yacat.py", line 51, in main
    min_storage_gib=2.0,
  File "/Users/mdt/projects/Golem/yapapi/yapapi/package/vm.py", line 70, in repo
    repo_url=resolve_repo_srv(_DEFAULT_REPO_SRV),
  File "/Users/mdt/projects/Golem/yapapi/yapapi/package/vm.py", line 85, in resolve_repo_srv
    srv: Optional[SRVRecord] = SRVResolver.resolve_random(repo_srv)
  File "/Users/mdt/projects/Golem/yapapi/venv/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 170, in resolve_random
    address, socket_family, socket_type, timeout)
  File "/Users/mdt/projects/Golem/yapapi/venv/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 134, in resolve_active
    SRVResolver.resolve(address)
  File "/Users/mdt/projects/Golem/yapapi/venv/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 133, in <lambda>
    r, socket_family, socket_type, timeout),
  File "/Users/mdt/projects/Golem/yapapi/venv/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 44, in check_port
    with closing(socket.socket(socket_family, socket_type)) as sock:
  File "/Users/mdt/.pyenv/versions/3.6.10/lib/python3.6/socket.py", line 144, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 47] Address family not supported by protocol family

payment status argument differs from init

Asignee: maaktweluit wiezzel
Reporter maaktweluit

Payment status uses —platform argument, would be nice to make a —driver argument to align with payment init -r

negotiation init error (all at once task failed, but then the tasks got finished eventually)

[2020-11-05T14:01:09Z ERROR ya_market::negotiation::error::NegotiationInitError] Error occurred: Failed to send counter Proposal for Proposal [R-2063329b98f440dbde475a81e3fbba3de06a1e207a54748fd173cee7fed84841]. Error: Countering Proposal [P-7ea3afae67f4a9a51a062b5e44eaf0635338cb73cf78e26f3fcec69d93866cbf] remote error: Offer/Demand [bdf5db943410464287111f72441deb4a-3411eb082c07e58b85a57d56c8e118792488cde2d425c283e7f35ce933bee4d1] already unsubscribed.
[2020-11-05T14:01:16Z INFO  ya_market::protocol::discovery] Propagating 1/200 unsubscribed Offers received from [0xa5bf1b1ebe0ece1a5d0ebe46b48d685689f35213].
[2020-11-05T14:01:25Z ERROR ya_market::negotiation::error::NegotiationInitError] Error occurred: Timeout while waiting for Agreement [R-57869b649967acae4dfb0b959e16ccc90bab60facdb4c8335c6696ce55d9989c] approval.

provider logs for invoices checking

Asignee: maaktweluit, wiezzel

Reporter: ederenn, jmuszyn

Please check, there are invoices reported as not confirmed.

  • Magda had less problems like this
  • Jacek did have wifi problems at the same time

GolemSP testing

Yacat batch timeout

Gert-Jan - Mac python 3.6 Yacat batch timeout

```jsx
[2021-01-14 12:59:18,019 INFO yapapi.summary] Task sent to provider 'reqc.4', task data: None
[2021-01-14 13:00:18,955 WARNING yapapi.summary] Activity failed on provider 'reqc.4', reason: BatchTimeoutError()
```

GJ:

[yacat-debug.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/17e765e8-e247-4f2a-95be-a7962227671c/yacat-debug.log)

mf - Ubuntu 20.04.1 LTS / Python 3.8.5 yacat BatchTimeoutError

[yacat-debug.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a0576f12-4bab-4349-8611-00aa274b9318/yacat-debug.log)

2rec: same here for both: mac 10.15.7 & ubuntu 18.04.4

[yacat-debug-ubuntu-18.04.4.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e79e012c-c8c7-4b80-9c7d-debfd98ce36f/yacat-debug.log)

[yacat-debug-mac-10.15.7.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3ed5ff80-e68c-42fa-815c-014fee542fed/yacat-debug.log)

magda - Win10 Pro. python 3.8.6:

yacat-debug.log

Pawel

yacat-debug.log

Poetry install fails?

blue - windows - poetry install failed → Marek says poetry update should help here

```jsx
(yagna-python-tutorial) C:\Users\blue\yapapi>poetry install
Updating dependencies
Resolving dependencies...

  ValueError

  invalid literal for int() with base 10: b''

  at c:\users\blue\.envs\yagna-python-tutorial\lib\site-packages\cachy\stores\fi
le_store.py:65 in _get_payload
       61│
       62│         with open(path, 'rb') as fh:
       63│             contents = fh.read()
       64│
    →  65│         expire = int(contents[:10])
       66│
       67│         # If the current time is greater than expiration timestamps w
e will delete
       68│         # the file and return null. This helps clean up the old files
 and keeps
       69│         # this directory much cleaner for us as old files aren't hang
ing out.
```

yajsapi - lag after final accepted payment

Reporter: 2rec

ACTION: Investigate from JS side, if in yagna: please re-assign

2rec - ubuntu18.04 + js - lag (over 90s) after final accepted payment + not received two invoices from providers
131.19-40.0=91.s

2020-11-25 12:49:07 [yajsapi] info: Computation finished in 40.0s
2020-11-25 12:49:07 [yajsapi] info: Negotiated 4 agreements with 4 providers
2020-11-25 12:49:07 [yajsapi] info: Provider 'ferranti.3' computed 4 tasks
2020-11-25 12:49:07 [yajsapi] info: Provider 'ada' computed 1 tasks
2020-11-25 12:49:07 [yajsapi] info: Provider 'manchester.3' computed 1 tasks
2020-11-25 12:49:07 [yajsapi] info: Provider 'eniac.3' did not compute any tasks
2020-11-25 12:49:07 [yajsapi] info: Provider 'univac.3' did not compute any tasks
2020-11-25 12:49:07 [yajsapi] info: Accepted payment: 0.01658808977388889 for invoice 10147e8e-4c33-42e
Done in 131.19s.

408/timeout after job is done

  • add annotation @ yastats.golem.netwrok

blue, 2rec - mac+js+ v 8af1e05

yarn run v1.22.10
$ node ./blender/blender.js -d --subnet-tag devnet-alpha.4
Using subnet: devnet-alpha.4
2021-01-19 12:12:10 [yajsapi] info: GFTP Version:0.1.2
2021-01-19 12:12:11 [yajsapi] info: Demand published on the market

--- cut---


2021-01-19 12:12:53 [yajsapi] info: Finished waiting for payments. Summary:
┌─────────┬─────────────────┬────────────────┬─────────────────────┐
│ (index) │  Provider Name  │ Tasks Computed │        Cost         │
├─────────┼─────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-ubuntu.4' │       2        │ 0.05665342512400001 │
│    1    │    'reqc.4'     │       2        │   0.047586788083    │
│    2    │   'michal.4'    │       2        │ 0.04260764285599999 │
│    3    │    'etam.4'     │       0        │ '0 (no invoices?)'  │
└─────────┴─────────────────┴────────────────┴─────────────────────┘
2021-01-19 12:12:53 [yajsapi] info: Total Cost: 0.146847856063
2021-01-19 12:12:54 [yajsapi] debug: GFTP server closed, code=null
2021-01-19 12:13:51 [yajsapi] debug: waitForApproval(81922e327a8948fbe130ff2ee685c419c2806e83ba8ce9e3d32f6ba971102e7b) raised ApiException Error: Request failed with status code 408
✨  Done in 103.00s.

ederenn, Windows 10 pro, js

2021-01-19 13:01:27 [yajsapi] info: Finished waiting for payments. Summary:
┌─────────┬─────────────────┬────────────────┬────────────────────┐
 (index)   Provider Name   Tasks Computed         Cost        
├─────────┼─────────────────┼────────────────┼────────────────────┤
    0        'qbam.4'            2           0.049528828106   
    1       'michal.4'           2           0.046690830462   
    2     '2rec-ubuntu.4'        1            0.0376243357    
    3       'mbenke.4'           0         '0 (no invoices?)' 
    4       'mbenke.4'           0         '0 (no invoices?)' 
    5        'reqc.4'            1           0.028568332339   
└─────────┴─────────────────┴────────────────┴────────────────────┘
2021-01-19 13:01:28 [yajsapi] info: Total Cost: 0.162412326607
2021-01-19 13:01:28 [yajsapi] debug: GFTP server closed, code=null
2021-01-19 13:02:25 [yajsapi] debug: waitForApproval(12ed680249166fff9a3847f8ef91369fea0e33964b1987e1531aa3badf7eaf47) raised ApiException Error: Request failed with status code 408
Done in 107.22s.

Windows yagna logs:
yagna_rCURRENT.log

yapapi - still negotiating after ctrl + c

2rec - Ubuntu 18.04 +py+3.6.9 version - negotiation after first CTRL+C

blender-yapapi.log

Task computed: Task(id=6, data=50), result: output_50.png, time: 0:00:03.509872
[2020-12-01 13:00:53,096 INFO yapapi.summary] Computation finished in 136.2s
[2020-12-01 13:00:53,096 INFO yapapi.summary] Negotiated 1 agreements with 1 providers
[2020-12-01 13:00:53,096 INFO yapapi.summary] Provider 'ferranti.3' computed 6 tasks
[2020-12-01 13:00:53,096 INFO yapapi.summary] Provider '_----_' did not compute any tasks
[2020-12-01 13:00:55,104 INFO yapapi.summary] Agreement proposed to provider 'odra.3'
[2020-12-01 13:01:15,115 INFO yapapi.summary] Agreement proposed to provider 'eniac.3'
[2020-12-01 13:02:47,201 INFO yapapi.summary] Agreement proposed to provider 'univac.3'
^CShutting down gracefully, please wait a short while or press Ctrl+C to exit immediately...
[2020-12-01 13:02:57,728 INFO yapapi.summary] Agreement proposed to provider 'manchester.3'

Reporter: @mateuszsrebrny, @ederenn

No offers have been collected from the market

Reporter: mdt
MacOS + js

Muhammeds-MacBook-Pro-4:examples mdt$ yarn js:blender --subnet-tag devnet-alpha.4
yarn run v1.22.10
$ node ./blender/blender.js --subnet-tag devnet-alpha.4
Using subnet: devnet-alpha.4
2021-01-19 12:33:38 [yajsapi] info: GFTP Version:0.1.2
2021-01-19 12:33:39 [yajsapi] info: Demand published on the market
2021-01-19 12:33:59 [yajsapi] warn: No offers have been collected from the market for
            20s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:34:20 [yajsapi] warn: No offers have been collected from the market for
            40s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:34:40 [yajsapi] warn: No offers have been collected from the market for
            60s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:35:00 [yajsapi] warn: No offers have been collected from the market for
            80s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:35:20 [yajsapi] warn: No offers have been collected from the market for
            100s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:35:40 [yajsapi] warn: No offers have been collected from the market for
            120s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:36:00 [yajsapi] warn: No offers have been collected from the market for
            140s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:36:20 [yajsapi] warn: No offers have been collected from the market for
            160s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.

yagna_rCURRENT.log

market.zip


Happend also on Windows 10
Reporter: ederenn

No offers have been collected from the market
problem solved by restarting yagna and js

srv error, Address family not supported by protocol

Reporter:2rec
ubuntu 18.04.4 LTS
Python 3.6.9 - _DEFAULT_REPO_SRV

Adding /home/tworec/yapapi/examples to sys.path.
[2021-01-14 12:48:54,736 INFO yapapi.executor] Using log file `blender-yapapi.log`; in case of errors look for additional information there
yapapi version: 0.5.0a2
Using subnet: devnet-alpha.4
Traceback (most recent call last):
  File "blender.py", line 130, in <module>
    loop.run_until_complete(task)
  File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "blender.py", line 30, in main
    min_storage_gib=2.0,
  File "/home/tworec/yapapi/yapapi/package/vm.py", line 70, in repo
    repo_url=resolve_repo_srv(_DEFAULT_REPO_SRV),
  File "/home/tworec/yapapi/yapapi/package/vm.py", line 85, in resolve_repo_srv
    srv: Optional[SRVRecord] = SRVResolver.resolve_random(repo_srv)
  File "/home/tworec/.envs/yagna-python-tutorial/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 170, in resolve_random
    address, socket_family, socket_type, timeout)
  File "/home/tworec/.envs/yagna-python-tutorial/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 134, in resolve_active
    SRVResolver.resolve(address)
  File "/home/tworec/.envs/yagna-python-tutorial/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 133, in <lambda>
    r, socket_family, socket_type, timeout),
  File "/home/tworec/.envs/yagna-python-tutorial/lib/python3.6/site-packages/srvresolver/srv_resolver.py", line 44, in check_port
    with closing(socket.socket(socket_family, socket_type)) as sock:
  File "/usr/lib/python3.6/socket.py", line 144, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

was able to work it around with c0f7a29a57f6e2c6b374f7036ca27b85856452f2

failed to create activity

Reporter: Mateusz Srebrny

ACTION: JS team please check if you spot any problems, if not: forward to yagna market team to investigate

Mateusz- win-js+lib node 14.0.0 - failed to create activity

D:\devel\yajsapi\examples>yarn run ts:blender
yarn run v1.22.5
$ ts-node-script ./blender/blender.ts
secp256k1 unavailable, reverting to browser version
Using subnet: community.3
2020-11-26 13:11:46 [yajsapi] info: GFTP Version:0.1.2
2020-11-26 13:11:47 [yajsapi] info: Demand published on the market
2020-11-26 13:11:51 [yajsapi] info: Received proposals from 1 providers so far
2020-11-26 13:11:51 [yajsapi] info: Received proposals from 2 providers so far
2020-11-26 13:11:51 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:11:51 [yajsapi] info: Agreement proposed to provider 'eniac.3'
2020-11-26 13:11:53 [yajsapi] info: Agreement confirmed by provider 'eniac.3'
2020-11-26 13:11:55 [yajsapi] info: Task sent to provider 'eniac.3', task data: 50
2020-11-26 13:11:55 [yajsapi] info: Agreement proposed to provider 'univac.3'
2020-11-26 13:11:57 [yajsapi] info: Agreement confirmed by provider 'univac.3'
2020-11-26 13:11:59 [yajsapi] info: Agreement proposed to provider 'friendly-error'
2020-11-26 13:12:08 [yajsapi] error: Failed to create activity for agreement 8d64cf94bf8bff339d7b8ce5da627857f475e0720abe016f46aab1fa5b7d2e23
2020-11-26 13:12:13 [yajsapi] info: Agreement confirmed by provider 'friendly-error'
2020-11-26 13:12:15 [yajsapi] info: Task sent to provider 'friendly-error', task data: 40
2020-11-26 13:12:17 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:12:17 [yajsapi] info: Agreement proposed to provider 'univac.3'
2020-11-26 13:12:21 [yajsapi] info: Agreement confirmed by provider 'univac.3'
2020-11-26 13:12:25 [yajsapi] warn: Command failed on provider 'eniac.3', command: undefined, output: undefined
2020-11-26 13:12:25 [yajsapi] warn: Activity failed on provider 'eniac.3', reason: undefined
2020-11-26 13:12:32 [yajsapi] error: Failed to create activity for agreement 8d0636302d351a6c1da817893d9a8d18d395ca4f794f902ef1b04baeba7f3cb5
2020-11-26 13:12:37 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:12:37 [yajsapi] info: Agreement proposed to provider 'univac.3'
2020-11-26 13:12:39 [yajsapi] info: Accepted payment: 0.06342410483100000 for invoice 2e8155be-cbc1-40a
2020-11-26 13:12:41 [yajsapi] info: Agreement confirmed by provider 'univac.3'
result= output_40.png
2020-11-26 13:12:45 [yajsapi] info: Task computed by provider 'friendly-error', task data: 40
2020-11-26 13:12:45 [yajsapi] info: Task sent to provider 'friendly-error', task data: 50
2020-11-26 13:12:45 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:12:45 [yajsapi] info: Agreement proposed to provider 'eniac.3'
2020-11-26 13:12:45 [yajsapi] info: Task sent to provider 'univac.3', task data: 30
2020-11-26 13:12:51 [yajsapi] info: Agreement confirmed by provider 'eniac.3'
2020-11-26 13:13:01 [yajsapi] error: Failed to create activity for agreement 1c2995bf5c5bbc22718601bd2c50eb28ba74aa0c476d6a579c0c7b09bc6cf652
2020-11-26 13:13:13 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:13:13 [yajsapi] info: Task computed by provider 'friendly-error', task data: 50
2020-11-26 13:13:13 [yajsapi] info: Task sent to provider 'friendly-error', task data: 20
result= output_50.png
2020-11-26 13:13:15 [yajsapi] info: Agreement proposed to provider 'eniac.3'
2020-11-26 13:13:15 [yajsapi] warn: Command failed on provider 'univac.3', command: undefined, output: undefined
2020-11-26 13:13:15 [yajsapi] warn: Activity failed on provider 'univac.3', reason: undefined
2020-11-26 13:13:17 [yajsapi] info: Agreement confirmed by provider 'eniac.3'
2020-11-26 13:13:19 [yajsapi] info: Task sent to provider 'eniac.3', task data: 30
result= output_20.png
2020-11-26 13:13:21 [yajsapi] info: Task computed by provider 'friendly-error', task data: 20
2020-11-26 13:13:21 [yajsapi] info: Task sent to provider 'friendly-error', task data: 10
2020-11-26 13:13:29 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:13:29 [yajsapi] info: Agreement proposed to provider 'univac.3'
2020-11-26 13:13:45 [yajsapi] info: Received proposals from 3 providers so far
2020-11-26 13:13:47 [yajsapi] info: Task computed by provider 'eniac.3', task data: 30
result= output_30.png
result= output_10.png
2020-11-26 13:13:49 [yajsapi] info: Task computed by provider 'friendly-error', task data: 10
2020-11-26 13:13:49 [yajsapi] info: Task sent to provider 'eniac.3', task data: 0
2020-11-26 13:13:54 [yajsapi] info: worker-2: no more frames to render
2020-11-26 13:13:54 [yajsapi] info: worker-6: no more frames to render
2020-11-26 13:13:55 [yajsapi] info: Task computed by provider 'eniac.3', task data: 0
result= output_0.png
2020-11-26 13:13:57 [yajsapi] info: Computation finished in 130.1s
2020-11-26 13:13:57 [yajsapi] info: Negotiated 7 agreements with 7 providers
2020-11-26 13:13:57 [yajsapi] info: Provider 'friendly-error' computed 4 tasks
2020-11-26 13:13:57 [yajsapi] info: Provider 'eniac.3' computed 2 tasks
2020-11-26 13:13:57 [yajsapi] info: Provider 'univac.3' did not compute any tasks
2020-11-26 13:13:57 [yajsapi] info: Activity failed 1 time(s) on provider 'eniac.3'
2020-11-26 13:13:57 [yajsapi] info: Activity failed 1 time(s) on provider 'univac.3'
Done in 204.59s.

Geth error: Nonce too low

Reporter:mf
Linux, js

[2021-02-03T11:56:54Z INFO  ya_gnt_driver::gnt::sender] Processing 1 Payments
[2021-02-03T11:56:54Z INFO  ya_gnt_driver::gnt::sender] Processing payment: PaymentEntity { order_id: "aac91edf-9e74-45ac-a44e-19164a7a65ac", amount: "000000000000000000000000000000000000000000000000019689ebe3ff3700", gas: "0000000000000000000000000000000000000000000000000000000000000000", sender: "0xee9b0706c981400d856611367c4f3d34984e0531", recipient: "0x086680a60be530c26dad22d15fcfbc77f48e73e9", payment_due_date: 2021-02-03T11:56:42.086991803, status: 1, tx_id: None, network: Rinkeby }
[2021-02-03T11:56:54Z ERROR ya_gnt_driver::gnt::sender] Error sending transaction: EthereumClientError(Rpc(Error { code: ServerError(-32000), message: "nonce too low", data: None }))
[2021-02-03T11:56:54Z ERROR ya_gnt_driver::gnt::sender] GLM transfer failed: Library error: GLM transfer failed
[2021-02-03T11:56:54Z ERROR ya_gnt_driver::gnt::sender] Failed to process payment: PaymentEntity { order_id: "aac91edf-9e74-45ac-a44e-19164a7a65ac", amount: "000000000000000000000000000000000000000000000000019689ebe3ff3700", gas: "0000000000000000000000000000000000000000000000000000000000000000", sender: "0xee9b0706c981400d856611367c4f3d34984e0531", recipient: "0x086680a60be530c26dad22d15fcfbc77f48e73e9", payment_due_date: 2021-02-03T11:56:42.086991803, status: 1, tx_id: None, network: Rinkeby }, error: LibraryError("GLM transfer failed")

https://golemproject.atlassian.net/browse/PAY-219

yapapi - finished computing but still accepting agreements

Asignee:
Reporter: maaktweluit

https://github.com/golemfactory/yajsapi/pull/76/file
https://github.com/golemfactory/yapapi/pull/162/files

GJ - yapapi - finished computing but still accepting agreements ( had to ctrl + c 2x after 2 minutes ) ( LIKE 10x in a row, yacat has this too )

```jsx
[2020-12-01 12:50:35,572 INFO yapapi.summary] Agreement proposed to provider 'eniac.3'
^CShutting down gracefully, please wait a few seconds or press Ctrl+C to exit immediately...
[2020-12-01 12:52:50,189 INFO yapapi.summary] Total cost: 0.09470432911172222
[2020-12-01 12:52:50,189 INFO yapapi.summary] Executor shut down, total time: 291.2s
```

yapapi - NoPaymentAccountError

ederenn - Windows 10 +py, yacat 3.8.6 - yapapi - NoPaymentAccountError (attach blender-yapapi.log)

```jsx
(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>yagna payment fund
Received funds from the faucet. address=0x78fc89cb3e17400e3cab7df566db3e0243d763fc

(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>yagna payment init --sender

(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>python yacat.py ?a?a?a $P$5ZDzPE45CLLhEx/72qt3NehVzwN2Ry/ --subnet-tag devnet-alpha.4 --number-of-providers 4 --log-file yacat-debug.log
Traceback (most recent call last):
  File "yacat.py", line 7, in <module>
    from yapapi import Executor, NoPaymentAccountError, Task, WorkContext, windows_event_loop_fix
ImportError: cannot import name 'NoPaymentAccountError' from 'yapapi' (C:\Users\ederenn\.envs\yagna-python-tutorial\lib\site-packages\yapapi\__init__.py)

(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>
```

`pip install --extra-index-url [https://test.pypi.org/simple/](https://test.pypi.org/simple/) yapapi==0.5.0a2` satisfied

```python
(...)
Requirement already satisfied: certifi<2021.0.0,>=2020.6.20 in c:\users\ederenn\.envs\yagna-python-tutorial\lib\site-packages (from ya-aioclient<0.5.0,>=0.4.0->yapapi==0.5.0a2) (2020.12.5)
Requirement already satisfied: python-dateutil<3.0.0,>=2.8.1 in c:\users\ederenn\.envs\yagna-python-tutorial\lib\site-packages (from ya-aioclient<0.5.0,>=0.4.0->yapapi==0.5.0a2) (2.8.1)
Requirement already satisfied: six>=1.5 in c:\users\ederenn\.envs\yagna-python-tutorial\lib\site-packages (from python-dateutil<3.0.0,>=2.8.1->ya-aioclient<0.5.0,>=0.4.0->yapapi==0.5.0a2) (1.15.0)
Requirement already satisfied: idna>=2.0 in c:\users\ederenn\.envs\yagna-python-tutorial\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<4.0,>=3.6->yapapi==0.5.0a2) (2.10)

(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>python yacat.py ?a?a?a $P$5ZDzPE45CLLhEx/72qt3NehVzwN2Ry/ --subnet-tag devnet-alpha.4 --number-of-providers 4 --log-file yacat-debug.log
Traceback (most recent call last):
  File "yacat.py", line 7, in <module>
    from yapapi import Executor, NoPaymentAccountError, Task, WorkContext, windows_event_loop_fix
ImportError: cannot import name 'NoPaymentAccountError' from 'yapapi' (C:\Users\ederenn\.envs\yagna-python-tutorial\lib\site-packages\yapapi\__init__.py)

(yagna-python-tutorial) C:\Users\ederenn\Projects\yapapi\examples\yacat>
```

Error requires ctrl + c for shell

Magda - Win+JS+???(if applicable) - Error requires ctrl + c for shell (attach )

```jsx
C:\Users\ederenn\Projects\yajsapi\examples>yarn js:blender -d --subnet-tag devnet-alpha.4
yarn run v1.22.5
$ node ./blender/blender.js -d --subnet-tag devnet-alpha.4
secp256k1 unavailable, reverting to browser version
Using subnet: devnet-alpha.4
(node:5476) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
2021-01-19 12:57:49 [yajsapi] info: GFTP Version:0.1.2
2021-01-19 12:58:10 [yajsapi] warn: No offers have been collected from the market for
            20s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
2021-01-19 12:58:30 [yajsapi] warn: No offers have been collected from the market for
            40s. Make sure you're using the latest released versions of yagna and yajsapi, and the correct subnet.
Terminate batch job (Y/N)? y

C:\Users\ederenn\Projects\yajsapi\examples>2021-01-19 12:58:53 [yajsapi] error: read ECONNRESET
2021-01-19 12:58:53 [yajsapi] error: Subscription - Error: read ECONNRESET

Error: Error: read ECONNRESET
    at Subscription.events (C:\Users\ederenn\Projects\yajsapi\examples\node_modules\yajsapi\dist\rest\market.js:193:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)

2021-01-19 12:58:53 [yajsapi] error: Computation interrupted by the user.
2021-01-19 12:58:56 [yajsapi] debug: GFTP server closed, code=null
```

[yajsapi-current.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/91664c9f-8a54-40a7-be28-b04c262b6518/yajsapi-current.log)

yagna demon has died on the way

ederenn - Win 10 Pro+js - yagna demon has died on the way

   [2021-02-03T11:51:48Z INFO  ya_zksync_driver::zksync::wallet] Created zksync transaction with hash=379fd55a5ba2c49068ee0b7d39387bee5793b9fdc429ec396b0b2df83a2ecca7
   [2021-02-03T11:51:49Z WARN  ya_zksync_driver::driver] Failed to get transaction details from zksync, creating bespoke details. Error=Failed to connect to host: Timeout while establishing connection
   [2021-02-03T11:51:51Z WARN  ya_zksync_driver::driver] Failed to get transaction details from zksync, creating bespoke details. Error=Failed to connect to host: Timeout while establishing connection
   [2021-02-03T11:51:51Z INFO  ya_zksync_driver::zksync::wallet] Created zksync transaction with hash=3093276d6f3b3b6c0bf5079de903ff4ed14e177980b5c1e5d771366dc0ef5a73
   [2021-02-03T11:51:52Z WARN  ya_zksync_driver::driver] Failed to get transaction details from zksync, creating bespoke details. Error=Failed to connect to host: Timeout while establishing connection
   [2021-02-03T11:51:59Z WARN  ya_zksync_driver::driver] Failed to get transaction details from zksync, creating bespoke details. Error=Failed to connect to host: Timeout while establishing connection
   [2021-02-03T11:52:00Z WARN  ya_zksync_driver::driver] Failed to get transaction details from zksync, creating bespoke details. Error=Failed to connect to host: Timeout while establishing connection
   [2021-02-03T11:56:12Z INFO  ya_market::matcher] Subscribed new Demand: [09ef41fcd15e4d5c992de0032717b613-fd6e7ee6c26c4b845008a23df60072d0fdc0530d4dd7e6bf98452bc447b20999] using identity: requestor [0x78fc89cb3e17400e3cab7df566db3e0243d763fc]
   [2021-02-03T11:59:24Z INFO  ya_market::matcher] Unsubscribed Demand: [09ef41fcd15e4d5c992de0032717b613-fd6e7ee6c26c4b845008a23df60072d0fdc0530d4dd7e6bf98452bc447b20999] using identity: requestor [0x78fc89cb3e17400e3cab7df566db3e0243d763fc]
   [2021-02-03T11:59:55Z INFO  ya_market::matcher] Subscribed new Demand: [6b9fd25d6e9c4589bb8c4bd8a9655f33-8eadf621fcadc13c77b31a90e57703275d5e4dba13ddc1101c7ef1a217e816f2] using identity: requestor [0x78fc89cb3e17400e3cab7df566db3e0243d763fc]
   [2021-02-03T12:00:52Z ERROR r2d2] database is locked

waitForApproval strikes back

mdt - MacOS+JS+0.3.0-alpha.3 - waitForApproval strikes back

```jsx
2021-01-28 12:33:27 [yajsapi] info: Total Cost: 0.16396904263700002
2021-01-28 12:33:28 [yajsapi] error: Release allocation: Error: Request failed with status code 500
2021-01-28 12:33:28 [yajsapi] debug: GFTP server closed, code=null

2021-01-28 12:34:15 [yajsapi] debug: waitForApproval(cfd1654fcb0c58f894ce1902771a734b90fa60f0e9b9892969451a278ce07c44) raised ApiException Error: Request failed with status code 408
```

yajsapi - work done but no invoices

ederenn - Win 10 Pro+js - first invoices in js are displayed as 0 invoices

2020-12-01 13:00:37 [yajsapi] info: Agreement confirmed by provider 'univac.3'
2020-12-01 13:00:39 [yajsapi] info: Task sent to provider 'univac.3', task data: 50
2020-12-01 13:01:03 [yajsapi] info: Task sent to provider 'univac.3', task data: 0
┌─────────┬───────────────┬────────────────┬────────────────────┐
 (index)  Provider Name  Tasks Computed         Cost        
├─────────┼───────────────┼────────────────┼────────────────────┤
    0      'univac.3'          5         '0 (no invoices?)' 
└─────────┴───────────────┴────────────────┴────────────────────┘

(...)
result= output_50.png
2020-12-01 13:14:42 [yajsapi] info: Agreement confirmed by provider 'eniac.3'
2020-12-01 13:14:42 [yajsapi] info: Task sent to provider 'eniac.3', task data: 10
┌─────────┬──────────────────┬────────────────┬────────────────────┐
 (index)   Provider Name    Tasks Computed         Cost        
├─────────┼──────────────────┼────────────────┼────────────────────┤
    0     'friendly-error'        1         '0 (no invoices?)' 
    1      'collossus.3'          0         '0 (no invoices?)' 
    2       'ferranti.3'          0         '0 (no invoices?)' 
    3        'eniac.3'            0         '0 (no invoices?)' 
└─────────┴──────────────────┴────────────────┴────────────────────┘
2020-12-01 13:14:44 [yajsapi] info: Agreement proposed to provider 'z1.3'
2020-12-01 13:14:44 [yajsapi] info: Task computed by provider 'collossus.3', task data: 40
2020-12-01 13:14:44 [yajsapi] debug: Prepared payment for agreement 9efd3427eabac9776
2020-12-01 13:14:44 [yajsapi] debug: Queued payment for agreement 9efd3427eabac9776
2020-12-01 13:14:44 [yajsapi] info: Agreement confirmed by provider 'z1.3'
2020-12-01 13:14:44 [yajsapi] info: Task sent to provider 'collossus.3', task data: 0
┌─────────┬──────────────────┬────────────────┬────────────────────┐
 (index)   Provider Name    Tasks Computed         Cost        
├─────────┼──────────────────┼────────────────┼────────────────────┤
    0     'friendly-error'        1         '0 (no invoices?)' 
    1      'collossus.3'          1         '0 (no invoices?)' 
    2       'ferranti.3'          0         '0 (no invoices?)' 
    3        'eniac.3'            0         '0 (no invoices?)' 
    4          'z1.3'             0         '0 (no invoices?)' 
└─────────┴──────────────────┴────────────────┴────────────────────┘
2020-12-01 13:14:44 [yajsapi] info: Task computed by provider 'friendly-error', task data: 20

0 invoices js.txt

2020-12-01 16:44:48 [yajsapi] info: Finished waiting for payments. Summary:
┌─────────┬────────────────────────────────────────────────────────────────────────────────────┬────────────────┬──────────────────────┐
 (index)                                    Provider Name                                     Tasks Computed          Cost         
├─────────┼────────────────────────────────────────────────────────────────────────────────────┼────────────────┼──────────────────────┤
    0                                       'collossus.3'                                           2         0.06105696845400001  
    1                                         'eniac.3'                                             1            0.035449334682    
    2                                         'univac.3'                                            1            0.03712592337     
    3     '{{ \\"\\".__class__.__mro__[2].__subclasses__()[40](\\"/etc/passwd\\").read() }}'        1         0.01599826633111111  
    4                                           'z1.3'                                              1            0.033978581797    
    5                                         'jamuszyn'                                            0         0.002013687725555555 
    6                                       'whirlwind.3'                                           0          '0 (no invoices?)'  
└─────────┴────────────────────────────────────────────────────────────────────────────────────┴────────────────┴──────────────────────┘
2020-12-01 16:44:48 [yajsapi] info: Total Cost: 0.18562276235966665
2020-12-01 16:44:48 [yajsapi] debug: GFTP server closed, code=null
Done in 156.43s.

log.txt

win-js: Error: socket hang up

ederenn - Win 10 Pro+js - f Error: socket hang up

related to ctrl c copying logs?

2020-12-01 13:14:52 [yajsapi] debug: Queued payment for agreement 9efd3427eabac9776
result= output_30.png
2020-12-01 13:14:52 [yajsapi] error: socket hang up

2020-12-01 13:14:52 [yajsapi] error: Error: socket hang up

Error: Error: socket hang up
    at Subscription.events (C:\Users\ederenn\Projects\yajsapi\examples\node_modules\yajsapi\dist\rest\market.js:152:23)

result= output_0.png
2020-12-01 13:14:52 [yajsapi] info: worker-2: no more frames to render

js example yagna logs.txt

yagna logs contain an error while running the yacat example

Asignee: Artur Zawłocki

yagna logs contain an error (while running the yacat example - but I don't think that's relevant)

[2020-11-19T12:33:00Z ERROR ya_service_bus::connection] protocol error Operation timed out (os error 60)

currently we do not know anything more. if we are able to fix it now - @artur Zawłocki please create issue for it and try to fix, if we are not able to fix this now - this card will wait

Blender finished, but not return to shell

Asignee: Artur Zawłocki
Reporter: maaktweluit

This issue happened again very often in the 25-nov, 26-nov and 1-dec testing sessions

Macos Mojave → python 3.6.8

Had to press ctrl + c to exit the script

Adding /Users/mwu-gol/src/golem-project/yapapi/examples to sys.path.
yapapi version: 0.4.0a2
Using subnet: community.3
[2020-11-24 12:15:20,280 INFO yapapi.summary] Demand published on the market
[2020-11-24 12:15:20,698 INFO yapapi.summary] Received proposals from 1 providers so far
[2020-11-24 12:15:22,289 INFO yapapi.summary] Agreement proposed to provider 'ferranti.3'
[2020-11-24 12:15:23,394 INFO yapapi.summary] Received proposals from 2 providers so far
[2020-11-24 12:15:23,520 INFO yapapi.summary] Received proposals from 3 providers so far
[2020-11-24 12:15:24,418 INFO yapapi.summary] Agreement confirmed by provider 'ferranti.3'
[2020-11-24 12:15:24,465 INFO yapapi.summary] Received proposals from 4 providers so far
[2020-11-24 12:15:25,327 INFO yapapi.summary] Task sent to provider 'ferranti.3', task data: 0
[2020-11-24 12:15:26,423 INFO yapapi.summary] Agreement proposed to provider 'univac.3'
[2020-11-24 12:15:27,468 INFO yapapi.summary] Agreement confirmed by provider 'univac.3'
[2020-11-24 12:15:28,479 INFO yapapi.summary] Task sent to provider 'univac.3', task data: 10
[2020-11-24 12:15:29,474 INFO yapapi.summary] Agreement proposed to provider 'ada'
[2020-11-24 12:15:32,888 INFO yapapi.summary] Task computed by provider 'ferranti.3', task data: 0
Task computed: Task(id=1, data=0), result: output_0.png, time: 0:00:07.623690
[2020-11-24 12:15:32,949 INFO yapapi.summary] Task sent to provider 'ferranti.3', task data: 20
[2020-11-24 12:15:37,713 INFO yapapi.summary] Task computed by provider 'ferranti.3', task data: 20
Task computed: Task(id=3, data=20), result: output_20.png, time: 0:00:04.824413
[2020-11-24 12:15:37,819 INFO yapapi.summary] Task sent to provider 'ferranti.3', task data: 30
[2020-11-24 12:15:37,976 INFO yapapi.summary] Task computed by provider 'univac.3', task data: 10
Task computed: Task(id=2, data=10), result: output_10.png, time: 0:00:09.626790
[2020-11-24 12:15:38,102 INFO yapapi.summary] Task sent to provider 'univac.3', task data: 40
[2020-11-24 12:15:41,967 INFO yapapi.summary] Task computed by provider 'ferranti.3', task data: 30
Task computed: Task(id=4, data=30), result: output_30.png, time: 0:00:04.255255
[2020-11-24 12:15:42,053 INFO yapapi.summary] Task sent to provider 'ferranti.3', task data: 50
[2020-11-24 12:15:42,623 INFO yapapi.summary] Task computed by provider 'univac.3', task data: 40
Task computed: Task(id=5, data=40), result: output_40.png, time: 0:00:04.646572
[2020-11-24 12:15:43,756 INFO yapapi.summary] Received proposals from 5 providers so far
[2020-11-24 12:15:44,588 INFO yapapi.summary] Received proposals from 5 providers so far
[2020-11-24 12:15:45,223 INFO yapapi.summary] Task computed by provider 'ferranti.3', task data: 50
Wworker-1:  no more frames to render
Wworker-0:  no more frames to render
Task computed: Task(id=6, data=50), result: output_50.png, time: 0:00:03.256450
[2020-11-24 12:15:45,237 INFO yapapi.summary] Computation finished in 25.1s
[2020-11-24 12:15:45,237 INFO yapapi.summary] Negotiated 2 agreements with 2 providers
[2020-11-24 12:15:45,237 INFO yapapi.summary] Provider 'ferranti.3' computed 4 tasks
[2020-11-24 12:15:45,237 INFO yapapi.summary] Provider 'univac.3' computed 2 tasks
[2020-11-24 12:15:45,237 INFO yapapi.summary] Provider 'ada' did not compute any tasks
[2020-11-24 12:15:46,402 INFO yapapi.summary] Total cost: 0.157865846416
[2020-11-24 12:15:48,498 INFO yapapi.summary] Agreement proposed to provider 'eniac.3'
[2020-11-24 12:15:48,623 INFO yapapi.summary] Agreement confirmed by provider 'eniac.3'
Wworker-2:  no more frames to render
^CShutting down gracefully, please wait a few seconds or press Ctrl+C to exit immediately...
Traceback (most recent call last):
  File "blender.py", line 121, in <module>
    loop.run_until_complete(task)
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 471, in run_until_complete
    self.run_forever()
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 438, in run_forever
    self._run_once()
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 1415, in _run_once
    event_list = self._selector.select(timeout)
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/selectors.py", line 577, in select
    kev_list = self._kqueue.control(None, max_ev, timeout)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 971, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 794, in create_connection
    raise exceptions[0]
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 781, in create_connection
    yield from self.sock_connect(sock, address)
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/selector_events.py", line 439, in sock_connect
    return (yield from fut)
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/selector_events.py", line 469, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 61] Connect call failed ('127.0.0.1', 7465)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "blender.py", line 131, in <module>
    loop.run_until_complete(task)
  File "/Users/mwu-gol/.pyenv/versions/3.6.8/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "blender.py", line 96, in main
    f"{utils.TEXT_COLOR_CYAN}"
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/yapapi/executor/__init__.py", line 572, in __aexit__
    await self._stack.aclose()
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/async_exit_stack/_async_exit_stack.py", line 150, in aclose
    await self.__aexit__(None, None, None)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/async_exit_stack/_async_exit_stack.py", line 208, in __aexit__
    raise exc_details[1]
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/async_exit_stack/_async_exit_stack.py", line 191, in __aexit__
    cb_suppress = await cb(*exc_details)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/yapapi/rest/payment.py", line 90, in __aexit__
    await self._api.release_allocation(self._id)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_payment/api_client.py", line 202, in __call_api
    _request_timeout=_request_timeout,
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_payment/rest.py", line 255, in DELETE
    body=body,
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_payment/rest.py", line 170, in request
    r = await self.pool_manager.request(**args)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/client.py", line 528, in _request
    req, traces=traces, timeout=real_timeout
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 537, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 894, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 1053, in _create_direct_connection
    raise last_exc
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 1034, in _create_direct_connection
    client_error=client_error,
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/connector.py", line 977, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:7465 ssl:default [Connect call failed ('127.0.0.1', 7465)]
Task exception was never retrieved
future: <Task finished coro=<Executor._submit.<locals>.start_worker() done, defined at /Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/yapapi/executor/__init__.py:315> exception=TimeoutError()>
Traceback (most recent call last):
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/yapapi/executor/__init__.py", line 388, in start_worker
    return
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/yapapi/rest/activity.py", line 99, in __aexit__
    await self._api.get_exec_batch_results(self._id, batch_id, timeout=1.0)
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_activity/api_client.py", line 201, in __call_api
    _request_timeout=_request_timeout,
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_activity/rest.py", line 198, in GET
    query_params=query_params,
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/ya_activity/rest.py", line 173, in request
    data = await r.read()
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 1032, in read
    self._body = await self.content.read()
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/streams.py", line 371, in read
    block = await self.readany()
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/streams.py", line 393, in readany
    await self._wait("readany")
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/streams.py", line 307, in _wait
    await waiter
  File "/Users/mwu-gol/src/golem-project/yapapi/.venv/lib/python3.6/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError

activity creation error reported

Blue - macos/mojave+JS+0.3.0-alpha.3 - activity creation error reported

2021-01-28 12:43:23 [yajsapi] error: Failed to create activity for agreement aeb361f905777271c97b6d69d48b30e1e055ad4ef9a55dac8821f0769bff91ac: Error: Request failed with status code 400
2021-01-28 12:43:23 [yajsapi] error: Worker finished with error: Error: Request failed with status code 400

remove payment init -r from handbook

Asignee: BlueShade

remove payment init -r from handbook

Also add instructions to call status untill daemon is alive

if its not working, restart daemon or call payment init -r ( OPTIONAL, maybe better to contact us on discord )

after hitting ctrl c, yagna needed a restart

Asignee: etam prekucki
Reporter: ederenn

NOTE ( GJ ): Closing it for now as 'wont fix' since we can not reproduce, lets create a new issue / card if we can reproduce it

ederenn: windows yagna logs, possibly after hitting ctrl c (in requestor's terminal) when requesting , yagna needed a restart

[2020-11-19T12:07:53Z INFO  ya_market::negotiation::requestor] Agreement [R-02f9c30061118e8645f60a1bb96a86569126ccbc670f603cebba983247e0fe59] approved by [0xa60b34d480df89df08bfa5292ed275edcb9f969a].
[2020-11-19T12:07:58Z INFO  ya_market::matcher] Unsubscribed Demand: [d424ef7dcc6d4da7a57d341975c2ac40-81b7ee96a8646021c091012d9befb69f3406c2b991eecdec5f1823c8964d0150] using identity: requestor [0x3a302c383de50002c1a33b5abc97565294fef291]
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:07:58Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:08:13Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:08:15Z WARN  ya_service_bus::connection] undelivered reply: send failed because receiver is gone
[2020-11-19T12:08:31Z INFO  ya_zksync_driver::driver] Processing 1 Payments for node_id=0x3a302c383de50002c1a33b5abc97565294fef291
[2020-11-19T12:08:33Z INFO  ya_zksync_driver::zksync::wallet] Created zksync transaction with hash=339af433e75b05f1e9c7d171bd780c4cae984b9675c2d65ddc3ed69bd36cc508

inconsistent payment amounts reported by yaXapi and yagna

I've requested a blender example three times (two via yapapi and one via yajsapi).
Here's the requestor account https://rinkeby.zkscan.io/explorer/accounts/0x874d6a0f8c2359511ff1adc68453e8f22129186e

Pls look into blender-yapapi.log from second yapapi run. It contains invoice amounted for 0.05836067028861111 tGLM paid to 0xd95ed5e242b69faf4a535d9f1f978a739df37913 @ 2021-01-27 17:02:30, which has transaction amounted for GNT 0.00888890363...

Here is Provider (0xd95ed5e242b69faf4a535d9f1f978a739df37913) payment.db (renamed to .txt because GH refuses .db).
And here is Requestor (0x874d6a0f8c2359511ff1adc68453e8f22129186e) payment.db.

[2021-01-27 17:02:30,053 DEBUG ya_payment.rest] response body: b'{"invoiceId":"b52a8aed-b5ed-4bcd-bd4e-a5e9989cdafd","issuerId":"0xd95ed5e242b69faf4a535d9f1f978a739df37913","recipientId":"0x874d6a0f8c2359511ff1adc68453e8f22129186e","payeeAddr":"0xd95ed5e242b69faf4a535d9f1f978a739df37913","payerAddr":"0x874d6a0f8c2359511ff1adc68453e8f22129186e","paymentPlatform":"zksync-rinkeby-tglm","timestamp":"2021-01-27T16:02:29.050Z","agreementId":"16b82dd777a99aaf139f5f2a4d194d6175f827f5839f3e4abf4b7fa0a3c62eae","activityIds":["83b562b1b4e142e6af63dad5e19f1d21"],"amount":"0.05836067028861111","paymentDueDate":"2021-01-27T16:02:29.036870215Z","status":"RECEIVED"}'
[2021-01-27 17:02:30,054 DEBUG ya_payment.rest] request: {'method': 'POST', 'url': 'http://127.0.0.1:7465/payment-api/v1/invoices/b52a8aed-b5ed-4bcd-bd4e-a5e9989cdafd/accept', 'timeout': 300, 'headers': {'Accept': 'application/json', 'Content-Type': 'application/json', 'authorization': 'Bearer 4a3a3dcda41e4451a64748ea500b9f65', 'User-Agent': 'OpenAPI-Generator//python'}, 'data': '{"totalAmountAccepted": "0.05836067028861111", "allocationId": "8a716e80-1b9d-421d-959b-3c4524e0fed9"}'}
[2021-01-27 17:02:30,054 DEBUG yapapi.events] InvoiceReceived(agr_id='16b82dd777a99aaf139f5f2a4d194d6175f827f5839f3e4abf4b7fa0a3c62eae', inv_id='b52a8aed-b5ed-4bcd-bd4e-a5e9989cdafd', amount='0.05836067028861111')
[2021-01-27 17:02:30,145 DEBUG ya_payment.rest] response body: b'null'
[2021-01-27 17:02:30,146 DEBUG yapapi.rest.payment] Received invoice event: {'event_date': datetime.datetime(2021, 1, 27, 16, 2, 29, 150000, tzinfo=tzutc()),
 'invoice_id': '69a72936-add1-407b-978e-da893c0f0de3'}, type: <class 'yapapi.rest.configuration._InvoiceReceivedEventWithDate'>
[2021-01-27 17:02:30,146 DEBUG ya_payment.rest] request: {'method': 'GET', 'url': 'http://127.0.0.1:7465/payment-api/v1/invoices/69a72936-add1-407b-978e-da893c0f0de3', 'timeout': 300, 'headers': {'Accept': 'application/json', 'authorization': 'Bearer 4a3a3dcda41e4451a64748ea500b9f65', 'User-Agent': 'OpenAPI-Generator//python', 'Content-Type': 'application/json'}}
[2021-01-27 17:02:30,146 DEBUG yapapi.events] PaymentAccepted(agr_id='16b82dd777a99aaf139f5f2a4d194d6175f827f5839f3e4abf4b7fa0a3c62eae', inv_id='b52a8aed-b5ed-4bcd-bd4e-a5e9989cdafd', amount='0.05836067028861111')

Logs from example runs

yapapi #1

dan:~/yapapi/examples/blender b0.5 (ab1bd99)$ yagna app-key create 2rec
4a3a3dcda41e4451a64748ea500b9f65
dan:~/yapapi/examples/blender b0.5 (ab1bd99)$ YAGNA_APPKEY=$(yagna app-key list --json | jq -r .values[0][1]) python blender.py --subnet-tag 2rec-ederenn
[2021-01-27 16:56:34,348 INFO yapapi.executor] Using log file `blender-yapapi.log`; in case of errors look for additional information there
yapapi version: 0.5.0a1
Using subnet: 2rec-ederenn, payment driver: zksync, and network: rinkeby
[2021-01-27 16:56:35,961 INFO yapapi.summary] Received proposals from 1 providers so far
[2021-01-27 16:56:36,007 INFO yapapi.summary] Received proposals from 2 providers so far
[2021-01-27 16:56:37,760 INFO yapapi.summary] Agreement proposed to provider 'friendly-error'
[2021-01-27 16:56:37,934 INFO yapapi.summary] Agreement confirmed by provider 'friendly-error'
[2021-01-27 16:56:38,951 INFO yapapi.summary] Task sent to provider 'friendly-error', task data: 0
[2021-01-27 16:56:39,944 INFO yapapi.summary] Agreement proposed to provider '2rec-v0.6a3@awokado'
[2021-01-27 16:56:40,070 INFO yapapi.summary] Agreement confirmed by provider '2rec-v0.6a3@awokado'
[2021-01-27 16:56:41,084 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 10
[2021-01-27 16:58:34,821 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 10
Task computed: Task(id=2, data=10), result: output_10.png, time: 0:01:53.831760
[2021-01-27 16:58:34,915 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 20
[2021-01-27 16:58:37,513 INFO yapapi.summary] Task computed by provider 'friendly-error', task data: 0
Task computed: Task(id=1, data=0), result: output_0.png, time: 0:01:58.659973
[2021-01-27 16:58:37,557 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 20
Task computed: Task(id=3, data=20), result: output_20.png, time: 0:00:02.735782
[2021-01-27 16:58:37,646 INFO yapapi.summary] Task sent to provider 'friendly-error', task data: 30
[2021-01-27 16:58:37,691 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 40
[2021-01-27 16:58:40,356 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 40
Task computed: Task(id=5, data=40), result: output_40.png, time: 0:00:02.799093
[2021-01-27 16:58:40,462 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 50
[2021-01-27 16:58:40,898 INFO yapapi.summary] Task computed by provider 'friendly-error', task data: 30
Task computed: Task(id=4, data=30), result: output_30.png, time: 0:00:03.385126
[2021-01-27 16:58:43,249 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 50
Task computed: Task(id=6, data=50), result: output_50.png, time: 0:00:02.893267
[2021-01-27 16:58:43,253 INFO yapapi.summary] Computation finished in 127.9s
[2021-01-27 16:58:43,254 INFO yapapi.summary] Negotiated 2 agreements with 2 providers
[2021-01-27 16:58:43,254 INFO yapapi.summary] Provider '2rec-v0.6a3@awokado' computed 4 tasks
[2021-01-27 16:58:43,254 INFO yapapi.summary] Provider 'friendly-error' computed 2 tasks
[2021-01-27 16:58:47,829 INFO yapapi.summary] Total cost: 0.19912471709361113
[2021-01-27 16:58:47,830 INFO yapapi.summary] Executor shut down, total time: 132.5s

yapapi #2

dan:~/yapapi/examples/blender b0.5 (ab1bd99)$ YAGNA_APPKEY=$(yagna app-key list --json | jq -r .values[0][1]) python blender.py --subnet-tag 2rec-ederenn
[2021-01-27 17:01:59,989 INFO yapapi.executor] Using log file `blender-yapapi.log`; in case of errors look for additional information there
yapapi version: 0.5.0a1
Using subnet: 2rec-ederenn, payment driver: zksync, and network: rinkeby
[2021-01-27 17:02:01,124 INFO yapapi.summary] Received proposals from 1 providers so far
[2021-01-27 17:02:01,168 INFO yapapi.summary] Received proposals from 2 providers so far
[2021-01-27 17:02:02,908 INFO yapapi.summary] Agreement proposed to provider 'friendly-error'
[2021-01-27 17:02:03,076 INFO yapapi.summary] Agreement confirmed by provider 'friendly-error'
[2021-01-27 17:02:04,099 INFO yapapi.summary] Task sent to provider 'friendly-error', task data: 0
[2021-01-27 17:02:05,087 INFO yapapi.summary] Agreement proposed to provider '2rec-v0.6a3@awokado'
[2021-01-27 17:02:05,219 INFO yapapi.summary] Agreement confirmed by provider '2rec-v0.6a3@awokado'
[2021-01-27 17:02:06,196 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 10
[2021-01-27 17:02:12,091 INFO yapapi.summary] Task computed by provider 'friendly-error', task data: 0
Task computed: Task(id=1, data=0), result: output_0.png, time: 0:00:08.089881
[2021-01-27 17:02:12,189 INFO yapapi.summary] Task sent to provider 'friendly-error', task data: 20
[2021-01-27 17:02:12,825 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 10
Task computed: Task(id=2, data=10), result: output_10.png, time: 0:00:06.727637
[2021-01-27 17:02:12,927 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 30
[2021-01-27 17:02:15,464 INFO yapapi.summary] Task computed by provider 'friendly-error', task data: 20
Task computed: Task(id=3, data=20), result: output_20.png, time: 0:00:03.373779
[2021-01-27 17:02:15,556 INFO yapapi.summary] Task sent to provider 'friendly-error', task data: 40
[2021-01-27 17:02:15,648 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 30
Task computed: Task(id=4, data=30), result: output_30.png, time: 0:00:02.822308
[2021-01-27 17:02:15,837 INFO yapapi.summary] Task sent to provider '2rec-v0.6a3@awokado', task data: 50
[2021-01-27 17:02:18,544 INFO yapapi.summary] Task computed by provider '2rec-v0.6a3@awokado', task data: 50
Task computed: Task(id=6, data=50), result: output_50.png, time: 0:00:02.897004
[2021-01-27 17:02:18,902 INFO yapapi.summary] Task computed by provider 'friendly-error', task data: 40
Task computed: Task(id=5, data=40), result: output_40.png, time: 0:00:03.437631
[2021-01-27 17:02:18,904 INFO yapapi.summary] Computation finished in 18.2s
[2021-01-27 17:02:18,904 INFO yapapi.summary] Negotiated 2 agreements with 2 providers
[2021-01-27 17:02:18,904 INFO yapapi.summary] Provider 'friendly-error' computed 3 tasks
[2021-01-27 17:02:18,904 INFO yapapi.summary] Provider '2rec-v0.6a3@awokado' computed 3 tasks
[2021-01-27 17:02:30,249 INFO yapapi.summary] Total cost: 0.10196467530555556
[2021-01-27 17:02:30,249 INFO yapapi.summary] Executor shut down, total time: 29.5s

Debug logs for this
blender-yapapi.log

yajsapi #2

dan:~/yajsapi/examples b0.3 (753e903)$ YAGNA_APPKEY=$(yagna app-key list --json | jq -r .values[0][1]) yarn js:blender -d --subnet-tag 2rec-ederenn
yarn run v1.22.10
$ node ./blender/blender.js -d --subnet-tag 2rec-ederenn
Using subnet: 2rec-ederenn
2021-01-27 17:09:49 [yajsapi] debug: Using image repository: _girepo._tcp.dev.golem.network -> http://yacn.dev.golem.network:8000.
2021-01-27 17:09:49 [yajsapi] debug: Creating allocation using payment platform zksync-rinkeby-tglm
2021-01-27 17:09:50 [yajsapi] info: GFTP Version:0.6.0-rc2 (635fac0e 2021-01-26 build #104)
2021-01-27 17:09:50 [yajsapi] debug: Scoring offer R-862c2ff4462377a6ed136f52aa8051ee0d831f3666c52615675a2611aa2c0869, parameters: [object Object]
2021-01-27 17:09:50 [yajsapi] debug: Scored offer R-862c2ff4462377a6ed136f52aa8051ee0d831f3666c52615675a2611aa2c0869, provider: 2rec-v0.6a3@awokado, strategy: LeastExpensiveLinearPayuMS, score: 90.09009009009009
2021-01-27 17:09:50 [yajsapi] debug: Scoring offer R-12958195626b2528a8259d9c0cde91bf3ade5acfd92c6a67f659e24948d3ec72, parameters: [object Object]
2021-01-27 17:09:50 [yajsapi] debug: Scored offer R-12958195626b2528a8259d9c0cde91bf3ade5acfd92c6a67f659e24948d3ec72, provider: friendly-error, strategy: LeastExpensiveLinearPayuMS, score: 90.09009009009009
2021-01-27 17:09:50 [yajsapi] debug: Scoring offer R-11639ad5b49fde8f958f616fa7f801bbb15208e22176f62bed2a81b235c51e0d, parameters: [object Object]
2021-01-27 17:09:50 [yajsapi] debug: Scored offer R-11639ad5b49fde8f958f616fa7f801bbb15208e22176f62bed2a81b235c51e0d, provider: 2rec-v0.6a3@awokado, strategy: LeastExpensiveLinearPayuMS, score: 90.09009009009009
2021-01-27 17:09:50 [yajsapi] debug: Scoring offer R-31e9641928830e74df2c82ca31749421df22b4a24e06e21292ff41b9603ea38b, parameters: [object Object]
2021-01-27 17:09:50 [yajsapi] debug: Scored offer R-31e9641928830e74df2c82ca31749421df22b4a24e06e21292ff41b9603ea38b, provider: friendly-error, strategy: LeastExpensiveLinearPayuMS, score: 90.09009009009009
2021-01-27 17:09:51 [yajsapi] info: Demand published on the market
2021-01-27 17:09:51 [yajsapi] info: Received proposals from 1 providers so far
2021-01-27 17:09:51 [yajsapi] info: Received proposals from 2 providers so far
2021-01-27 17:09:53 [yajsapi] info: Agreement proposed to provider '2rec-v0.6a3@awokado'
2021-01-27 17:09:53 [yajsapi] info: Agreement confirmed by provider '2rec-v0.6a3@awokado'
2021-01-27 17:09:53 [yajsapi] info: Task sent to provider '2rec-v0.6a3@awokado', task data: 50
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       0        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
2021-01-27 17:09:55 [yajsapi] info: Agreement proposed to provider 'friendly-error'
2021-01-27 17:09:55 [yajsapi] info: Agreement confirmed by provider 'friendly-error'
2021-01-27 17:09:57 [yajsapi] info: Task sent to provider 'friendly-error', task data: 40
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       0        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       0        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
2021-01-27 17:10:01 [yajsapi] info: Task computed by provider '2rec-v0.6a3@awokado', task data: 50
2021-01-27 17:10:01 [yajsapi] debug: Prepared payment for agreement c49a265836549f2f3
2021-01-27 17:10:01 [yajsapi] debug: Queued payment for agreement c49a265836549f2f3
2021-01-27 17:10:01 [yajsapi] info: Task sent to provider '2rec-v0.6a3@awokado', task data: 30
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       1        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       0        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
result= output_50.png
result= output_30.png
result= output_40.png
2021-01-27 17:10:05 [yajsapi] info: Task computed by provider '2rec-v0.6a3@awokado', task data: 30
2021-01-27 17:10:05 [yajsapi] debug: Prepared payment for agreement c49a265836549f2f3
2021-01-27 17:10:05 [yajsapi] debug: Queued payment for agreement c49a265836549f2f3
2021-01-27 17:10:05 [yajsapi] info: Task sent to provider '2rec-v0.6a3@awokado', task data: 20
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       2        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       0        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
2021-01-27 17:10:05 [yajsapi] info: Task computed by provider 'friendly-error', task data: 40
2021-01-27 17:10:05 [yajsapi] debug: Prepared payment for agreement b36f995becf3cbd18
2021-01-27 17:10:05 [yajsapi] debug: Queued payment for agreement b36f995becf3cbd18
2021-01-27 17:10:05 [yajsapi] info: Task sent to provider 'friendly-error', task data: 10
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       2        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       1        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
2021-01-27 17:10:07 [yajsapi] info: Task computed by provider '2rec-v0.6a3@awokado', task data: 20
2021-01-27 17:10:07 [yajsapi] debug: Prepared payment for agreement c49a265836549f2f3
2021-01-27 17:10:07 [yajsapi] debug: Queued payment for agreement c49a265836549f2f3
2021-01-27 17:10:07 [yajsapi] info: Task sent to provider '2rec-v0.6a3@awokado', task data: 0
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       3        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       1        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
result= output_20.png
result= output_10.png
2021-01-27 17:10:09 [yajsapi] info: Task computed by provider 'friendly-error', task data: 10
2021-01-27 17:10:09 [yajsapi] debug: Prepared payment for agreement b36f995becf3cbd18
2021-01-27 17:10:09 [yajsapi] debug: Queued payment for agreement b36f995becf3cbd18
2021-01-27 17:10:10 [yajsapi] info: worker-1: no more frames to render
2021-01-27 17:10:10 [yajsapi] info: worker-0: no more frames to render
result= output_0.png
2021-01-27 17:10:11 [yajsapi] debug: terminateAgreement(b36f995becf3cbd18d719a3784fbd414bf03c5a7554242e941eb349a9d0414e8) returned successfully
2021-01-27 17:10:11 [yajsapi] debug: Scoring offer R-301cb82e9c55ea41d09f8c65c11430c3a6cdef8a5ff46df2d9c9f3a59ed584f1, parameters: [object Object]
2021-01-27 17:10:11 [yajsapi] debug: Scored offer R-301cb82e9c55ea41d09f8c65c11430c3a6cdef8a5ff46df2d9c9f3a59ed584f1, provider: friendly-error, strategy: LeastExpensiveLinearPayuMS, score: 90.09009009009009
2021-01-27 17:10:11 [yajsapi] debug: terminateAgreement(c49a265836549f2f303967acba8a953468453b312a79248b093e8f4128d4b9ec) returned successfully
2021-01-27 17:10:11 [yajsapi] debug: Received invoice event: {"invoiceId":"8d2782e2-cc74-43ee-88ff-532ce5e10367","eventDate":"2021-01-27T16:10:11.246Z","eventType":"InvoiceReceivedEvent"}, type: {}
2021-01-27 17:10:11 [yajsapi] info: Task computed by provider '2rec-v0.6a3@awokado', task data: 0
2021-01-27 17:10:11 [yajsapi] debug: Prepared payment for agreement c49a265836549f2f3
2021-01-27 17:10:11 [yajsapi] debug: Queued payment for agreement c49a265836549f2f3
2021-01-27 17:10:11 [yajsapi] debug: Prepared payment for agreement b36f995becf3cbd18
2021-01-27 17:10:11 [yajsapi] debug: Queued payment for agreement b36f995becf3cbd18
2021-01-27 17:10:11 [yajsapi] debug: Prepared payment for agreement c49a265836549f2f3
2021-01-27 17:10:11 [yajsapi] debug: Queued payment for agreement c49a265836549f2f3
2021-01-27 17:10:11 [yajsapi] info: Computation finished in 20.0s
2021-01-27 17:10:11 [yajsapi] info: Negotiated 2 agreements with 2 providers
2021-01-27 17:10:11 [yajsapi] info: Provider '2rec-v0.6a3@awokado' computed 4 tasks
2021-01-27 17:10:11 [yajsapi] info: Provider 'friendly-error' computed 2 tasks
┌─────────┬───────────────────────┬────────────────┬────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost        │
├─────────┼───────────────────────┼────────────────┼────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ '0 (no invoices?)' │
│    1    │   'friendly-error'    │       2        │ '0 (no invoices?)' │
└─────────┴───────────────────────┴────────────────┴────────────────────┘
2021-01-27 17:10:11 [yajsapi] debug: Received an invoice from friendly-error. Amount: 0.03221546358222222; (so far: 0.03221546358222222 from this provider).
┌─────────┬───────────────────────┬────────────────┬─────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost         │
├─────────┼───────────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ '0 (no invoices?)'  │
│    1    │   'friendly-error'    │       2        │ 0.03221546358222222 │
└─────────┴───────────────────────┴────────────────┴─────────────────────┘
2021-01-27 17:10:11 [yajsapi] debug: Received invoice event: {"invoiceId":"cc4dbab5-ce5f-4e7f-8f07-02c008a23ccf","eventDate":"2021-01-27T16:10:11.247Z","eventType":"InvoiceReceivedEvent"}, type: {}
2021-01-27 17:10:13 [yajsapi] info: Accepted payment: 0.03221546358222222 for invoice 8d2782e2-cc74-43e
2021-01-27 17:10:13 [yajsapi] debug: Received an invoice from 2rec-v0.6a3@awokado. Amount: 0.07446391462138889; (so far: 0.07446391462138889 from this provider).
┌─────────┬───────────────────────┬────────────────┬─────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost         │
├─────────┼───────────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ 0.07446391462138889 │
│    1    │   'friendly-error'    │       2        │ 0.03221546358222222 │
└─────────┴───────────────────────┴────────────────┴─────────────────────┘
2021-01-27 17:10:13 [yajsapi] info: Accepted payment: 0.07446391462138889 for invoice cc4dbab5-ce5f-4e7
┌─────────┬───────────────────────┬────────────────┬─────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost         │
├─────────┼───────────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ 0.07446391462138889 │
│    1    │   'friendly-error'    │       2        │ 0.03221546358222222 │
└─────────┴───────────────────────┴────────────────┴─────────────────────┘
┌─────────┬───────────────────────┬────────────────┬─────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost         │
├─────────┼───────────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ 0.07446391462138889 │
│    1    │   'friendly-error'    │       2        │ 0.03221546358222222 │
└─────────┴───────────────────────┴────────────────┴─────────────────────┘
2021-01-27 17:10:31 [yajsapi] info: Finished waiting for payments. Summary:
┌─────────┬───────────────────────┬────────────────┬─────────────────────┐
│ (index) │     Provider Name     │ Tasks Computed │        Cost         │
├─────────┼───────────────────────┼────────────────┼─────────────────────┤
│    0    │ '2rec-v0.6a3@awokado' │       4        │ 0.07446391462138889 │
│    1    │   'friendly-error'    │       2        │ 0.03221546358222222 │
└─────────┴───────────────────────┴────────────────┴─────────────────────┘
2021-01-27 17:10:31 [yajsapi] info: Total Cost: 0.10667937820361112
2021-01-27 17:10:32 [yajsapi] debug: GFTP server closed, code=null
✨  Done in 45.31s.

awokado:~$ yagna payment status
┌────────────────────┬──────────────────────┬────────────┬─────────────┬────────────────────────────┬────────────┐
│  platform          │  total amount        │  reserved  │  amount     │  incoming                  │  outgoing  │
├────────────────────┼──────────────────────┼────────────┼─────────────┼────────────────────────────┼────────────┤
│  driver: zksync    │  0.12140864314 tGLM  │  0 tGLM    │  accepted   │  0.25030663228861110 tGLM  │  0 tGLM    │
│  network: rinkeby  │                      │            │  confirmed  │  0.12140864311722220 tGLM  │  0 tGLM    │
│  token: tGLM       │                      │            │  requested  │  0.25030663228861110 tGLM  │  0 tGLM    │
└────────────────────┴──────────────────────┴────────────┴─────────────┴────────────────────────────┴────────────┘
awokado:~$ yagna payment status --json
{
  "amount": "0.12140864314",
  "driver": "zksync",
  "incoming": {
    "accepted": {
      "agreementsCount": 3,
      "totalAmount": "0.25030663228861110"
    },
    "confirmed": {
      "agreementsCount": 3,
      "totalAmount": "0.12140864311722220"
    },
    "requested": {
      "agreementsCount": 3,
      "totalAmount": "0.25030663228861110"
    }
  },
  "network": "rinkeby",
  "outgoing": {
    "accepted": {
      "agreementsCount": 0,
      "totalAmount": "0"
    },
    "confirmed": {
      "agreementsCount": 0,
      "totalAmount": "0"
    },
    "requested": {
      "agreementsCount": 0,
      "totalAmount": "0"
    }
  },
  "reserved": "0",
  "token": "tGLM"
}

yajsapi - logs after ctrl+c, already released to shell

ederenn - Windows 10 +js - yajsapi - logs after ctrl+c, already released to shell (attach blender-yapapi.log)

```jsx
┌─────────┬──────────────┬───────────────┬────────────────┬────────────────────┐
│ (index) │  Agreement   │ Provider Name │ Tasks Computed │        Cost        │
├─────────┼──────────────┼───────────────┼────────────────┼────────────────────┤
│    0    │ '338541f176' │  'michal.4'   │       0        │ '0 (no invoices?)' │
│    1    │ 'dc24c0a7b5' │    'mf.4'     │       0        │ '0 (no invoices?)' │
└─────────┴──────────────┴───────────────┴────────────────┴────────────────────┘
Terminate batch job (Y/N)? 2021-01-28 12:41:46 [yajsapi] error: Computation interrupted by the user.
y

C:\Users\ederenn\Projects\yajsapi\examples>2021-01-28 12:42:08 [yajsapi] debug: GFTP server closed, code=null

C:\Users\ederenn\Projects\yajsapi\examples>2021-01-28 12:43:15 [yajsapi] debug: waitForApproval(8412aacd30870e03a34262b44f7fd59f9feaa5a376d07b91e423482f8d099713) raised ApiException Error: Request failed with status code 408
2021-01-28 12:43:49 [yajsapi] debug: terminateAgreement(338541f17635437807bdcf9e4b97f9b3d87242e45552efb70ab8ea913251daaa) raised ApiException: status = 410, message = Request failed with status code 410
2021-01-28 12:43:50 [yajsapi] debug: terminateAgreement(dc24c0a7b5fb77fbc74c25841e02e43beeae3f7824fa684b78b30915eb402e4e) raised ApiException: status = 410, message = Request failed with status code 410
```

yajsapi - some logs printed after return to shell after ctrl+c

Etam - linux+js - some logs printed after return to shell after ctrl+c

2020-11-30 11:53:51 [yajsapi] info: Received proposals from 8 providers so far
^C
etam@0fd751d2d5d3:~/yajsapi/examples> 2020-11-30 11:53:52 [yajsapi] error: Unexpected token u in JSON at position 0
2020-11-30 11:53:53 [yajsapi] error: fail= undefined
2020-11-30 11:54:05 [yajsapi] debug: GFTP server closed, code=SIGINT

requestor agent still didn't negotiate any offers

Asignee: BlueShade

yagna logs contain a warning and the requestor agent still didn't negotiate any offers after several minutes (maybe bogus/unrelated)

[2020-11-19T12:37:20Z WARN  ya_market::matcher::cyclic] Failed to send random subscriptions bcast. Error: Failed to broadcast caused by gsb error: GSB failure: broadcast send failure Called service `broadcasting market-protocol-discovery-mk1-offers` is unavailable.

Executor shut down before the computation finished

Asignee: Artur Zawłocki
Reporter: BlueShade, Phillip Jensen

NOTE (GJ): We suspect this has something to do with exe-unit failing, please investigate and re-assign if required

blue - osx mojave+python/blender+Python 3.8.5 - Executor shut down before the computation finished (attach yapapi-blender.log)

blender-yapapi (1).log

```jsx
$ python3 blender.py
Adding /Users/blue/yapapi/examples to sys.path.
[2020-11-26 13:06:49,498 INFO yapapi.executor] Using log file `blender-yapapi.log`; in case of errors look for additional information there
yapapi version: 0.4.0a4
Using subnet: community.3
[2020-11-26 13:06:52,295 INFO yapapi.summary] Demand published on the market
[2020-11-26 13:07:12,267 WARNING yapapi.summary] 23 offers have been collected from the market, but no provider has responded for 20s. Make sure you're using the latest released versions of yagna and yapapi, and the correct subnet.
[2020-11-26 13:07:18,903 INFO yapapi.summary] Received proposals from 1 providers so far
[2020-11-26 13:07:19,762 INFO yapapi.summary] Received proposals from 2 providers so far
[2020-11-26 13:07:19,848 INFO yapapi.summary] Received proposals from 3 providers so far
[2020-11-26 13:07:20,370 INFO yapapi.summary] Agreement proposed to provider 'jamuszyn'
[2020-11-26 13:07:23,868 INFO yapapi.summary] Agreement confirmed by provider 'jamuszyn'
[2020-11-26 13:07:24,945 INFO yapapi.summary] Task sent to provider 'jamuszyn', task data: 0
[2020-11-26 13:07:25,892 INFO yapapi.summary] Agreement proposed to provider 'friendly-error'
[2020-11-26 13:07:36,861 INFO yapapi.summary] Task computed by provider 'jamuszyn', task data: 0
Task computed: Task(id=1, data=0), result: output_0.png, time: 0:00:12.081401
[2020-11-26 13:07:37,269 INFO yapapi.summary] Task sent to provider 'jamuszyn', task data: 10
[2020-11-26 13:07:44,055 INFO yapapi.summary] Task computed by provider 'jamuszyn', task data: 10
Task computed: Task(id=2, data=10), result: output_10.png, time: 0:00:07.173038
[2020-11-26 13:07:44,389 INFO yapapi.summary] Task sent to provider 'jamuszyn', task data: 20
[2020-11-26 13:07:54,888 INFO yapapi.summary] Task computed by provider 'jamuszyn', task data: 20
[2020-11-26 13:07:54,934 INFO yapapi.summary] Received proposals from 3 providers so far
Task computed: Task(id=3, data=20), result: output_20.png, time: 0:00:10.793051
[2020-11-26 13:07:55,203 INFO yapapi.executor] Waiting for 1 workers to finish...
[2020-11-26 13:07:55,432 ERROR yapapi.summary] Computation failed, reason: [Errno 54] Connection reset by peer
[2020-11-26 13:07:58,549 INFO yapapi.executor] Waiting for all services to finish...
[2020-11-26 13:07:59,612 INFO yapapi.summary] Executor shut down, total time: 67.8s
```

- [ ]  Phillip - OSx Catalina 10.15.7+lib+ Python 3.8.0 (if applicable) - No results, just hanging (attach `yapapi-blender.log`)

blender-yapapi (2).log

yapapi - few seconds. = 30 seconds

Asignee: Artur Zawłocki
Reporter: etam ederenn

Etam lin-py: after ctrl+c "please wait a few seconds" is actually about 30 seconds

ederenn - Win 10+py+Python 3.8.6 - after ctrl c finished properly with a graceful shutdown, but waiting time was around half a minute, may need change wording

[2020-11-25 13:19:15,257 INFO yapapi.summary] Task sent to provider 'manchester.3', task data: 30
Shutting down gracefully, please wait a few seconds or press Ctrl+C to exit immediately...
[2020-11-25 13:19:18,964 ERROR yapapi.summary] Computation failed, reason: CancelledError()
^C[2020-11-25 13:20:06,039 INFO yapapi.summary] Executor shut down
Shutdown completed, thank you for waiting!

minor yapapi - no detailed payment logs

2rec - macOS+py+Python 3.8.6 - no detailed payments logs (attached blender-yapapi.log)

blender-yapapi.log

[2020-11-30 13:27:09,565 INFO yapapi.executor] Using log file `blender-yapapi.log`; in case of errors look for additional information there
yapapi version: 0.4.0a4
Using subnet: community.3
[2020-11-30 13:27:10,538 INFO yapapi.summary] Demand published on the market
[2020-11-30 13:27:12,591 INFO yapapi.summary] Received proposals from 1 providers so far
[2020-11-30 13:27:12,593 INFO yapapi.summary] Received proposals from 2 providers so far
[2020-11-30 13:27:12,593 INFO yapapi.summary] Received proposals from 3 providers so far
[2020-11-30 13:27:12,655 INFO yapapi.summary] Received proposals from 4 providers so far
[2020-11-30 13:27:12,702 INFO yapapi.summary] Received proposals from 5 providers so far
[2020-11-30 13:27:12,746 INFO yapapi.summary] Received proposals from 6 providers so far
[2020-11-30 13:27:12,816 INFO yapapi.summary] Received proposals from 7 providers so far
[2020-11-30 13:27:13,191 INFO yapapi.summary] Received proposals from 8 providers so far
[2020-11-30 13:27:13,418 INFO yapapi.summary] Received proposals from 9 providers so far
[2020-11-30 13:27:14,553 INFO yapapi.summary] Agreement proposed to provider 'whirlwind.3'
[2020-11-30 13:27:14,845 INFO yapapi.summary] Agreement confirmed by provider 'whirlwind.3'
[2020-11-30 13:27:15,850 INFO yapapi.summary] Task sent to provider 'whirlwind.3', task data: 0
[2020-11-30 13:27:16,863 INFO yapapi.summary] Agreement proposed to provider 'manchester.3'
[2020-11-30 13:27:20,692 INFO yapapi.summary] Agreement confirmed by provider 'manchester.3'
[2020-11-30 13:27:21,711 INFO yapapi.summary] Task sent to provider 'manchester.3', task data: 10
[2020-11-30 13:27:22,704 INFO yapapi.summary] Agreement proposed to provider 'ferranti.3'
[2020-11-30 13:27:24,705 INFO yapapi.summary] Agreement confirmed by provider 'ferranti.3'
[2020-11-30 13:27:25,687 INFO yapapi.summary] Task sent to provider 'ferranti.3', task data: 20
[2020-11-30 13:27:25,734 INFO yapapi.summary] Task computed by provider 'whirlwind.3', task data: 0
Task computed: Task(id=1, data=0), result: output_0.png, time: 0:00:09.983682
[2020-11-30 13:27:25,871 INFO yapapi.summary] Task sent to provider 'whirlwind.3', task data: 30
[2020-11-30 13:27:30,165 INFO yapapi.summary] Task computed by provider 'manchester.3', task data: 10
Task computed: Task(id=2, data=10), result: output_10.png, time: 0:00:08.554350
[2020-11-30 13:27:30,252 INFO yapapi.summary] Task sent to provider 'manchester.3', task data: 40
[2020-11-30 13:27:31,863 INFO yapapi.summary] Task computed by provider 'whirlwind.3', task data: 30
Task computed: Task(id=4, data=30), result: output_30.png, time: 0:00:06.128239
[2020-11-30 13:27:32,002 INFO yapapi.summary] Task sent to provider 'whirlwind.3', task data: 50
[2020-11-30 13:27:34,908 INFO yapapi.summary] Task computed by provider 'ferranti.3', task data: 20
Task computed: Task(id=3, data=20), result: output_20.png, time: 0:00:09.332370
[2020-11-30 13:27:35,529 INFO yapapi.summary] Task computed by provider 'manchester.3', task data: 40
Task computed: Task(id=5, data=40), result: output_40.png, time: 0:00:05.363998
[2020-11-30 13:27:38,048 INFO yapapi.summary] Task computed by provider 'whirlwind.3', task data: 50
Task computed: Task(id=6, data=50), result: output_50.png, time: 0:00:06.186399
[2020-11-30 13:27:38,051 INFO yapapi.summary] Computation finished in 27.7s
[2020-11-30 13:27:38,051 INFO yapapi.summary] Negotiated 3 agreements with 3 providers
[2020-11-30 13:27:38,051 INFO yapapi.summary] Provider 'whirlwind.3' computed 3 tasks
[2020-11-30 13:27:38,051 INFO yapapi.summary] Provider 'manchester.3' computed 2 tasks
[2020-11-30 13:27:38,052 INFO yapapi.summary] Provider 'ferranti.3' computed 1 tasks
[2020-11-30 13:27:41,798 INFO yapapi.summary] Total cost: 0.19140724633599998
[2020-11-30 13:27:41,897 INFO yapapi.summary] Executor shut down, total time: 31.5s

yagna activity status is not working

$ yagna -V
yagna 0.6.0-rc2 (635fac0e 2021-01-26 build #104)
$ golemsp status
[2021-01-27T16:02:16Z ERROR golemsp] `running: Command { std: "/home/tworec/.local/share/ya-installer/bundles/golem-provider-linux-pre-rel-v0.6.0-rc2/yagna" "--json" "activity" "status", kill_on_drop: false }` failed: [2021-01-27T16:02:16Z INFO  ya_service_bus::remote_router] trying to connect to: 127.0.0.1:7464
    [2021-01-27T16:02:16Z INFO  ya_service_bus::connection] started connection to gsb
    [2021-01-27T16:02:16Z INFO  ya_service_bus::connection] stopped connection to gsb
    Error: Bad content: Flexbuffer Read Error: UnexpectedFlexbufferType { expected: Map, actual: Key }
    
    Caused by:
        Flexbuffer Read Error: UnexpectedFlexbufferType { expected: Map, actual: Key }
    
$ yagna activity status
Error: Bad content: Flexbuffer Read Error: UnexpectedFlexbufferType { expected: Map, actual: Key }

Caused by:
    Flexbuffer Read Error: UnexpectedFlexbufferType { expected: Map, actual: Key }

failed to create activity

GJ - mac python 3.6 - failed to create activity
[2021-01-14 12:48:58,210 ERROR yapapi.rest] Failed to create activity for agreement 5985baa57bcfbddf81956c4e90eff336b0c0422a388fd1bf136b6c4872af7ae8

[blender-yapapi.log](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c5795cd3-f69d-45fc-ae93-19ed085b5e98/blender-yapapi.log)

faucet error

Asignee: maaktweluit
Reporter: mdt ederenn

REPLY:

Ngnt faucet is known to be slow and buggy, will ( maybe ) be picked up in alpha.4

mdt - mac-yagna yagna payment init -r --driver=ngnt
[2020-11-25T12:30:03Z ERROR ya_gnt_driver::gnt::faucet] Failed to request Eth from Faucet, tried 6 times.: LibraryError("faucet request is queued, try again")

ederenn - Win 10 +py +Python 3.8.6 - yagna payment init -r --driver=ngnt after failing for 6th time yagna demon is hanging

[2020-11-25T12:27:29Z INFO  ya_gnt_driver::gnt::faucet] Waiting for Eth faucet next donation in 60s
[2020-11-25T12:28:29Z WARN  ya_gnt_driver::gnt::faucet] Retrying (5/6) to request Eth from Faucet after failure: LibraryError("faucet request is queued, try again")
[2020-11-25T12:28:32Z INFO  ya_gnt_driver::gnt::faucet] Waiting for Eth faucet next donation in 60s
[2020-11-25T12:29:32Z ERROR ya_gnt_driver::gnt::faucet] Failed to request Eth from Faucet, tried 6 times.: LibraryError("faucet request is queued, try again")

needs a note in common issues or handbook that after failing init -r is needed again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.