RE: Not able to read a RSS feed from a WordPress website

2014-09-28 Thread Robert Harrison

That was my original suggestion was to check the firewall of the receiving
server :-)



-Original Message-
From: Ben [mailto:b...@webworldinc.com] 
Sent: Friday, September 26, 2014 6:55 PM
To: cf-talk
Subject: Re: Not able to read a RSS feed from a WordPress website


Ah. Good call!  I'm surprised they had them. 

Ben

 On Sep 26, 2014, at 3:39 PM, Chris h h_chris...@yahoo.com wrote:
 
 
 Wow. How in hell did you figure that out?
 
 Ben
 
 
 Hi Ben,
 
 I asked for the firewall logs of the server running WordPress and saw that
the IP address of server running ColdFusion was blocked. 
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-28 Thread Chris h

That was my original suggestion was to check the firewall of the receiving
server :-)

I agree Robert, but I told them to check and they responded there was nothing 
in the firewall blocking that IP address.

I appreciate your assistance and time with this thread.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359367
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Chris h

Hi Dave,

The server hosting WordPress was blocking the IP address of server running 
ColdFusion because it was seeing too much traffic for the news feeds from the 
server running ColdFusion. I just wish the hosting company which was running 
WordPress had told me this before.

I appreciate all your assistance and time.



Packets can leave which server? Your CF server?

The relevant question here (to me) is: what happens when you ping the
WP server from the CF server console? What happens when you run a
traceroute to the WP server from the CF server console?

 Anyway, I appreciate all your assistance and time.

You're welcome! Good luck!

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359360
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Ben

Wow. How in hell did you figure that out?

Ben

 On Sep 26, 2014, at 10:34 AM, Chris h h_chris...@yahoo.com wrote:
 
 
 Hi Dave,
 
 The server hosting WordPress was blocking the IP address of server running 
 ColdFusion because it was seeing too much traffic for the news feeds from the 
 server running ColdFusion. I just wish the hosting company which was running 
 WordPress had told me this before.
 
 I appreciate all your assistance and time.
 
 
 
 Packets can leave which server? Your CF server?
 
 The relevant question here (to me) is: what happens when you ping the
 WP server from the CF server console? What happens when you run a
 traceroute to the WP server from the CF server console?
 
 Anyway, I appreciate all your assistance and time.
 
 You're welcome! Good luck!
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite. 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359361
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Chris h

Wow. How in hell did you figure that out?

Ben


Hi Ben,

I asked for the firewall logs of the server running WordPress and saw that the 
IP address of server running ColdFusion was blocked. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Ben

Ah. Good call!  I'm surprised they had them. 

Ben

 On Sep 26, 2014, at 3:39 PM, Chris h h_chris...@yahoo.com wrote:
 
 
 Wow. How in hell did you figure that out?
 
 Ben
 
 
 Hi Ben,
 
 I asked for the firewall logs of the server running WordPress and saw that 
 the IP address of server running ColdFusion was blocked. 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-22 Thread Chris h

Thanks Dave.
 
 This is no longer a programming issue, though. It has nothing to do
 with reading and displaying the RSS feeds at this point. Instead, it
 has to do with fixing the connectivity problem between the two
 machines.
 
 People on a mailing list are not going to be able to help you do this
 effectively. And, you should be able to demonstrate to a network
 administrator somewhere (your organization, the hosting company where
 your CF server is) that this is not a CF problem but rather a
 networking problem.

I agree, but here is where it becomes strange. They(hosting company where
your CF server is) claim packets can leave the server, but then they are 
getting lost on the route so tell me to check with the hosting company where 
the wordpress website who say that they are not blocking any requests from the 
machine running CF server. I need to dive into it and solve it.

