#157 Weather Plugin fails to connect

open
nobody
None
5
2006-08-04
2006-08-03
Anonymous
No

Hi,

The weather plugin has been working great for years.
Recently, I started getting the following error in the
folders pane:

arning: fsockopen(): php_network_getaddresses:
getaddrinfo failed: Name or service not known in
/usr/share/squirrelmail/plugins/weather/weather.php on
line 214

Warning: fsockopen(): unable to connect to :80 in
/usr/share/squirrelmail/plugins/weather/weather.php on
line 214

Everything I've read suggests this is some sort of DNS
error; however, I can resolve noaa fine from the
command line.

I've tried re-installing, and the same results hold
true (compatibility is installed).

I ran a quick test, 'tcpdump |grep www' while trying to
create a new weather location yields (hopefully this
might help):

11:50:56.039069 IP 192.168.1.106.37682 > MY_ISP.domain:
37487+ AAAA? www.srh.noaa.gov. (34)
11:50:56.046928 IP 192.168.1.106.37682 > MY_ISP.domain:
37488+ AAAA? www.srh.noaa.gov. (34)
11:50:56.054792 IP 192.168.1.106.37682 > MY_ISP.domain:
37489+ A? www.srh.noaa.gov. (34)
11:50:56.067251 IP 192.168.1.106.43146 >
mobile.srh.noaa.gov.www: S 3707180625:3707180625(0) win
5840 <mss 1460,sackOK,timestamp 3638523168 0,nop,wscale 0>
11:50:56.086318 IP mobile.srh.noaa.gov.www >
192.168.1.106.43146: S 903297313:903297313(0) ack
3707180626 win 8280 <mss 1380,nop,nop,sackOK,nop,wscale
0,nop,nop,timestamp 924242811 3638523168>
11:50:56.086357 IP 192.168.1.106.43146 >
mobile.srh.noaa.gov.www: . ack 1 win 5840
<nop,nop,timestamp 3638523187 924242811>
11:50:56.086452 IP 192.168.1.106.43146 >
mobile.srh.noaa.gov.www: P 1:129(128) ack 1 win 5840
<nop,nop,timestamp 3638523187 924242811>
11:50:56.102171 IP mobile.srh.noaa.gov.www >
192.168.1.106.43146: . ack 129 win 16256
<nop,nop,timestamp 924242812 3638523187>
11:50:56.125311 IP mobile.srh.noaa.gov.www >
192.168.1.106.43146: P 1:353(352) ack 129 win 16382
<nop,nop,timestamp 924242815 3638523187>
11:50:56.125332 IP 192.168.1.106.43146 >
mobile.srh.noaa.gov.www: . ack 353 win 6432
<nop,nop,timestamp 3638523226 924242815>
11:50:56.126304 IP mobile.srh.noaa.gov.www >
192.168.1.106.43146: F 353:353(0) ack 129 win 16384
<nop,nop,timestamp 924242815 3638523187>
11:50:56.126378 IP 192.168.1.106.43146 >
mobile.srh.noaa.gov.www: F 129:129(0) ack 354 win 6432
<nop,nop,timestamp 3638523227 924242815>
11:50:56.126962 IP 192.168.1.106.37683 > MY_ISP.domain:
37490+ AAAA? www.srh.noaa.gov. (34)
11:50:56.137259 IP 192.168.1.106.37683 > MY_ISP.domain:
37491+ AAAA? www.srh.noaa.gov. (34)
11:50:56.144494 IP mobile.srh.noaa.gov.www >
192.168.1.106.43146: . ack 130 win 16384
<nop,nop,timestamp 924242817 3638523227>
11:50:56.146612 IP 192.168.1.106.37683 > MY_ISP.domain:
37492+ A? www.srh.noaa.gov. (34)
11:50:56.156920 IP 192.168.1.106.43147 >
mobile.srh.noaa.gov.www: S 3717471179:3717471179(0) win
5840 <mss 1460,sackOK,timestamp 3638523258 0,nop,wscale 0>
11:50:56.175259 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: S 3224904674:3224904674(0) ack
3717471180 win 8280 <mss 1380,nop,nop,sackOK,nop,wscale
0,nop,nop,timestamp 917492160 3638523258>
11:50:56.175285 IP 192.168.1.106.43147 >
mobile.srh.noaa.gov.www: . ack 1 win 5840
<nop,nop,timestamp 3638523276 917492160>
11:50:56.175403 IP 192.168.1.106.43147 >
mobile.srh.noaa.gov.www: P 1:132(131) ack 1 win 5840
<nop,nop,timestamp 3638523276 917492160>
11:50:56.194439 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: . ack 132 win 16253
<nop,nop,timestamp 917492162 3638523276>
11:50:56.264419 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: P 1:336(335) ack 132 win 16382
<nop,nop,timestamp 917492169 3638523276>
11:50:56.264449 IP 192.168.1.106.43147 >
mobile.srh.noaa.gov.www: . ack 336 win 6432
<nop,nop,timestamp 3638523365 917492169>
11:50:56.265379 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: F 336:336(0) ack 132 win 16384
<nop,nop,timestamp 917492169 3638523276>
11:50:56.265456 IP 192.168.1.106.43147 >
mobile.srh.noaa.gov.www: F 132:132(0) ack 337 win 6432
<nop,nop,timestamp 3638523367 917492169>
11:50:56.279968 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: P ack 132 win 16384
11:50:56.280400 IP mobile.srh.noaa.gov.www >
192.168.1.106.43147: . ack 133 win 16384
<nop,nop,timestamp 917492171 3638523367>

Thanks,

James Rose

Discussion

  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-04

    • labels: 477103 -->
    • milestone: 101717 -->