Re: [PHP] fopen and load balancing

2013-02-12 Thread ma...@behnke.biz
Adam Tong hat am 11. Februar 2013 um 16:11 geschrieben: > I think this is what happened. As the application was trying to open > our url domain the request was sent to the load balancer, and as it > does not accept internal requests, the connection was timed out. > > The only way we could avoid

Re: [PHP] fopen and load balancing

2013-02-11 Thread Sean Greenslade
On Mon, Feb 11, 2013 at 10:11 AM, Adam Tong wrote: > On Mon, Feb 11, 2013 at 4:26 AM, ma...@behnke.biz > wrote: > > > > > > Adam Tong hat am 10. Februar 2013 um 23:41 > > geschrieben: > >> Hi, > >> > >> We had an issue with the code of a junior php developer that used > >> fopen to load images u

Re: [PHP] fopen and load balancing

2013-02-11 Thread Adam Tong
I think this is what happened. As the application was trying to open our url domain the request was sent to the load balancer, and as it does not accept internal requests, the connection was timed out. The only way we could avoid that is to not use fopen our url, is that right? On Mon, Feb 11, 2

Re: [PHP] fopen and load balancing

2013-02-11 Thread ma...@behnke.biz
Adam Tong hat am 10. Februar 2013 um 23:41 geschrieben: > Hi, > > We had an issue with the code of a junior php developer that used > fopen to load images using the url of the companies website that is > load balanced. > > We could not the detect the problem in dev and test because the dev > and

Re: [PHP] fopen and load balancing

2013-02-10 Thread Adam Richardson
On Sun, Feb 10, 2013 at 5:41 PM, Adam Tong wrote: > Hi, > > We had an issue with the code of a junior php developer that used > fopen to load images using the url of the companies website that is > load balanced. > > We could not the detect the problem in dev and test because the dev > and test s

[PHP] fopen and load balancing

2013-02-10 Thread Adam Tong
Hi, We had an issue with the code of a junior php developer that used fopen to load images using the url of the companies website that is load balanced. We could not the detect the problem in dev and test because the dev and test servers are not load balanced. I know that he could load the image