The elastic load balancer has an SSL certificate loaded on it and we are forwarding all traffic to HTTPS within the .htaccess file. The config files have been setup on both nodes to reflect https.
We have encountered a strange issue in the last few days that we are unable to fix. When we log into the back end admin and click to edit an order, we get the message "Warning: You do not have permission to access the API!". This is only happening 50% of the time and will be ok the next time you edit the same order.
Both IP's from the load balancer have been added to the allowed IP's.
Does anyone know what the issue is?
I have seen this error a few times before and sometimes it had to do with store URLs in the order table. If you have changed servers or domain names and the orders from the old store are still in the orders table; when you attempt to edit the order the API attempts to login using the orders URL and it does not exist anymore so you get an API error. Now the really strange thing is if the domain still existed and OpenCart was still there it would attempt to run the code from that site... Actually any index.php file on that domain root would be contacted run run...
Ref: http://www.randemsystems.com/support/op ... d-to-know/
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
Our store URL hits an ELB load balancer, if you ping the URL it will return one of two IP addresses (from the ELB). These appear to alternate on each new ping request 50/50. Are you saying that it needs to return just one IP?
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
There is one way to find out, remove the mod and test...
Also check the URLs in the order table...
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
Users browsing this forum: patterson123, paulfeakins, SohBH and 16 guests