Anyway, I appreciate all your assistance and time.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359339
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-22 Thread Dave Watts

  This is no longer a programming issue, though. It has nothing to do
  with reading and displaying the RSS feeds at this point. Instead, it
  has to do with fixing the connectivity problem between the two
  machines.
 
  People on a mailing list are not going to be able to help you do this
  effectively. And, you should be able to demonstrate to a network
  administrator somewhere (your organization, the hosting company where
  your CF server is) that this is not a CF problem but rather a
  networking problem.

 I agree, but here is where it becomes strange. They(hosting company where
 your CF server is) claim packets can leave the server, but then they are 
 getting
 lost on the route so tell me to check with the hosting company where the 
 wordpress
 website who say that they are not blocking any requests from the machine 
 running
 CF server. I need to dive into it and solve it.

Packets can leave which server? Your CF server?

The relevant question here (to me) is: what happens when you ping the
WP server from the CF server console? What happens when you run a
traceroute to the WP server from the CF server console?

 Anyway, I appreciate all your assistance and time.

You're welcome! Good luck!

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359340
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-11 Thread Chris h

Thanks Robert,

 but don't think they(hostingcompanyA) would block a particular IP 
 address(server running CF which belongs to hosting company B)
 
 Yes, they would if they detected something funny coming your server... 
 like a bunch of pings or form bots or something... for that matter a 
 bunch of unexpected reads of the RSS file your reading could have set 
 off some kind of alarm that caused them to block the IP.  It depends 
 on them and what they see as an intrusion.   A lot of hosting 
 companies are great professional companies that can really analyze 
 threats... a lot of them are some guy with a server or two in basement 
 too and anything odd they see they block.  Yes, it's possible they 
 blocked you intentionally if they saw a lot of unexplained requests 
 coming from your server.  

I checked with the hosting company(hostingcompanyA) who host the website my 
machine running CF is trying to access and they told, they are not blocking the 
IP address of the server running CF.

 
  try displaying it in a browser that shows the same external IP 
 address  as your server
  How do I do that?
 
 If the server is at a separate location (hosting company), you may have 
 to ask them for help with this.  

Yes, that is with hosting company B and they say we are not blocking the 
website your CF server is trying to read.

 Honestly, at this point with what you know this does not sound like a 
 job for a programming issue and it may not be best for a programmer to 
 be troubleshooting it.  You should get a network engineer to take a 
 look. 
Hosting company B says we are not blocking the website your CF server is trying 
to read. They say all is well with the machine running CF server. We went with 
a hosting company because network engineers in our organization did not have 
time for such things. Reading the RSS feeds and getting them to display is my 
task.

I appreciate all your assistance and time.
 
 Robert Harrison 
 Director of Interactive Services
 
 Austin  Williams
 Advertising I Branding I Digital I Direct  
 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
 T 631.231.6600 X 119   F 631.434.7022   
 http://www.austin-williams.com
 
 Blog:  http://www.austin-williams.com/blog
 Twitter:  http://www.twitter.
com/austi

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-11 Thread Dave Watts

 Hosting company B says we are not blocking the website your CF server is 
 trying to read. They say all
 is well with the machine running CF server. We went with a hosting company 
 because network engineers  in our organization did not have time for such 
 things. Reading the RSS feeds and getting them to display
  is my task.

This is no longer a programming issue, though. It has nothing to do
with reading and displaying the RSS feeds at this point. Instead, it
has to do with fixing the connectivity problem between the two
machines.

People on a mailing list are not going to be able to help you do this
effectively. And, you should be able to demonstrate to a network
administrator somewhere (your organization, the hosting company where
your CF server is) that this is not a CF problem but rather a
networking problem.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359286
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Chris h

Thanks Dave,
 
 Just to clarify: from the machine running CF, if you use a browser,
 can you get to the site correctly?

No, I cannot access the site from the machine running CF.
 
 If the server admin can't tell you why a machine he or she manages
 can't get to a remote server, you need to replace your server admin.

