Jump to content
Ketarin forum

soeka

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by soeka

  1. Actually, this error always occurs whenever there is a newer version update. Nothing has changed. Download dir, variable regex and other variables and configuration never changed (#1, #2).  But still, I always got this error.

    Update & Check for update log:

    12/04/2018 17:58:09: Update started with 1 application(s)
    12/04/2018 17:58:11: Mikrotik CHR (img): Replacing {version} in 'https://download2.mikrotik.com/routeros/{version}/chr-{version}.img.zip' with '6.40.7'
    12/04/2018 17:58:11: Mikrotik CHR (img): Replacing {url} in '{url}' with 'https://download2.mikrotik.com/routeros/6.40.7/chr-6.40.7.img.zip'
    12/04/2018 17:58:11: Mikrotik CHR (img): Using referer: https://mikrotik.com/download
    12/04/2018 17:58:12: Mikrotik CHR (img): Server source file: /routeros/6.40.7/chr-6.40.7.img.zip
    12/04/2018 17:58:12: Mikrotik CHR (img): Determined target file name: D:\Unduhan\Jaringan\Mikrotik\Bugfix\chr-6.40.7.img.zip
    12/04/2018 17:58:12: Mikrotik CHR (img): Checking if update is required...
    12/04/2018 17:58:12: Mikrotik CHR (img): Target file missing, comparing to previously downloaded file at D:\Unduhan\Jaringan\Mikrotik\Bugfix\chr-6.39.3.img.zip
    12/04/2018 17:58:14: Mikrotik CHR (img): Replacing {version} in 'https://download2.mikrotik.com/routeros/{version}/chr-{version}.img.zip' with '6.40.7'
    12/04/2018 17:58:14: Mikrotik CHR (img): Replacing {url} in '(?<=sha256 </b>{url:filename}: )([a-z0-9]{64})' with 'https://download2.mikrotik.com/routeros/6.40.7/chr-6.40.7.img.zip'
    12/04/2018 17:58:14: Mikrotik CHR (img): Replacing {sha256} in '{sha256}' with '9164c1977296ccd92f6267c2be3091b9916dfceab9d8082b25ecd435a4350474'
    12/04/2018 17:58:14: Mikrotik CHR (img): Failed, Could not find file 'D:\Unduhan\Jaringan\Mikrotik\Bugfix\chr-6.40.7.img.zip'.

    Hash matched, I manually multiple check with one listed on the download site.

    Look at the last line. I don't understand. Why is ketarin trying to find a remote file that has not been downloaded locally?

  2. mtk-arm.jpg.1ce8bb146d06f5503e76a87a787b53fd.jpg

    The file exist on the disk, and when new version available, this error always happened when I try to update or check update the application with compare hash option set. I have to force download in order to update. If I remove hash camparison, update or check update work just fine.

    If this not a bug, can someone help me review my config? (mtk-arm.xml), maybe there is something misconfigured.

    Thanks.

  3. Solved.

    It turns out I can get the return value of the api with Invoke-WebRequest, then put the value in textual content and process them with regex.

    This is simple step for anyone who might be interested (all variables are textual content):

    1. Create {api} : Invoke-WebRequest "https://chromium.woolyss.com/api/v3/?os=windows&bit=64&type=stable-codecs-sync&out=string"
    2. Create {apiv} : {api:ps}
    3. Create {version} : {apiv:regex:(?<=version\=)[\d.]+}
    4. Create {url} : {apiv:regex:(?<=download\=)[^;]+}
    5. Done.
  4. Yeah, maybe they force limit based on country as well. Still got randomly disconnected from their server, but not as often as before.

    I also got new type of error:

    The server committed a protocol violation. Section=ResponseStatusLine

    happened just once, its gone on the next update checking.

    Is there any option to interval delay between update / update check globally or individually? I my case this error usually happened on batch update/checking, but not when I do it manually one by one in a certain time interval.

    Thanks a lot..

  5. Windows 8.1 x64
    Ketarin 1.8.8.0 beta

    This error happened a lot when trying to download httpd from apachelounge.com, but sometimes (randomly) it connected and successfully download the file. I've tried changing some setting, but nothing seems to work flawlessly, always random time out and transport connection error.

    Global connection setting set to 10s timeout, 1 parallel, 1 retries, 1 segment. This is the log and see attachment for the ruleset:

    21/08/2017 9:11:44: Update started with 4 application(s)
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Replacing {version} in 'https://www.apachelounge.com/download/VC15/binaries/httpd-{version}-win32-VC15.zip' with '2.4.27'
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Using referer: https://www.apachelounge.com/download/
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Server source file: /download/VC15/binaries/httpd-2.4.27-win32-VC15.zip
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Determined target file name: D:\Unduhan\Pengembang\httpd-2.4.27-win32-VC15.zip
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Checking if update is required...
    21/08/2017 9:11:46: HTTPd - 32bit-vc15: Update required, 'D:\Unduhan\Pengembang\httpd-2.4.27-win32-VC15.zip' does not yet exist
    21/08/2017 9:12:36: HTTPd - 32bit-vc15: Failed, Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    21/08/2017 9:12:46: HTTPd - 64bit-vc15 (sig): Failed, The operation has timed out
    21/08/2017 9:12:57: HTTPd - 32bit-vc15 (sig): Failed, The operation has timed out
    21/08/2017 9:13:07: HTTPd - 64bit-vc15: Failed, The operation has timed out
    21/08/2017 9:13:07: Update finished

    Can anyone help figure out whats wrong with this? Thanks.

    httpd.xml

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.