Website monitoring on port 80 says 301

InteractMarketing 11 years ago updated by Konstantin (Here to help) 11 years ago 6

I have set a test monitoring for www.rosica.com website server as HTTP connection using GET over port 80. By default it works using NL-Amsterdam but when I want to add US-Dallas it shows to update port (I have put 80 again) but after saving all settings it returns errors as site mover permanently 301 redirect what is not true. Any idea what I have missed something in settings? Thanks

But it is in fact so. You can test it the following way: 

  1. download and install Anturis Transaction Recorder - this tool will record all HTTP messages going to/from the built-in browser.
  2. Run it and type http://www.rosica.com:80 to the address bar. 
  3. In the left-top pane you will see two requests to www.rosica.com/. Select the first one and then select 'Response' tab below. You will see that server returned 301 status indeed.
We will check tomorrow what kind of server configuration may result in such behavior.

www.rosica.com is hosted by 1&1 but I have tested another website - www.interactmarketing.com which is hosted by BlueHost and getting same result - 301. No clue why.

This is what we send for http://www.rosica.com:80 :

GET / HTTP/1.1

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.3 (KHTML, like Gecko) Anturis Monitoring Transaction Recorder Safari/533.3

Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-encoding: *;q=0

Host: www.rosica.com:80

For which your server responds 301 for some reason (check your web server configuration).

Browsers  do other way round: they ignore ":80" if you type it to the address string and just send:

Host: www.rosica.com

For which your server responds 200.

The fact is that right now you can not not supply 80 port in URL as you pointed out - our GUI forbids this. This is a bug and will be fixed in the next release. 

Right now you can use Anturis Transaction Recorder to record scenarios (sequence of HTTP requests) - it is any much more powerfull tool than checking just a single URL.

Thanks for bringing this up!

Is there any tutorial how to use ATR with rest of the system? Also www.interactmarketing.com is on shared hosting so there is no way for us to adjust that issue with port 80.


Just to let you know this issue is fixed.