Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a more concise error for complete failures #6

Open
Chaphasilor opened this issue Mar 7, 2021 · 2 comments
Open

Provide a more concise error for complete failures #6

Chaphasilor opened this issue Mar 7, 2021 · 2 comments
Assignees
Labels
easy fix enhancement Improves an existing feature

Comments

@Chaphasilor
Copy link
Owner

If there are e.g. permission issues for an OD, ODD will output

URLs with errors:
<root OD URL>

at the end.
This indicates that not only didn't it find any files, but it also failed to actually scan the OD in the first place

@Chaphasilor Chaphasilor added enhancement Improves an existing feature easy fix labels Mar 7, 2021
@Chaphasilor Chaphasilor self-assigned this Mar 7, 2021
@Chaphasilor
Copy link
Owner Author

The above output could indicate one of the following:

  • The URL isn't an OD (and contains no links at all)
    Examples: 404 page, 502 page
  • The URL is protected via e.g. a password (HTTP basic, etc.) and returns an 4xx status code
  • The server sent no response at all

@Chaphasilor
Copy link
Owner Author

Warning for non-OD:

WARN OpenDirectoryIndexer..ctor [Processor 1] Error Response status code does not indicate success: 404 (Not Found). retrieving on try 1 for url '/stuff/Videos/'. Skipping..

Warning for non-success code (after a few retries, 502 error in this case):

WARN OpenDirectoryIndexer.TimerStatistics_Elapsed
...
WARN OpenDirectoryIndexer..ctor [Processor 1] Cancelling on try 5 for url 'xxx'

Warning for server not responding:

WARN OpenDirectoryIndexer..ctor [Processor 1] Error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (<domain>) retrieving on try 2 for url 'xxx'. Waiting 4 seconds
...
WARN OpenDirectoryIndexer..ctor [Processor 1] Cancelling on try 5 for url 'xxx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy fix enhancement Improves an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant