Tried to update one of our websites and got this error:

Fatal error: Uncaught exception 'Httpful\Exception\ConnectionErrorException' with message 'Unable to connect to "http://arastta.io/core/1.0/update/1.6.2/5.6.26/5.5.57-cll": 28 Operation timed out after 30000 milliseconds with 5735729 bytes received' in /home/whitewaterhoney/public_html/system/vendor/nategood/httpful/src/Httpful/Request.php:1028 Stack trace: #0 /home/whitewaterhoney/public_html/system/vendor/nategood/httpful/src/Httpful/Request.php(204): Httpful\Request->buildResponse(false) #1 /home/whitewaterhoney/public_html/admin/model/common/update.php(281): Httpful\Request->send() #2 /home/whitewaterhoney/public_html/admin/model/common/update.php(75): ModelCommonUpdate->downloadUpdate('core', '1.6.2') #3 /home/whitewaterhoney/public_html/admin/controller/common/update.php(99): ModelCommonUpdate->update() #4 [internal function]: ControllerCommonUpdate->update(Array) #5 /home/whitewaterhoney/public_html/system/modification/system/engine/action.php(74): call_user_func(Array, Array) #6 /home/whitewaterhoney/public_html/s in /home/whitewaterhoney/public_html/system/vendor/nategood/httpful/src/Httpful/Request.php on line 1028
Friday, September 01 2017, 06:24 AM
Share this post:
Responses (7)
  • Accepted Answer

    Thursday, April 22 2021, 06:44 PM - #Permalink
    HI Rune, can you please help me fix this ?
    Unable to connect to "http://arastta.io/core/1.0/version/1.6.2/7.0.33/5.5.5-10.2.37-MariaDB-log/en/1": 6 Could not resolve host: arastta.io

    regards
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 22 2021, 06:43 PM - #Permalink
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 08 2019, 11:46 AM - #Permalink
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 07 2019, 01:27 AM - #Permalink
    Hi Ed,

    This appears to have occurred again due to the "arastta.io" domain not being available perhaps due to the hosting not working. It is a little strange that this happened around the time the domain was due to expire however it has been renewed recently as can be seen:-

    Domain:
    arastta.io
    Registrar:
    101domain GRS Ltd
    Registered On:
    2015-04-05
    Expires On:
    2020-04-05
    Updated On:
    2019-04-05
    Status:
    clientHold
    clientTransferProhibited
    autoRenewPeriod
    Name Servers:
    ns11.arastta.cloud
    ns12.arastta.cloud

    It could be that the Internet needs to propagate with the "name servers" again since it fell over like last time, but it is possible to simply update a file to remedy the problem for the future too.

    We do not believe you are likely to get any more updates as the development around Arastta seems to be a little lacklustre, so this feature is somewhat redundant.

    Anyway, you can access the "admin" again by correcting the "URL" reference to "arastta.io" in the "update.php" file. To do this you will require "Cpanel" and "File Manager" or "FTP" access to your Arastta installation.

    There is also an "error.log" under the "admin" folder in the root of your installation which may shed some light on this issue :-

    Could not resolve host: arastta.io
    PHP Fatal error: Uncaught exception 'Httpful\Exception\ConnectionErrorException' with message 'Unable to connect to "http://arastta.io/core/1.0/version/1.6.2/5.6.40/5.7.25/en-gb/1": 6 Could not resolve host: arastta.io' in
    /system/vendor/nategood/httpful/src/Httpful/Request.php:1028

    Stack trace:
    /system/vendor/nategood/httpful/src/Httpful/Request.php(204): Httpful\Request->buildResponse(false)
    /admin/model/common/update.php(242): Httpful\Request->send()
    /admin/model/common/update.php(219): ModelCommonUpdate->getRemoteVersion('http://arastta....')
    /admin/model/common/update.php(172): ModelCommonUpdate->getVersions(Array)
    /admin/model/common/update.php(158): ModelCommonUpdate->getUpdates()
    /admin/controller/common/header.php(152): ModelCommonUpdate->countUpdates()

    The errors "snowball" a little, but you can certainly "login" again by modifing just one reference to "arastta.io" in file "/admin/model/common/update.php"

        public function getVersions($addons = array())
    {
    $data = $this->cache->get('version');

    if (empty($data)) {
    $data = array();

    // Check core first
    $info = $this->utility->getInfo();
    $base_url = 'http://arastta.io';


    The last line is 215 in Arastta version 1.6.2 which needs to be a valid domain like "arastta.org" or probably any domain that is accessible.

    In summary modify line 215 to this $base_url = 'http://arastta.org' to get logged back in again.

    Possibly, it is worth then re-checking the "/admin/error.log" to see if there are any subsequent error messages.

    Hope this helps.

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 07 2019, 12:42 AM - #Permalink
    Looks to be like the same thing with us as well. It seems to be like on Arastta end with their server.... Would love to get this back up and running! :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 01 2017, 12:27 PM - #Permalink
    Hi Breck,

    We wouldn't recommend using the new version on a clients site without first testing it. Wait and see if any glaring errors show up before considering using it.

    Always backup before any major updates too.

    If you download both Arastta ver 1.6.1 and Arastta ver 1.6.2 from https://github.com/arastta/arastta/releases.

    Then extract both versions and do a directory and file comparison (you can also compare the contents of the files themselves).

    Then do a clean install of both versions, preferably in the same environment (done seperately), to avoid even any path differences being confusing in the comparison.

    If you have Control Panel access and PHPMyadmin you can export the MySQL database (it's only a text file) and either carefully look for differences or again use an application designed for or with a feature for file comparison.

    This way you avoid any custom data you may later add confusing the comparisons at this stage.

    Developer editors like Atom or Komodo Edit are free and can help here.

    Hope this helps,

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 01 2017, 11:33 AM - #Permalink
    Hi Breck,

    Did you read the error message and try to understand it or perhaps the meaning was not obvious?

    Fatal error: Uncaught exception 'Httpful\Exception\ConnectionErrorException' with message 'Unable to connect to "http://arastta.io/core/1.0/update/1.6.2/5.6.26/5.5.57-cll"


    This part suggests a time lag with your Internet connection or the server you were trying to connect to (this is a quick guess).

    Another, part of the error message:-

    However, you may need to download Arastta ver 1.6.2 from "GitHib" "https://github.com/arastta/arastta/releases" to see the differences. It may be possible to manually update it yourself. It can only be files and database changes or possibly just one or the other? Arastta may confirm this or do a file and database difference check (lots of developer tools are capable of this function, sometimes called file compare too).

    We have just tested the update and it was successfully updated. I would also check server permissions on your files on your server in case this is the cause. With your error message saying it could not connect it may be unlikely, but is often a problem.

    Hope this helps.

    Regards,

    Hackasacka
    The reply is currently minimized Show
Your Reply