Python Forum
method float.as_integer_ratio() always ...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
method float.as_integer_ratio() always ...
#20
it's going to the wrong IP address, or being intercepted. what would be good is to find out what that IP address is. for starters let's see some important info about your system. please post the contents of file /etc/resolv.conf and the output of the 3 commands "ls -dl /etc/resolv.conf" (to see where it might be referenced), "which tcpdump" (to see if you have that program), and "inxi -Fxz" (some day it would be nice to rewrite this into Python).

the plan is to run "sudo tcpdump -lni any port 53 or port 80" in a 2nd window/workspace and hit the site again while watching for traffic from tcpdump. this should show the DNS query and where the HTTP connection is going. this can output too much info so you may have to pick out lines showing interesting packets or just note what is going where.

there are many possibilities. among them is your ISP is intercepting port 80 traffic and running it through a caching proxy with bad DNS. if that is the case then it raises the cause for me to get my web site on HTTPS which can't be proxied by interception.

since i was too cheap to get a certificate for HTTPS you can use these URLs to access the files via HTTPS on an Amazon S3 host name:

https://s3.amazonaws.com/ipal.net/pi.ratios
https://s3.amazonaws.com/ipal.net/intfrac.pike
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: method float.as_integer_ratio() always ... - by Skaperen - Jul-05-2019, 11:49 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020