[ 
https://issues.apache.org/jira/browse/MESOS-10218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316178#comment-17316178
 ] 

prasadkulkarni0711 commented on MESOS-10218:
--------------------------------------------

[~apeters] same error without auth issue:
Master:

W0407 15:15:28.265599 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

W0407 15:15:37.716298 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

W0407 15:15:39.125362 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

W0407 15:15:41.140923 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

W0407 15:15:54.350383 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

W0407 15:15:58.431252 21961 process.cpp:911] Failed to accept socket: Failed 
accept: connection error: error:1407609C:SSL 
routines:SSL23_GET_CLIENT_HELLO:http request

 

Agent:

W0407 15:14:45.402662 257024 process.cpp:1431] Failed to recv on socket 17 to 
peer 'unknown': Connection reset by peer

I0407 15:14:45.402874 257023 slave.cpp:6456] Got exited event for 
[email protected]:5050

W0407 15:14:45.402896 257023 slave.cpp:6461] Master disconnected! Waiting for a 
new master to be elected

I0407 15:14:58.291779 257015 slave.cpp:7406] Current disk usage 0.93%. Max 
allowed age: 6.234819285845139days

W0407 15:15:39.125412 257024 process.cpp:1431] Failed to recv on socket 17 to 
peer 'unknown': Connection reset by peer

> Mesos slave fails to connect after enabling ssl
> -----------------------------------------------
>
>                 Key: MESOS-10218
>                 URL: https://issues.apache.org/jira/browse/MESOS-10218
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.9.0
>            Reporter: prasadkulkarni0711
>            Priority: Major
>
> Mesos agent fails to connect to the master after setting the following 
> variables:
> LIBPROCESS_SSL_ENABLED=1
> LIBPROCESS_SSL_KEY_FILE=/etc/mesos/conf/ssl/server.key
> LIBPROCESS_SSL_CERT_FILE=/etc/mesos/conf/ssl/server.pem
> LIBPROCESS_SSL_REQUIRE_CERT=false
> LIBPROCESS_SSL_VERIFY_SERVER_CERT=false
> LIBPROCESS_SSL_REQUIRE_CLIENT_CERT=false
> LIBPROCESS_SSL_HOSTNAME_VALIDATION_SCHEME=openssl
> LIBPROCESS_SSL_VERIFY_CERT=false
> LIBPROCESS_SSL_CA_DIR=/etc/mesos/conf/ssl
> LIBPROCESS_SSL_CA_FILE=/etc/mesos/conf/ssl/ca.pem
> LIBPROCESS_SSL_SUPPORT_DOWNGRADE=false
> LIBPROCESS_SSL_VERIFY_IPADD=false
> #LIBPROCESS_SSL_ENABLE_TLS_V1_2=true
> Error in logs:
> Failed to accept socket: Failed accept: connection error: error:1407609C:SSL 
> routines:SSL23_GET_CLIENT_HELLO:http request
> Connectivity works after setting:
> LIBPROCESS_SSL_SUPPORT_DOWNGRADE=true
> But then the sandbox fails to open in the web UI:
> Potential reasons:
>  * The agent is not accessible
>  * The agent timed out or went offline
> With the following error in the logs:
> Failed to recv on socket 38 to peer 'unknown': Failed recv, connection error: 
> Connection reset by peer



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to