I am not the decision maker who can replace server admins. The server admin 
told me they do not restrict outbound traffic nor there are any rules in 
firewall blocking that site. I already checked the localhosts file and nothing 
in it also could be stopping it.
 
  Well, the CF service was restarted and so was the server, so if the 
 DNS entry changed, CF should have updated its cache.
 
  1. Should I change the below line in 
 C:\ColdFusion9\runtime\jre\lib\security\java.security
 
  #networkaddress.cache.ttl=-1 to something like
  networkaddress.cache.ttl= 14400
 
  2. Also, does CF9 cache a positive lookup forever? Meaning if 
 http://www.testsite.com/?feed=rss2 was on IP address
  A.B.C.1 when CF cached it, it will not update its cache when the 
 feed's IP address changes to A.B.C.10
 
 If you can't get to the site from a browser on the machine running CF,
 
 I wouldn't bother messing with CF - the problem isn't with CF. If you
 can get to the site from a browser on the machine running CF, but CF
 itself can't get to it, there's probably some sort of DNS caching
 issue within CF itself.

I appreciate your assistance and time. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Chris h

Thanks Russ,

you need to do some basic tests, which your server admin should have
already done.

for a start ping the domain from the cf server, does this work and do you
get the right IP, if not then it is a dns issue.
make sure that someone has not created an entry in the local hosts file.

I did a ping and the request timed out. All data packets were lost.

The server admin told me they do not restrict outbound traffic nor there are 
any rules in firewall blocking that site. I already checked the localhosts file 
and nothing in it also could be stopping it. 

I appreciate your assistance and time.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Chris h

If I use a browser, I can see the feeds. Using a feed reader in
Google Chrome browser, I can notice the feeds load correctly.
  
   Are you using a browser from the machine running CF?
 
  No, the machine running CF cannot access the website. I get a 
 message that the request timed out. But, the server
  admin cannot tell me what could be causing it. 1000's of people can 
 access the website properly from their computers.
 
 Just to clarify: from the machine running CF, if you use a browser,
 can you get to the site correctly?

From the machine running CF, if I use a browser(Firefox or Internet Explorer), 
I cannot get to the site. I get a message that connection timed out.
 
 If the server admin can't tell you why a machine he or she manages
 can't get to a remote server, you need to replace your server admin.
 
  Well, the CF service was restarted and so was the server, so if the 
 DNS entry changed, CF should have updated its cache.
 
  1. Should I change the below line in 
 C:\ColdFusion9\runtime\jre\lib\security\java.security
 
  #networkaddress.cache.ttl=-1 to something like
  networkaddress.cache.ttl= 14400
 
  2. Also, does CF9 cache a positive lookup forever? Meaning if 
 http://www.testsite.com/?feed=rss2 was on IP address
  A.B.C.1 when CF cached it, it will not update its cache when the 
 feed's IP address changes to A.B.C.10
 
 If you can't get to the site from a browser on the machine running CF,
 
 I wouldn't bother messing with CF - the problem isn't with CF. If you
 can get to the site from a browser on the machine running CF, but CF
 itself can't get to it, there's probably some sort of DNS caching
 issue within CF itself.
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Dave Watts

 Just to clarify: from the machine running CF, if you use a browser,
 can you get to the site correctly?

 No, I cannot access the site from the machine running CF.

OK, this is good! This means it's not a CF problem.

 If the server admin can't tell you why a machine he or she manages
 can't get to a remote server, you need to replace your server admin.

 I am not the decision maker who can replace server admins. The server admin 
 told me they do not
 restrict outbound traffic nor there are any rules in firewall blocking that 
 site. I already checked the
 localhosts file and nothing in it also could be stopping it.

Well, I was being a bit facetious. I didn't expect you to fire the server admin.

But - and now I'm being completely serious - the server admin should
be able to diagnose the problem preventing the server that he manages
from connecting to this other server. This is clearly not a CF
problem.

This could be caused by many things. Here's what I'd try to look at,
if I were you (assuming you have console access):

Do you get the correct IP address when you ping the server?
Where does it fail if you do a traceroute to the server?
Are other servers from the same network able to connect to the server?

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Robert Harrison

 Just to clarify: from the machine running CF, if you use a browser, 
 can you get to the site correctly?

No, I cannot access the site from the machine running CF.

It's possible the issue is not on your side.  It could be on the side of the 
site you are trying to read from.  You can't display the site in a browser on 
the CF machine... try displaying it in a browser that shows the same external 
IP address as your server.  It's possible your IP has been blocked by the 
firewall on the sending side. If that's the issue it will have to be fixed on 
their side.

Thanks

Robert Harrison 
Director of Interactive Services

Austin  Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:  http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austin_

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Chris h

Thanks Dave, 
 OK, this is good! This means it's not a CF problem.
 
 But - and now I'm being completely serious - the server admin should
 be able to diagnose the problem preventing the server that he manages
 from connecting to this other server. This is clearly not a CF
 problem.
 
 This could be caused by many things. Here's what I'd try to look at,
 if I were you (assuming you have console access):
 
 Do you get the correct IP address when you ping the server?

Yes, the site I am trying to access is hosted by HostingcompanyA so I get the 
name of that company when I type the IP address in a browser on another 
computer. On the browser of machine running CF, if I try the IP address, I get 
connection timed out.


 Where does it fail if you do a traceroute to the server?
It times out from the first to 30th hop. All I see is hop count, asteriks on 
doing a traceroute.

 Are other servers from the same network able to connect to the 
 server?

I do not have access so will have to ask the serveradmin to try those.
The machine running CF belongs to HostingCompany B.

I appreciate your assistance and time. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359278
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Chris h

Thanks Robert,

  Just to clarify: from the machine running CF, if you use a browser, 
 
  can you get to the site correctly?
 
 No, I cannot access the site from the machine running CF.
 
 It's possible the issue is not on your side.  It could be on the side 
 of the site you are trying to read from.  You can't display the site 
 in a browser on the CF machine... try displaying it in a browser that 
 shows the same external IP address as your server.  It's possible your 
 IP has been blocked by the firewall on the sending side. If that's the 
 issue it will have to be fixed on their side.

The CF server is managed by HostingCompanyB and the site I am trying to read 
from is by HostingcompanyA. 

 try displaying it in a browser that shows the same external IP address as 
 your server

How do I do that?

 It's possible your IP has been blocked by the firewall on the sending side. 
 If that's the issue it will have to be fixed on their side.

Well, it worked fine till some 9 days ago. I know both(machine running CF and 
site being hosted) are maintained by different hosting companies, but don't 
think they(hostingcompanyA) would block a particular IP address(server running 
CF which belongs to hostingcompanyB).


I appreciate your assistance and time.
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Not able to read a RSS feed from a WordPress website

2014-09-10 Thread Robert Harrison

 but don't think they(hostingcompanyA) would block a particular IP 
 address(server running CF which belongs to hosting company B)

Yes, they would if they detected something funny coming your server... like a 
bunch of pings or form bots or something... for that matter a bunch of 
unexpected reads of the RSS file your reading could have set off some kind of 
alarm that caused them to block the IP.  It depends on them and what they see 
as an intrusion.   A lot of hosting companies are great professional companies 
that can really analyze threats... a lot of them are some guy with a server or 
two in basement too and anything odd they see they block.  Yes, it's possible 
they blocked you intentionally if they saw a lot of unexplained requests coming 
from your server.  

 try displaying it in a browser that shows the same external IP address  as 
 your server
 How do I do that?

If your server is on your network its likely most of the machines on your 
network are on the same firewall and show the same public IP.  Google what's my 
IP from the server and from another machine on that network.  If they show the 
same public IP, try accessing the site from the alternate machine.  If it 
doesn't work, you may be blocked.  If the server is at a separate location 
(hosting company), you may have to ask them for help with this.  

