XML Sitemaps Generator

Author Topic: There was an error while retrieving the URL specified  (Read 3795 times)

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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 admins 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 admins 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 admins 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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: There was an error while retrieving the URL specified
« Reply #5 on: March 03, 2016, 12:24:06 PM »
Hello,

please try to redownload and reinstall sitemap generator.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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.


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: There was an error while retrieving the URL specified
« Reply #7 on: March 04, 2016, 05:14:58 AM »
Please try to enable "use CURL" setting in generator configuration.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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?  :(

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: There was an error while retrieving the URL specified
« Reply #9 on: March 05, 2016, 01:19:44 PM »
You can enable "Debug info" setting in generator configuration.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

eddie.k.lau

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
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)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2