Neil Smart
Neil Smart
Offline
Hi,

I wondered if you guys have dealt with the cURL loopback requests that OC introduced in v2? There are large numbers of people on shared hosting which now cannot use OpenCart v2 because it utilises these loopback requests on checkout and manageing orders etc. These cURL http loopback requests are blocked on servers for security reasons and a lot of hosts do it.

Hopefully you guys can see the error in this and rectify the issue if you havent done so already. If you do I could see quite a lot of people moving to your software from OC. Not to mention gain the support of massive hosting companies like Heart Internet which may include you as a one click install script.

Thanks

Neil
Monday, June 08 2015, 01:51 PM
Share this post:
Responses (12)
  • Accepted Answer

    Monday, June 08 2015, 02:00 PM - #Permalink
    Hi Neil,

    If you're talking about this issue, I've heard about but had no time to check in details.

    Is there any solution available out there?

    Regards
    The reply is currently minimized Show
  • Accepted Answer

    Neil Smart
    Neil Smart
    Offline
    Monday, June 08 2015, 02:06 PM - #Permalink
    Hi, yeh pretty much. But like Q says its not a cloudflare issue although it may be affected too.

    Essentially a lot of hosts have dropped support for OC v2 because of this and OpenCart doesnt seem to care as all the issues raised are closed and posts on forums ignored.

    I havent checked for a solution for a week or so as Ive been busy but I can only see this as a massive plus for you guys if you sort it. I resell hosting so I and many others would then be recommending Arastta and not OC when hosting with us.

    Also it seems you guys want to be more community led and listen to the people that can make this software great and popular.

    I will however have another quick search for a solution and report back here if I find one.

    Ta

    Neil
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 08 2015, 02:09 PM - #Permalink
    Denis Dulici wrote:

    Hi Neil,

    If you're talking about this issue, I've heard about but had no time to check in details.

    Is there any solution available out there?

    Regards

    Qphoria have an idea:
    https://github.com/opencart/opencart/issues/3062
    The reply is currently minimized Show
  • Accepted Answer

    Neil Smart
    Neil Smart
    Offline
    Monday, June 08 2015, 02:17 PM - #Permalink
    It seems JNeuhoff has plans too: http://forum.opencart.com/viewtopic.php?f=190&t=135248&start=80

    He says in the post that the api should be called directly without having to use loopback requests. As you can see Q says 35% of his customers cant support v2! He also says he doesnt understand why the hosts dont allow them and I have been told it is a security issue because loopbacks can be either hijacked or misused it could put huge strain on servers and bring down all the websites running on that server. Thats why its only shared hosting thats affected. If you have a VPS or dedicated server it wont matter.

    Perhaps you could link up with JNeuhoff and implement the direct access to the API?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 09 2015, 11:25 AM - #Permalink
    Technically, with Arastta, you can get the instance of Admin or Catalog application whenever you want, just like with Joomla. So there is no need to make a cURL connection to run a Catalog task from Admin. Have to test this first...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 16 2015, 12:14 PM - #Permalink
    Guys, this issue has been resolved and will be available in Arastta 1.0.6

    https://github.com/arastta/arastta/pull/82

    Feel free to test and reply back ;)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 16 2015, 12:23 PM - #Permalink
    Denis Dulici wrote:Guys, this issue has been resolved and will be available in Arastta 1.0.6

    This is great news! That's why we love Arastta and Arastta differs.
    The reply is currently minimized Show
  • Accepted Answer

    Dominik
    Dominik
    Offline
    Tuesday, June 16 2015, 06:32 PM - #Permalink
    GREAT! That's why we use Arastta!
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Neil Smart
    Neil Smart
    Offline
    Wednesday, June 17 2015, 12:51 PM - #Permalink
    Actually I have now managed to test this and Im still getting the syntax error when adding an order in admin. This was one of the symptoms of the loopback issue.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 17 2015, 01:07 PM - #Permalink
    Have you uploaded the GitHub version or the 1.0.5 one?
    The reply is currently minimized Show
  • Accepted Answer

    Neil Smart
    Neil Smart
    Offline
    Wednesday, June 17 2015, 01:16 PM - #Permalink
    Github
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 17 2015, 01:43 PM - #Permalink
    It works now, there was an extra if there.
    Like
    1
    The reply is currently minimized Show
Your Reply