There was an error while retrieving the URL specified
« on: February 26, 2016, 11:42:25 PM »
Windows Server 2008
IIS7
Server is hosted on an internal VM (our own data center)
There was an error while retrieving the URL specified: [ External links are visible to forum administrators only ]
HTTP Code:

HTTP headers:
x_csize: 0

HTTP output:
There is no firewall
Sitemap generator is installed on this local VM
Host file:
127.0.0.1 [ External links are visible to forum administrators only ] blah.com

In the browser on localhost, blah.com comes up
blah.com/generator works

Save Sitemap to:
E:\ProductionWeb\WEBSITES_V1\blah.com\

Your Sitemap URL:
[ External links are visible to forum administrators only ]

I did not see a solution in previous posts on this subject.

This machine is a clone of our production and is not externally available (didn't want to mess with production)

I can have my network guys NAT it out so you can access if necessary, but you will need to edit your host file. Can't do this until Monday though.
Re: There was an error while retrieving the URL specified
« Reply #1 on: February 27, 2016, 05:31:29 AM »
Hello,

you need to make sure that PHP script is allowed to access your website. You can check this by using a test script like this:
<?php

$initurl 
'http://www.yourdomain.com';

$ch curl_init();
curl_setopt($chCURLOPT_URL$initurl);
curl_setopt($chCURLOPT_HEADER1);
curl_setopt($chCURLOPT_VERBOSE1);

$fdata curl_exec($ch);
curl_close($ch); 
print_r($fdata);

Save it as PHP file and open in browser.
Re: There was an error while retrieving the URL specified
« Reply #2 on: February 29, 2016, 05:49:44 PM »
Response seems to indicate that php script is allowed access

HTTP/1.1 200 OK Date: Mon, 29 Feb 2016 17:47:46 GMT Server: Apache Transfer-Encoding: chunked Content-Type: text/html 1
Re: There was an error while retrieving the URL specified
« Reply #3 on: March 01, 2016, 06:25:03 AM »
Hello,

what is the full output of the testing script? Looks like it doesn't include the page html code.
Re: There was an error while retrieving the URL specified
« Reply #4 on: March 01, 2016, 04:08:17 PM »
Sorry, my bad, I didn't change mydomain.com
HTTP/1.1 200 OK Cache-Control: private Content-Length: 10883 Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.0 X-AspNet-Version: 4.0.30319 Set-Cookie: ASP.NET_SessionId=utig4332kovuowczj0xudnpu; path=/; HttpOnly Set-Cookie: rip=rip=127.0.0.1; path=/ X-Powered-By: ASP.NET Date: Tue, 01 Mar 2016 15:53:00 GMT
The full web page appears next, not html
Re: There was an error while retrieving the URL specified
« Reply #6 on: March 03, 2016, 04:30:28 PM »
Redownloaded and reinstalled, still no difference.

Re: There was an error while retrieving the URL specified
« Reply #8 on: March 04, 2016, 03:46:40 PM »
Still no difference, are there any debugging logs?  :(
Re: There was an error while retrieving the URL specified
« Reply #10 on: March 07, 2016, 05:40:17 PM »
enable debug output is already enabled. If this is not by default, I must have checked the box.
Where is this output supposed to be displayed? is it a log file or is it supposed to show something in a browser?
Re: There was an error while retrieving the URL specified
« Reply #11 on: March 08, 2016, 04:26:43 AM »
Hello,

it is displayed in the browser window below the progress details (if there are any debug details) - in case of connection error there might be no further debug details available though.
Re: There was an error while retrieving the URL specified
« Reply #12 on: March 08, 2016, 09:51:00 PM »
your are correct, there is no debug information. What else can we do? Can I get a refund and just use the web version? (not the demo one)
Re: There was an error while retrieving the URL specified
« Reply #13 on: March 09, 2016, 03:54:30 AM »
You can send a request to contact at xml-sitemaps.com. If you can provide us access to your sitemap generator, we'll be able to check this issue further.