Previous posts have spoken of using a script with HTTP GET. This has worked really well (infact, writing over 40,000 records to the database), but since changing to a new web server no longer works. The line is:
When the script runs in mAirList, the data isn’t recorded and the website isn’t accessible for around ten minutes to any traffic from the IP which mAirList is on.
However, when I sit in Chrome or Firefox on the same PC and put that URL together in the browser, I can see the record being written instantly and there’s no connection problems.
I know it sounds very odd, and I’ve now tried on a variety of PCs and different DSL connections - I just wondered if anyone had any thoughts, especially as the same string works in a browser fine?
Thank you for the quick reply. I’ve had a look and I’m not absolutely sure which characters to count, if I’m completely honest. I’ve conducted it with Wireshark open and picked out the following lines:
Browser
(This is manually entered into the address bar)
No. Time Source Destination Protocol Info
54 6.329535 192.168.0.2 xx.xx.xx.xx HTTP GET /nowplaying/log.php?title=Surrender&artist=Cheap%20Trick&source=chrome HTTP/1.1
No. Time Source Destination Protocol Info
65 6.557172 xx.xx.xx.xx 192.168.0.2 HTTP HTTP/1.1 200 OK
mAirList
(This is mAirList’s with the same title and artist from the played item)
No. Time Source Destination Protocol Info
485 40.263045 192.168.0.2 xx.xx.xx.xx HTTP GET /nowplaying/log.php?title=Surrender&artist=Cheap%20Trick&source=studio1 HTTP/1.1
No. Time Source Destination Protocol Info
487 40.501505 xx.xx.xx.xx 192.168.0.2 HTTP HTTP/1.1 403 Forbidden (text/html)
I’m no expert on all this, but I’d say that it’s &source=studio1 (as opposed to the browser name: chrome in your case) that the server is moaning about.
‘User-agent’ frequently = browser type/name.
Send the error message to your ISP’s white-coated boffins and see what they advise.
I think the problem is actually the use agent (browser name sent in HTTP request). mAirList uses the Indy library. Your ISP is apparently blocking anything that is not a real browser (Internet Explorer or Mozilla).