借鉴simpleweb写的https功能,现在启动从服务后出现Socket Error。 #1660
Replies: 5 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
其实可以不要用skynet开https,可以用nginx来做转接,由nginx来做证书保证。 |
Beta Was this translation helpful? Give feedback.
-
config这个字段启用了吗enablessl |
Beta Was this translation helpful? Give feedback.
-
代码是不是不完整?process函数怎么调用的? |
Beta Was this translation helpful? Give feedback.
-
证书在 nginx 上测试过没?可以试试我写的这个是否报错。 https://github.com/hanxi/skynet-demo/blob/master/service/web_agent.lua https://github.com/hanxi/skynet-demo/blob/master/service/web_watchdog.lua |
Beta Was this translation helpful? Give feedback.
-
该Socket Error频繁出现,请各位大神支支招,指指方向,如何解决?谢谢,不胜感激!
https功能代码如下:
socket Error提示如下:
注:proxy_slave_server.lua:2089指的是业务处理函数process中的***socketInterface.init()***处
Beta Was this translation helpful? Give feedback.
All reactions