2016-10-24 3 views
1

나는 behat laravel와 함께 일하고 있었는데 어떻게 든 작동을 멈췄다. 이 오류를 검색했지만 해결책을 찾지 못했습니다. 나는Behat 작동하지 않는 SSL 오류 fwrite() laravel

[ErrorException] 
    fwrite(): SSL operation failed with code 1. OpenSSL Error messages: 
    error:1409F07F:SSL routines:ssl3_write_pending:bad write retry 

이 사람이 좀 도와 주 시겠어요이 오류가 계속?

코드는 문제가 아니며 X 행을 읽은 다음 존재 여부에 관계없이 그 행에 적용한 것을 찾을 수 없다고 말합니다.

And I follow "Gebruiker aanmaken"         # FeatureContext::clickLink() 
    Then I should see "Nieuwe gebruiker aanmaken"      # FeatureContext::assertPageContainsText() 
    And I fill in "Voornaam" with "Jesse"        # FeatureContext::fillField() 
    And I fill in "Achternaam" with "Bessem"       # FeatureContext::fillField() 
    And I fill in "E-Mailadres" with "[email protected]"     # FeatureContext::fillField() 
    And I fill in "Functie" with "Eigenaar"       # FeatureContext::fillField() 
    And I fill in "Geboortedatum" with "14-07-1994"     # FeatureContext::fillField() 
    And I click on submit button "Aanmaken"       # FeatureContext::iClickOnSubmitButton() 
    Then I should not see "Nieuwe gebruiker aanmaken"     # FeatureContext::assertPageNotContainsText() 
    And I should see "Jesse"           # FeatureContext::assertPageContainsText() 
    And I should see "Bessem"           # FeatureContext::assertPageContainsText() 
     The text "Bessem" was not found anywhere in the text of the current page. (Behat\Mink\Exception\ResponseTextException) 
    And I should see "[email protected]"         # FeatureContext::assertPageContainsText() 
    And I should see "Eigenaar"          # FeatureContext::assertPageContainsText() 
    And I should see "14-07-1994"          # FeatureContext::assertPageContainsText() 
    And I should see "Er is een e-mail verstuurd naar [email protected]" # FeatureContext::assertPageContainsText() 



    [ErrorException] 
    fwrite(): SSL operation failed with code 1. OpenSSL Error messages: 
    error:1409F07F:SSL routines:ssl3_write_pending:bad write retry 

이 오류가 발생하는 정확한 방법, 내가 수동으로 할 때 내가 성을 볼 수있는, 내가 성을 볼 수 알고 있지만, 어떻게 든 걸리면 내가하면 그냥 그 오류를 trows입니다 줄을 제거 할이 이메일을 것 다음 한 느릅 나무에서와 trows에게 bessem 오류가 표시에 성공할 제시 참조

일부는 더

ErrorException in StreamBuffer.php line 232: 
fwrite(): SSL: Broken pipe 
in StreamBuffer.php line 232 
at HandleExceptions->handleError('2', 'fwrite(): SSL: Broken pipe', '/home/vagrant/aag/code/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php', '232', array('bytes' => 'QUIT ', 'bytesToWrite' => '6', 'totalBytesWritten' => '0')) 
at fwrite(resource, 'QUIT ') in StreamBuffer.php line 232 

을 파고 난 여전히의 원인을 알 수없는 마지막 후 그래도 문제는

+0

이 오류에 대해 어떤 종류의 컨텍스트를 제공해야합니다. 이것이 던져 질 때 무엇이 ​​실행되고 있습니까? – Devon

+0

이 오류는 behat 테스트를 실행할 때 throw됩니다. 따라서 벤더/bin/behat를 사용할 때 제 동료의 PC에서 제대로 실행되지만 문제가 해결되지 않았지만 현재 아무 일도 일어나지 않고 계속 발생합니다 – Jesse

+0

그것을 좁히지 않습니다 ... behat 테스트는 아무것도 테스트 할 수 있습니다. – Devon

답변

0

사람들이 dev 환경에서 behat를 사용하여 유사한 문제를 겪게 될 경우를 대비하여 좋습니다. 나를 좋아하지 않아 SMTP를 사용하지 말고 .env 파일에서 MAil_DRIVER로 로그를 사용하십시오.

0

fwrite() 바로 전에 sleep (5)를 추가해보십시오. 그 후에는 잘 작동합니다.

SSL_ERROR_WANT_WRITE 또는 SSL_ERROR_WANT_READ를 사용하여 반환 할 SSL_Write를 확인하고 동일한 매개 변수를 사용하여 SSL_write에 대한 호출을 다시 시도해보십시오.

+0

내가 했어 이걸 추가하면 불행히도 작동하지 않습니다 – Jesse

+0

버머 ...이 오류가 발생했을 때 작업했습니다. 더 많은 경험을 가진 누군가가 당신을 도울 수 있기를 바랍니다. – Jaldre

+0

나는 이것을 검색 할 때 귀하의 게시물을 보았을 것 같아요, 시도해 주셔서 고맙습니다. :) – Jesse

관련 문제