oidc_proto_generate_random_string: apr_generate_random_bytes вернул ошибку
Я сталкиваюсь с ошибкой в apache 2.4.18 и mod_auth_openidc. Это происходит один раз в месяц, и сервер перестает отвечать на запросы и выдает 500 ошибок. Нам нужно перезапустить сервер apache, чтобы он снова заработал. Я думаю, что это из-за этой ошибки (oidc_proto_generate_random_string: apr_generate_random_bytes вернул ошибку), так как она появляется только в тот день несколько раз, и каждый запрос к /portal дает 500 ошибок. Мы используем Windows 10 Server 64 бит.
вот журнал след:
[Sat Oct 21 09:19:04.636457 2017] [ssl:debug] [pid 4164:tid 2440] ssl_engine_kernel.c(347): [client 10.130.15.124:26880] AH02034: Initial (No.1) HTTPS request received for child 34 (server myserver.com:443)
[Sat Oct 21 09:19:04.636457 2017] [alias:debug] [pid 4164:tid 2440] mod_alias.c(446): [client 10.130.15.124:26880] AH00673: incomplete redirection target of '/portal/' for URI '/' modified to 'https://mywebsite.com/portal/'
[Sat Oct 21 09:19:04.636457 2017] [ssl:debug] [pid 4164:tid 2440] ssl_engine_kernel.c(347): [client 10.130.15.124:26880] AH02034: Subsequent (No.2) HTTPS request received for child 34 (server myserver.com:443)
[Sat Oct 21 09:19:04.636457 2017] [authz_core:debug] [pid 4164:tid 2440] mod_authz_core.c(806): [client 10.130.15.124:26880] AH01626: authorization result of Require valid-user : denied (no authenticated user yet)
[Sat Oct 21 09:19:04.636457 2017] [authz_core:debug] [pid 4164:tid 2440] mod_authz_core.c(806): [client 10.130.15.124:26880] AH01626: authorization result of : denied (no authenticated user yet)
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] mod_auth_openidc.c(2585): [client 10.130.15.124:26880] oidc_check_user_id: incoming request: "/portal/?(null)", ap_is_initial_req(r)=1
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] util.c(772): [client 10.130.15.124:26880] oidc_util_get_cookie: returning "mod_auth_openidc_session" =
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] session.c(83): [client 10.130.15.124:26880] oidc_session_load:
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] util.c(811): [client 10.130.15.124:26880] oidc_util_request_matches_url: comparing "/portal/"=="/secret/redirect"
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] util.c(374): [client 10.130.15.124:26880] oidc_get_current_url: current URL 'https://mywebsite.com/portal/'
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] mod_auth_openidc.c(1715): [client 10.130.15.124:26880] oidc_authenticate_user: enter
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:debug] [pid 4164:tid 2440] shm.c(156): [client 10.130.15.124:26880] oidc_cache_shm_get: enter, section="provider", key="https://idmserver.com/.well-known/openid-configuration"
[Sat Oct 21 09:19:04.636457 2017] [auth_openidc:error] [pid 4164:tid 2440] [client 10.130.15.124:26880] oidc_proto_generate_random_string: apr_generate_random_bytes returned an error
[Sat Oct 21 09:19:04.636457 2017] [ssl:debug] [pid 4164:tid 2440] ssl_engine_io.c(1012): [client 10.130.15.124:26880] AH02001: Connection closed to child 34 with standard shutdown (server myserver.com:443)
[Sat Oct 21 09:19:06.870893 2017] [ssl:info] [pid 4164:tid 2440] [client 10.130.15.124:26881] AH01964: Connection to child 34 established (server myserver.com:443)
[Sat Oct 21 09:19:06.886611 2017] [ssl:debug] [pid 4164:tid 2440] ssl_engine_kernel.c(2122): [client 10.130.15.124:26881] AH02645: Server name not provided via TLS extension (using default/first virtual host)
[Sat Oct 21 09:19:06.886611 2017] [socache_shmcb:debug] [pid 4164:tid 2440] mod_socache_shmcb.c(489): AH00831: socache_shmcb_store (0x5c -> subcache 28)