NetEase / pomelo

A fast,scalable,distributed game server framework for Node.js.
http://pomelo.netease.com
MIT License
11.87k stars 2.9k forks source link

Getting routines:ssl3_read_bytes:sslv3 alert bad certificate:../deps/openssl/openssl/ssl #1102

Closed creatiosoft closed 6 years ago

creatiosoft commented 6 years ago

Hi,

I am trying to implement SSL on game server. After getting successful response from gate, game server getting disconnected with connector with below error. Strange part is mobile build working fine but web build having bad certificate issue.

[192.168.2.2] [2018-08-31 17:06:15.581] [DEBUG] pomelo - [/home//game-server/app.js] )))))))))))))))))))))insert(((((((((((((

[192.168.2.2] [2018-08-31 17:06:15.581] [DEBUG] pomelo - [/home//game-server/app.js] module.exports.insertUserSessionInDB

[192.168.2.2] [2018-08-31 17:06:15.582] [DEBUG] pomelo - [/home//game-server/app.js] module.exports.insertUserSessionInDB --res

[192.168.1.5] [2018-08-31 17:06:15.641] [DEBUG] pomelo - [/home//node_modules/pomelo/lib/common/service/sessionService.js] session on [gate-server-1] is closed with session id: 1

[192.168.1.3] [2018-08-31 17:06:15.803] [DEBUG] pomelo - [/home/i/game-server/app.js] Caught exception: Error: 140672158787392:error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate:../deps/openssl/openssl/ssl/s3_pkt.c:1498:SSL alert number 42

at Error (native)

Let me know what wrong I am doing.