Honestly, at this point with what you know this does not sound like a job for a 
programming issue and it may not be best for a programmer to be troubleshooting 
it.  You should get a network engineer to take a look. 


Robert Harrison 
Director of Interactive Services

Austin  Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:  http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austi

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359280
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-09 Thread Chris h

Thanks Dave,

  If I use a browser, I can see the feeds. Using a feed reader in 
 Google Chrome browser, I can notice the
  feeds load correctly.
 
 Are you using a browser from the machine running CF?

No, the machine running CF cannot access the website. I get a message that the 
request timed out. But, the server admin cannot tell me what could be causing 
it. 1000's of people can access the website properly from their computers. 
 
  Message:Connection refused by the specified host on the 
 specified port.
 
  ...
 
  1. What could have caused a working WordPress RSS feed which was 
 parsed correctly by ColdFusion
  till last week to stop suddenly?
 
  2. How can I resolve the issue?
 
 Looks like the CF server can't connect to that host on that port. 
 This
 could be all kinds of things, but it probably doesn't actually have
 anything to do with CF itself. Perhaps the CF server is on a network
 segment that can't access this server. Perhaps the DNS entry changed
 for the WP server, and the CF server hasn't updated its cache. Etc,
 etc, etc.

Well, the CF service was restarted and so was the server, so if the DNS entry 
changed, CF should have updated its cache.

1. Should I change the below line in 
C:\ColdFusion9\runtime\jre\lib\security\java.security

#networkaddress.cache.ttl=-1 to something like 

networkaddress.cache.ttl= 14400


2. Also, does CF9 cache a positive lookup forever? Meaning if 
http://www.testsite.com/?feed=rss2 was on IP address A.B.C.1 when CF cached it, 
it will not update its cache when the feed's IP address changes to A.B.C.10

I appreciate your assistance and time.
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-09 Thread Dave Watts

   If I use a browser, I can see the feeds. Using a feed reader in
   Google Chrome browser, I can notice the feeds load correctly.
 
  Are you using a browser from the machine running CF?

 No, the machine running CF cannot access the website. I get a message that 
 the request timed out. But, the server
 admin cannot tell me what could be causing it. 1000's of people can access 
 the website properly from their computers.

Just to clarify: from the machine running CF, if you use a browser,
can you get to the site correctly?

If the server admin can't tell you why a machine he or she manages
can't get to a remote server, you need to replace your server admin.

 Well, the CF service was restarted and so was the server, so if the DNS entry 
 changed, CF should have updated its cache.

 1. Should I change the below line in 
 C:\ColdFusion9\runtime\jre\lib\security\java.security

 #networkaddress.cache.ttl=-1 to something like
 networkaddress.cache.ttl= 14400

 2. Also, does CF9 cache a positive lookup forever? Meaning if 
 http://www.testsite.com/?feed=rss2 was on IP address
 A.B.C.1 when CF cached it, it will not update its cache when the feed's IP 
 address changes to A.B.C.10

If you can't get to the site from a browser on the machine running CF,
I wouldn't bother messing with CF - the problem isn't with CF. If you
can get to the site from a browser on the machine running CF, but CF
itself can't get to it, there's probably some sort of DNS caching
issue within CF itself.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-09 Thread Russ Michaels

you need to do some basic tests, which your server admin should have
already done.

for a start ping the domain from the cf server, does this work and do you
get the right IP, if not then it is a dns issue.
make sure that someone has not created an entry in the local hosts file.


On Wed, Sep 10, 2014 at 2:51 AM, Dave Watts dwa...@figleaf.com wrote:


