aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

Many <urlopen error [Errno 101] Network is unreachable> errors on cppreference.com #161

Open tokox opened 10 months ago

tokox commented 10 months ago

When running cppman -r these errors are shown:

cplusplus.com (only few):
URL failed (https://cplusplus.com/reference/...): <urlopen error timed out>
URL failed (https://cplusplus.com/reference/...): <urlopen error _ssl.c:985: The handshake operation timed out>
cppreference.com (like half of requests):
URL failed (https://en.cppreference.com/w/cpp/...): <urlopen error [Errno 101] Network is unreachable>

Full example:

Indexing 'https://en.cppreference.com/w/cpp/utility/format' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/functional' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/initializer_list' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/hash' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/integer_sequence' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/pair' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/optional' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/program' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/source_location' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/tuple' (depth 2)...
Indexing 'https://en.cppreference.com/w/cpp/utility/variant' (depth 2)...
URL failed (http://en.cppreference.com/w/cpp/io/c/fopen): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/c/puts): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/cin): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/clog): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/cout): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/fpos): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/manip/quoted): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/manip/setprecision): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/io/manip/setw): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/iterator/begin): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/memory/allocator_traits): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/memory/weak_ptr): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/math/acos): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/math/exp): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/math/isinf): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/math/round): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/random/discard_block_engine): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/ranges-ranges-placeholder/iterator_t): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/ranges/input_range): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/regex/basic_regex): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/regex/regex_traits): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/thread/future): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/thread/mutex): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/thread/packaged_task): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/thread/promise): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/thread/sleep_for): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/types/climits): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/types/is_default_constructible): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/types/is_destructible): <urlopen error [Errno 101] Network is unreachable>
URL failed (http://en.cppreference.com/w/cpp/types/nullptr_t): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/algorithm/adjacent_difference' (depth 3)...
URL failed (http://en.cppreference.com/w/cpp/types/remove_cvref): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/algorithm/all_any_none_of' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/algorithm/accumulate' (depth 3)...
URL failed (http://en.cppreference.com/w/cpp/types/remove_reference): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/algorithm/adjacent_find' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/algorithm/binary_search' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/algorithm/bsearch' (depth 3)...
URL failed (http://en.cppreference.com/w/cpp/types/underlying_type): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/algorithm/clamp' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/algorithm/count' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/algorithm/copy' (depth 3)...
(...)
Indexing 'https://en.cppreference.com/w/cpp/error/error_code' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_code/hash' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_code/is_error_code_enum' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/container/vector/rend): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/error/error_code/category' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_condition/is_error_condition_enum' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_code/value' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_condition/hash' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/exception/operator%3D' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/exception/what' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/coroutine/noop_coroutine_promise' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/generic_category' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/coroutine/coroutine_handle): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/error/assert' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/exception_ptr' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/length_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/logic_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/exception/exception' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/domain_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/make_exception_ptr' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/overflow_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/errno' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/error/bad_exception): <urlopen error [Errno 101] Network is unreachable>
URL failed (https://en.cppreference.com/w/cpp/error/current_exception): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/error/errno_macros' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/error_category' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/rethrow_exception' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/set_unexpected' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/system_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/set_terminate' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/out_of_range' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/exception/%7Eexception' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/range_error' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/error/error_condition): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/error/throw_with_nested' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/underflow_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/rethrow_if_nested' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/uncaught_exception' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/system_category' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/apply' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/terminate_handler' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/basic_string/erase' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/nested_exception' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/error/get_terminate): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/experimental/basic_string_view' (depth 3)...
URL failed (https://en.cppreference.com/w/cpp/error/get_unexpected): <urlopen error [Errno 101] Network is unreachable>
URL failed (https://en.cppreference.com/w/cpp/error/invalid_argument): <urlopen error [Errno 101] Network is unreachable>
Indexing 'https://en.cppreference.com/w/cpp/experimental/boyer_moore_horspool_searcher' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/boyer_moore_searcher' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/concurrency/promise' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/any' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/runtime_error' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/barrier' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/experimental/deque/erase' (depth 3)...
Indexing 'https://en.cppreference.com/w/cpp/error/terminate' (depth 3)...

No idea why it is happening. Network is 100% working.