|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70735 no transport is specified, https:// fsockopen() does not impact the formattin
Submitted: 2015-10-18 22:19 UTC Modified: 2017-03-26 04:22 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: admin at angosso dot net Assigned:
Status: No Feedback Package: OpenSSL related
PHP Version: 5.6.14 OS: Unix-like
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: admin at angosso dot net
New email:
PHP Version: OS:


 [2015-10-18 22:19 UTC] admin at angosso dot net
fsockopen() does not support SSL/TLS with shared OpenSSL extension in domain
ssl:// will attempt to negotiate an SSL V2, or SSL V3 connection depending on the capabilities and preferences of the remote host. sslv2:// and sslv3:// will select the SSL V2 or SSL V3 protocol explicitly. The problem the found is caused by the difference between the client/server encryption methods used

Test script:
<?php $fp = fsockopen("tls://", 587, $errno, $errstr); 
stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_SSLv23_CLIENT); ?>
creating SSL streams (using https://):
$context = context_create_stream($context_options)
$fp = fopen('https://url', 'r', false, $context);

Expected result:
A successful SSL/TLS connection.
SSL/TLS client connection over TCP/IP to connect to the remote host

Actual result:
Warning: fsockopen():
Failed to detect socket transport


ang (last revision 2015-10-18 22:24 UTC by admin at angosso dot net)

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-17 02:07 UTC]
-Status: Open +Status: Feedback
 [2017-03-17 02:07 UTC]
This bug report is unintelligible.
Please rephrase what problem you're encountering and provide a working test script (your current script has undefined variables and misspelled function names).
 [2017-03-26 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 21:01:28 2024 UTC