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

Crash report #869

Closed
ralphtheninja opened this issue Jan 17, 2017 · 3 comments
Closed

Crash report #869

ralphtheninja opened this issue Jan 17, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@ralphtheninja
Copy link
Contributor

Environment

  • OS: Ubuntu 16.04 LTS
  • Erlang/OTP: R18/7.3
  • EMQ: 2.0

Description

I run emqttd with tls enabled on port 8883 and get multiples of the following errors. Any help would be greatly appreciated. Thanks!

18:42:28.007 [error] CRASH REPORT Process <0.1274.0> with 0 neighbours crashed with reason: 
{ssl_error,timeout} in esockd_connection:upgrade/1 line 113
18:42:28.008 [error] Supervisor 'esockd_connection_sup - <0.1068.0>' had child connection 
started with emqttd_client:start_link([{max_clientid_len,1024},{max_packet_size,65536},
{client_idle_timeout,30}]) at <0.1274.0> exit with reason {ssl_error,timeout} in 
context connection_crashed                                          
@emqplus
Copy link
Contributor

emqplus commented Jan 18, 2017

@ralphtheninja The crash means SSL handshake timeout, please check the handshake_timeout config in etc/emq.conf:

mqtt.listener.ssl.handshake_timeout = 15

@emqplus emqplus self-assigned this Jan 18, 2017
@emqplus emqplus added this to the 2.0.7 milestone Jan 18, 2017
@turtleDeng
Copy link
Member

turtleDeng commented Jan 18, 2017

@ralphtheninja Use the 8884 port for WebSocket/SSL connections

@ralphtheninja
Copy link
Contributor Author

This was related to Azure Load Balancer pinging the service through a probe. However, it seems the ALB doesn't handle ssl connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants