Hi Tharuna/Roland
We have the below error message occuring which i wonder if you could point us in the direction of solving.
"Error - couldn't connect to host" when running export but i cant see that anything is wrong with template setup
I have attached a log file.
I am guessing this bit is the issue?
[QUERY] SELECT c.* FROM hal3m_virtuemart_calcs as c LEFT JOIN hal3m_virtuemart_calc_shoppergroups as cs ON cs.virtuemart_calc_id=c.virtuemart_calc_id WHERE `calc_kind` IN ('Marge','Tax','VatTax','DBTax','DATax' ) AND `published`="1" AND (`virtuemart_vendor_id`="1" OR `shared`="1" ) AND ( publish_up = "0000-00-00 00:00:00" OR publish_up <= "2017-02-27 17:46:00" ) AND ( publish_down = "0000-00-00 00:00:00" OR publish_down >= "2017-02-27 17:46:00" ) AND ( virtuemart_shoppergroup_id = 2 OR (virtuemart_shoppergroup_id) IS NULL)
Kind regards
Tim com_csvi.log.16.zip
- batetim
- RO CSVI
- Monday, 27 February 2017
- Subscribe via email
0
Accepted Answer
Pending Moderation
Morning Roland
Thanks for your reply, i have queried this back with our host and they have replied as below
"It does seem from your reply that this process may constitue a loopback connection on the server. Could you confirm if this is the case with your developer? Our servers prevent scripts making HTTP (port 80) connections back to the same server that they're running on, as policy.
This is done to prevent the possibility that mis-configured scripts could enter, essentially, an "infinite loop", making call-backs to themselves. Such a situation is extremely detrimental to server performance, and would negatively impact other users also on this shared server.
Unfortunately we are not able to lift this block on a per-site or per-script basis, so you will need to see if you are able to reconfigure the script (or contact the script authors for assistance doing this), or use an alternative script that doesn't require HTTP requests to its own server."
Is this how the sef caching works? Is there any work around we can do or i can present to our host?
Kind regards
Tim
Thanks for your reply, i have queried this back with our host and they have replied as below
"It does seem from your reply that this process may constitue a loopback connection on the server. Could you confirm if this is the case with your developer? Our servers prevent scripts making HTTP (port 80) connections back to the same server that they're running on, as policy.
This is done to prevent the possibility that mis-configured scripts could enter, essentially, an "infinite loop", making call-backs to themselves. Such a situation is extremely detrimental to server performance, and would negatively impact other users also on this shared server.
Unfortunately we are not able to lift this block on a per-site or per-script basis, so you will need to see if you are able to reconfigure the script (or contact the script authors for assistance doing this), or use an alternative script that doesn't require HTTP requests to its own server."
Is this how the sef caching works? Is there any work around we can do or i can present to our host?
Kind regards
Tim
Accepted Answer
Pending Moderation
Morning Tim,
Looks like the root cause has been found
Did you try running the SEF URL update as a cron job? I wonder if that is seen as a loopback call. If not, that would be the easiest solution.
Looks like the root cause has been found
Our servers prevent scripts making HTTP (port 80) connections back to the same server that they're running on, as policy.. That is exactly what CSVI is doing, as you can see from the code sample I sent you. CSVI is calling a URL on your server, this goes through port 80.
Is there any work around we can do or i can present to our host?The only work around I can think of is a cumbersome one. This involves running CSVI on a different host, set the domain name to the original domain name. You should be allowed to make a connection then. This fills the sef_cache table on the different host. This table would then need to be copied to the live site.
Did you try running the SEF URL update as a cron job? I wonder if that is seen as a loopback call. If not, that would be the easiest solution.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Roland
Let me give the cron job a go as i wanted to look into how to set this up anyway.
Strange thing is i have csvi on other sites with same host and this is not an issue and functions properly. I didnt want to highlight this to them in case they blocked those too!
I'll let you know how cron job goes
Kind regards
Tim
Let me give the cron job a go as i wanted to look into how to set this up anyway.
Strange thing is i have csvi on other sites with same host and this is not an issue and functions properly. I didnt want to highlight this to them in case they blocked those too!
I'll let you know how cron job goes
Kind regards
Tim
Accepted Answer
Pending Moderation
Hi Roland
Just thought i would update you on the above.
Have set up the cron jobs, but unfortunately we have the same issue with unable to connect with this also - worth a try!!
I have found a work around, in fact its how we use to use sef urls on previous versions of csvi. Instead of using the product_url field on our exports we add the sef url to the intnotes field on vm when creating the products. Then on export we instead use this field instead with column header "link"
Looks to be working ok so far!
Kind regards
Tim
Just thought i would update you on the above.
Have set up the cron jobs, but unfortunately we have the same issue with unable to connect with this also - worth a try!!
I have found a work around, in fact its how we use to use sef urls on previous versions of csvi. Instead of using the product_url field on our exports we add the sef url to the intnotes field on vm when creating the products. Then on export we instead use this field instead with column header "link"
Looks to be working ok so far!
Kind regards
Tim
Accepted Answer
Pending Moderation
Hello Tim,
Glad to know you found a solution for your issue
Glad to know you found a solution for your issue

Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
- 2
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »