Project

General

Profile

Actions

Bug #15697

closed

HTTP Proxy Support missing

Added by Norman Seibert over 18 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2006-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The SOAP-Clients are created without passing the proxy parameters which are used by the Core's HTTP-functions. Therefore the Ext.-Manager does not work behind a (mandatory) proxy.

I added a quick fix to typo3/mod/tools/em/class.em_soap.php which should work for nusoap and pearsoap, for phpsoap I did not find any documentation.
(issue imported from #M2663)


Files

class.em_soap.php (11.7 KB) class.em_soap.php Administrator Admin, 2006-02-21 21:02

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #19558: Upload to TER behind proxy not possibleClosed2008-11-03

Actions
Actions #1

Updated by Robert Lemke almost 18 years ago

Karsten, can you check that?

Actions #2

Updated by Karsten Dambekalns almost 18 years ago

I did not implement this because it would have needed stream context support at some point, which was not available in our supported PHP versions... This can probably go into 4.1, as we will raise the PHP version dependency to 4.3 as it seems. I'll check.

Actions #3

Updated by HO Thi almost 18 years ago

PHP 5.1.2
Typo3 4.0.4

I've tried to upload an extension to the TER with the file class.em_soap.php attached here.
It seems to do a step further than before, but I get the following message : SOAP-ENV:Client: Bad Request.

Can someone give a definitive fix? Thanks a lot.

Actions #4

Updated by Marcus Krause almost 16 years ago

What's the current status?

Actions #5

Updated by Karsten Dambekalns almost 16 years ago

As far as I know nothing has been done towards that end, definitely not by me. Feel free to grab the issue! ;)

Actions #6

Updated by Thomas Trethan over 13 years ago

in Typo3 4.5.2 in typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php before line 89 where SoapClient is instantiated:

if ($proxyServer = parse_url($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer'])) {
if ($proxyServer['host']) {
$options['soapoptions']['proxy_host'] = $proxyServer['host'];
}
if ($proxyServer['port']) {
$options['soapoptions']['proxy_port'] = $proxyServer['port'];
}
if ($proxyCreds = explode(':', $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyUserPass'])) {
$options['soapoptions']['proxy_login'] = $proxyCreds[0];
$options['soapoptions']['proxy_password'] = $proxyCreds[1];
}
}
Actions #7

Updated by Helmut Hummel about 13 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (4)

This is fixed in 4.5 right?

Actions #8

Updated by Martin Muskulus about 13 years ago

In TYPO3 v4.6.0 proxy support works for
- downloading mirror list
- downloading language files
- importing extensions from ter

BUT it doesn't work not for downloading My Extension's list

I add my typo3.org account credentials in the settings tab to activate my extensions tab. Opening my extensions tab causes timeout while fetching my extensions list.

typo3's syslog says:

Core: Error handler (BE): PHP Warning: SoapClient::__doRequest(): connect() failed: Connection timed out in /opt/typo3_src-4.6.0/typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php line 214

Adding Thomas code to typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php solves the problem for me.

Actions #9

Updated by Alexander Opitz over 11 years ago

  • TYPO3 Version changed from 4.0 to 4.6

As 4.6 isn't supported anymore, does this problem exists in 4.7?

Anyway, in the next months there may be an extension uploder on the t3o page and the upload feature from the EM will be removed. So if not fixed it may be closed anyway as won't fixed.

Actions #10

Updated by Martin Muskulus over 11 years ago

The problem still exists in 4.7.10.

from apaches log:

PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typo3.org/wsdl/tx_ter_wsdl.php' : failed to load external entity "http://typo3.org/wsdl/tx_ter_wsdl.php"\n in /opt/typo3_src-4.7.10/typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php on line 88

I applied the same fix. But filtering my extension list by name will flash an error message in the typo3 backend

invalid
internal server error

Using Opera Dragonfly I can see this is the result of the HTTP/1.1 POST to /typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EMSOAP but i'm not into typo3 ajax to debug any further.

Actions #11

Updated by Alexander Opitz over 11 years ago

  • Assignee set to Alexander Opitz
  • TYPO3 Version changed from 4.6 to 4.7
Actions #12

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Accepted
Actions #13

Updated by Wouter Wolters almost 10 years ago

  • Status changed from Accepted to Closed
  • Is Regression set to No

Extension upload functionality has been removed from TER. Use other upload tools, or upload directly using the interface on typo3.org

Actions #14

Updated by Wouter Wolters almost 10 years ago

  • Status changed from Closed to Accepted

This is also about getting extensions. Reopened again.

Actions #15

Updated by Helmut Hummel almost 10 years ago

  • Status changed from Accepted to Closed

No Soap calls in 6.x any more to fetch the extension list

Actions

Also available in: Atom PDF