seat icon indicating copy to clipboard operation
seat copied to clipboard

How to increase the task timeout time?

Open KinomotoKi opened this issue 5 years ago • 7 comments

When the data is large, always occurs ↓

GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 30000 milliseconds with 282839 out of 452724 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/seat/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:185

Operation timed out after 30000 milliseconds with 282839 out of 452724 bytes received

seems that 30 seconds is not enough to download the data.......

How to modify this 30 seconds?

Looking forward to your answer! o7

KinomotoKi avatar Sep 11 '19 09:09 KinomotoKi

Plus: This happens a lot.

It's all because of 'timed out'.

20190913114242

Operation timed out after 30000 milliseconds with 466955 out of 541659 bytes received Operation timed out after 30000 milliseconds with 282839 out of 542085 bytes received Operation timed out after 30000 milliseconds with 460015 out of 541659 bytes received ......

KinomotoKi avatar Sep 13 '19 03:09 KinomotoKi

Hi @KinomotoKi,

What's your bandwidth? Out of this, you can submit a pr to eseye repo, but 30sec to download 500ko is generally enough 😕

warlof avatar Sep 13 '19 06:09 warlof

Hi @warlof ,

500Mbps downlink bandwidth. But in Asia, our connection to the UK seems to be slow.

Can I modify some settings on the local server to make it run time longer? I don't quite understand 'submit a pr to eseye repo'......

Do you mean to consult again on this page? → https://github.com/eveseat/eseye/issues

KinomotoKi avatar Sep 13 '19 06:09 KinomotoKi

eseye is hardcoded to stop after 30 seconds. to change that you can make a config setting for it and make a pr to the repo

rohimma avatar Sep 13 '19 11:09 rohimma

Hi @rohimma ,

Thank you for your reply, but I am not a professional........ So..... what 'make a pr to the repo' mean? and how to make a config setting for it?

Looking forward to your answer! o7

KinomotoKi avatar Sep 13 '19 12:09 KinomotoKi

will see if i can make a pr for you this weekend, as a temp fix you could do this:

  1. go to the root folder where seat is installed
  2. go to the next file vendor/eveseat/eseye/src/Fetchers/GuzzleFetcher.php
  3. change on line 279 the 30 to a bigger number

rohimma avatar Sep 13 '19 12:09 rohimma

@rohimma , Thank you very much for your reply! I'll try it.~o7

KinomotoKi avatar Sep 13 '19 12:09 KinomotoKi