Skip to content

求助,websocket.connect 创建第28234个socket必失败,ulimit 已经改过了。 #1542

Answered by cloudwu
lsx1994 asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/cloudwu/skynet/blob/master/lualib/http/sockethelper.lua#L93 此处 socket.open 返回 nil 连接失败时,还有第二个返回值是出错信息。建议输出出来看看失败原因。

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@lsx1994
Comment options

Comment options

You must be logged in to vote
3 replies
@lsx1994
Comment options

@sniper00
Comment options

@lsx1994
Comment options

Comment options

You must be logged in to vote
1 reply
@lsx1994
Comment options

Comment options

You must be logged in to vote
1 reply
@lsx1994
Comment options

Answer selected by lsx1994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants