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

SSL_connect: Unexpected EOF (OpenSSL::SSL::Error) #5010

Closed
codenoid opened this issue Sep 20, 2017 · 4 comments
Closed

SSL_connect: Unexpected EOF (OpenSSL::SSL::Error) #5010

codenoid opened this issue Sep 20, 2017 · 4 comments

Comments

@codenoid
Copy link
Contributor

my code

CAT = File.read("somefile.txt")

loop do
  category = CAT.split("\n")
  category.each do |v|
    is_f = v.split("|")
    is_f == "c" ? fork { get(v) } : get(v)
  end
end

def get()
  # http client
  # n = number from http get
  (0...n).each do |i|
    # http client get
    # json parsing
    # http client post
  end
end

my app has been running for 1 hours, thanks ^^
error

SSL_connect: Unexpected EOF (OpenSSL::SSL::Error)
0x437105: ??? at ??
0x46e2f2: ??? at ??
0x46a779: ??? at ??
0x4695f7: ??? at ??
0x464e64: ??? at ??
0x4636a4: ??? at ??
0x4102c8: ??? at ??
0x430c6b: main at ??
0x7f3bad1ed830: __libc_start_main at ??
0x40e889: _start at ??
0x0: ??? at ??
@codenoid
Copy link
Contributor Author

when 0

@RX14
Copy link
Contributor

RX14 commented Sep 20, 2017

Please reopen this with some code to reproduce.

@RX14 RX14 closed this as completed Sep 20, 2017
@codenoid
Copy link
Contributor Author

codenoid commented Sep 20, 2017

@RX14 I guess I can not give it all, and this error comes after 1 hour running, so I'm not sure where exactly the problem , + icant reopen this issue

@RX14
Copy link
Contributor

RX14 commented Sep 20, 2017

We can't investigate anything without a working code sample. You can either give the whole code + instructions, or preferably you can remove the bits of code that are unneccesary to reproduce.

It appears to me that your code requests multiple URLs, perhaps it's the same URL which causes the error every time?

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

No branches or pull requests

2 participants