If I use a browser, I can see the feeds. Using a feed reader in
Google Chrome browser, I can notice the feeds load correctly.
  
   Are you using a browser from the machine running CF?
 
  No, the machine running CF cannot access the website. I get a message
 that the request timed out. But, the server
  admin cannot tell me what could be causing it. 1000's of people can
 access the website properly from their computers.

 Just to clarify: from the machine running CF, if you use a browser,
 can you get to the site correctly?

 If the server admin can't tell you why a machine he or she manages
 can't get to a remote server, you need to replace your server admin.

  Well, the CF service was restarted and so was the server, so if the DNS
 entry changed, CF should have updated its cache.
 
  1. Should I change the below line in
 C:\ColdFusion9\runtime\jre\lib\security\java.security
 
  #networkaddress.cache.ttl=-1 to something like
  networkaddress.cache.ttl= 14400
 
  2. Also, does CF9 cache a positive lookup forever? Meaning if
 http://www.testsite.com/?feed=rss2 was on IP address
  A.B.C.1 when CF cached it, it will not update its cache when the feed's
 IP address changes to A.B.C.10

 If you can't get to the site from a browser on the machine running CF,
 I wouldn't bother messing with CF - the problem isn't with CF. If you
 can get to the site from a browser on the machine running CF, but CF
 itself can't get to it, there's probably some sort of DNS caching
 issue within CF itself.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Not able to read a RSS feed from a WordPress website

2014-09-08 Thread Chris h

Hi All,

Below is the code which was working fine till yesterday for reading a RSS feed 
from a Wordpress site running Wordpress 3.9.1

--

cftry
cfset rssUrl = http://www.testsite.com/?feed=rss2;
cffeed action=read source=#rssUrl# query=entriesNews 
properties=info timeout = 180
ul

cfoutput query=entriesNews startrow=1 
maxrows=3
   
cfset tempTextNews = #title#
cfif len(tempTextNews) gt '75'
lia class=NewsEvents href=#rssLink# 
target=_blank#Left(tempTextNews, 75)#...more/a/li
cfelse
lia class=NewsEvents href=#rssLink# 
target=_blank#title#...more/a/li
/cfif


/cfoutput
cfcatch type=any
!--cfdump var=#entriesNews# ---
!--cfdump var=#info# ---  
 
News Feed Temporarily Unavailable
/cfcatch
/ul
/cftry


--

http://www.testsite.com/?feed=rss2 is a valid RSS feed and I confirmed that 
with http://validator.w3.org/feed/

www.testsite.com is something I am using here for posting instead of the actual 
website which provides the feed.

If I use a browser, I can see the feeds. Using a feed reader in Google Chrome 
browser, I can notice the feeds load correctly.


If the above code is loaded in a page called testfeed.cfm, I get the message 
News Feed Temporarily Unavailable. We are using ColdFusion 9 on a Windows 
server with IIS.


The details of error are 

Detail: Check if the specified host on the port is accessible.

Message:Connection refused by the specified host on the specified port.

StackTrace: coldfusion.syndication.FeedReader$ConnectionRefusedException: 
Connection refused by the specified host on the specified port. at 

coldfusion.syndication.FeedReader.getInputStream(FeedReader.java:394)

1. What could have caused a working WordPress RSS feed which was parsed 
correctly by ColdFusion till last week to stop suddenly?

2. How can I resolve the issue?

Any suggestions would be appreciated.

Thanks 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359245
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-08 Thread Dave Watts

 If I use a browser, I can see the feeds. Using a feed reader in Google Chrome 
 browser, I can notice the
 feeds load correctly.

Are you using a browser from the machine running CF?

 Message:Connection refused by the specified host on the specified 
 port.

 ...

 1. What could have caused a working WordPress RSS feed which was parsed 
 correctly by ColdFusion
 till last week to stop suddenly?

 2. How can I resolve the issue?

Looks like the CF server can't connect to that host on that port. This
could be all kinds of things, but it probably doesn't actually have
anything to do with CF itself. Perhaps the CF server is on a network
segment that can't access this server. Perhaps the DNS entry changed
for the WP server, and the CF server hasn't updated its cache. Etc,
etc, etc.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359246
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm