Expand my Community achievements bar.

Problem while using the site importer

Avatar

Level 2

Whenever I am trying to import an existing site into AEM ,I am getting an error .If any one can kindly tell me where i am going wrong ??

7 Replies

Avatar

Level 5

Saikat Kumar Kuila wrote...

Whenever I am trying to import an existing site into AEM ,I am getting an error .If any one can kindly tell me where i am going wrong ??

 

can you provide the error log details so that it will be helpful to suggest.?

Avatar

Level 5

also you can click on the logs in the importer and see which step is getting failed and the same can be cross referenced with the error.log file.

I have tried to test this functionality and able to import the page with out any failure.

Avatar

Level 2

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Error while extracting HTML references from http://www.google.com

 

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Error while extracting CSS references from http://www.google.com

 

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Could not obtain remote resource http://www.google.com

These 3 are the main errors I am getting after going through the log file . If you can kindly suggest ways in which I can resolve the error or as to why I am having this error in the first place.

Thanks in Advance 

Avatar

Level 5

Saikat Kumar Kuila wrote...

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Error while extracting HTML references from http://www.google.com

 

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Error while extracting CSS references from http://www.google.com

 

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Could not obtain remote resource http://www.google.com

These 3 are the main errors I am getting after going through the log file . If you can kindly suggest ways in which I can resolve the error or as to why I am having this error in the first place.

Thanks in Advance 

 

i guess your AEM is not able to connect to the http://www.google.com. Can you try https .? also are you behind of any proxy .?

Avatar

Level 2

yes i am behind a proxy . if that is preventing me from connecting to the site I want to import , can you suggest me ways in which i can get this thing done ??

Avatar

Level 5

Saikat Kumar Kuila wrote...

yes i am behind a proxy . if that is preventing me from connecting to the site I want to import , can you suggest me ways in which i can get this thing done ??

 

Go to "http://host:port/system/console/configMgr" page and provide proxy details and try once. If still not solving the problem not sure on your local instance and outside network connectivity settings.

Avatar

Level 2

Since I had proxy issues I tried to import a website that is within my proxy network .

I get a new error saying 

  1. String index out of range: -1

Can anyone tell me why I am getting this error?I am new to this site importer thing so any help is very much appreciated.

Thanks in Advance.