Look for Traces in the Log
-
Set the logger
fetcher to the
trace
level:
- Edit
<DATADIR>/config/Logging.xml
-
Add the line:
<master:LoggingLevel level="trace" process="crawler-exa0"/>
Note:process
is the process name of your crawler.
- Edit
- Click Apply.
-
Look for full HTTP traces in the crawler process log.
Recommendation: This makes the crawler process log really verbose. Do not enable it continuously.
You can also use HTTPFox (Firefox extensions), Wireshark, or similar tools to analyze the HTTP requests during the authentication process, and compare behaviors in a browser and in the fetcher.
If everything fails, you can still try to log in with a browser, export the cookies, and give them to the fetcher. This only works until the session expires, but it is better than nothing.