PHP Upload SlideShare SSL Reset?

147 views
Skip to first unread message

Mads Jürgensen

unread,
Jan 28, 2016, 1:58:14 AM1/28/16
to SlideShare Developers
Hey,

Lately we've been getting a lot of "Connection Reset by Peer" on uploading slideshows.

Parts of the error and stacktrace:

[2016-01-19 08:00:26] production.ERROR: exception 'ErrorException' with message 'fputs(): SSL: Connection reset by peer' in /home/forge/nvoyer/releases/X/app/Eloomi/Functionality/SlideShare.php:138
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleError(2, 'fputs(): SSL: C...', '/home/forge/nvo...', 138, Array)
#1 /home/forge/nvoyer/releases/X/app/Eloomi/Functionality/SlideShare.php(138): fputs(Resource id #571, 'POST /api/1/upl...')
#2 /home/forge/nvoyer/releases/X/app/Eloomi/Functionality/SlideShare.php(60): Eloomi\Functionality\SlideShare->post_data('upload_slidesho...', Array, Array)
#3 /home/forge/nvoyer/releases/X/app/Eloomi/Workers/SlideshareWorker.php(62): Eloomi\Functionality\SlideShare->upload('/home/forge/nvo...')

We have auto-retry set up for 3 attempts, but all 3 of them gets this error.

Which uses fsockopen() with stream_get_contents()


Usually it works, but lately we're getting more and more of the above errors which is frustrating for our users..

Anyone have some ideas?
Reply all
Reply to author
Forward
0 new messages