SOAP-ERROR: Parsing WSDL Resolved
I'm using typolight v2.7.1 and have just uploaded a site to my isp. All was working ok on my local xampp server. The uploaded site is ok except for an error when attempting to open the extension manager or catalog. The error log shows the following::
PHP Fatal error: Uncaught exception 'SoapFault' with message 'SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.typolight.org/services/repository.wsdl' : failed to load external entity "http://www.typolight.org/services/repository.wsdl" ' thrown in /homepages/46/d72814091/htdocs/web2/system/modules/rep_client/RepositoryBackendModule.php on line 113
I found a previous forum topic which suggested this mod to the repclient/RepositoryBackendModule.php ::
$this->client =
new SoapClient($wsdl,
array(
'soap_version' => SOAP_1_2 /*,
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | 1*/
)
);
I tried this but still not working for me.
The typolight-check.php indicates that all permissions are fine and SOAP is enabled. I have also checked enabling ftp with the safe mode hack
My isp is oneandone
Any assistance appreciated
Re: SOAP-ERROR: Parsing WSDL
Fixed: Not sure which change resolved the issue but I installed the modified Request.php and cleared the cache. Repository and Manager are now available
Re: SOAP-ERROR: Parsing WSDL Resolved
Working with tl 2.7.3, safe mode hack and the latest request.php i got the following (soap is enabled and compression was deactivated/commented out):
Quote:
Warning: SoapClient::SoapClient(
http://www.typolight.org/services/repository.wsdl) [function.SoapClient-SoapClient]: failed to open stream: Connection timed out in /var/www/.../system/modules/rep_client/RepositoryBackendModule.php on line 114
Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "http://www.typolight.org/services/repository.wsdl" in /var/www/.../system/modules/rep_client/RepositoryBackendModule.php on line 114
Fatal error: Uncaught exception SoapFault with message SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.typolight.org/services/repository.wsdl' thrown in /var/www/.../system/modules/rep_client/RepositoryBackendModule.php on line 114
#0 /var/www/.../system/modules/rep_client/RepositoryBackendModule.php(114): SoapClient->SoapClient('http://www.typo...', Array)
#1 /var/www/.../system/modules/backend/BackendModule.php(114): RepositoryBackendModule->compile()
#2 /var/www/.../system/modules/rep_client/RepositoryBackendModule.php(62): BackendModule->generate()
#3 /var/www/.../system/modules/rep_client/RepositoryCatalog.php(28): RepositoryBackendModule->generate()
#4 /var/www/.../system/modules/backend/Backend.php(162): RepositoryCatalog->generate()
#5 /var/www/.../typolight/main.php(99): Backend->getBackendModule('repository_cata...')
#6 /var/www/.../typolight/main.php(294): Main->run()
#7 {main}
What went wrong? Any suggestions?
Thanks!
Re: SOAP-ERROR: Parsing WSDL Resolved
I'm having the same issue on an install of 2.7.3, where I get a similar error message. It's probably not necessary, but I'll post it anyways:
Code:
Fatal error: Uncaught exception SoapFault with message SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typolight.org/services/repository.wsdl' thrown in /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php on line 113
#0 /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php(113): SoapClient->SoapClient('http://typoligh...', Array)
#1 /home/alchemch/public_html/system/modules/backend/BackendModule.php(114): RepositoryBackendModule->compile()
#2 /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php(62): BackendModule->generate()
#3 /home/alchemch/public_html/system/modules/rep_client/RepositoryManager.php(31): RepositoryBackendModule->generate()
#4 /home/alchemch/public_html/system/modules/backend/Backend.php(162): RepositoryManager->generate()
#5 /home/alchemch/public_html/typolight/main.php(99): Backend->getBackendModule('repository_mana...')
#6 /home/alchemch/public_html/typolight/main.php(294): Main->run()
#7 {main}
On this same server, I also have an installation of TYPOlight 2.6.3 which gives the same error message. It never used to have this problem, and everything worked properly about 1 or 2 weeks ago. Also, I don't get this error message on some other hosting servers. This leads me to believe the problem is only with certain PHP / SOAP / Server configurations. Does anyone have any ideas on what might be the problem? Leo? Acenes?
Re: SOAP-ERROR: Parsing WSDL Resolved
@Ben: If there error came up just today or yesterday, it may be because the repository server has been changed during relaunch of the project website.
Re: SOAP-ERROR: Parsing WSDL Resolved
Oh - ok. Maybe one server has something in its cache (not working), but the other does not (working). Hopefully this will auto-resolve in a day.
Re: SOAP-ERROR: Parsing WSDL Resolved
This problem persists for me and I believe it relates to configuration problems on the web server. Here is my error message that is thrown when I go to Extension catalog or repository:
Code:
Fatal error: Uncaught exception SoapFault with message SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typolight.org/services/repository.wsdl' thrown in /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php on line 140
#0 /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php(140): SoapClient->SoapClient('http://typoligh...', Array)
#1 /home/alchemch/public_html/system/modules/backend/BackendModule.php(114): RepositoryBackendModule->compile()
#2 /home/alchemch/public_html/system/modules/rep_client/RepositoryBackendModule.php(89): BackendModule->generate()
#3 /home/alchemch/public_html/system/modules/rep_client/RepositoryCatalog.php(56): RepositoryBackendModule->generate()
#4 /home/alchemch/public_html/system/modules/backend/Backend.php(162): RepositoryCatalog->generate()
#5 /home/alchemch/public_html/typolight/main.php(99): Backend->getBackendModule('repository_cata...')
#6 /home/alchemch/public_html/typolight/main.php(294): Main->run()
#7 {main}
From a phpinfo on this same server, here are the relevant details for SOAP:
Code:
Configure Command: ... '--enable-soap' ...
Soap Client: enabled
Soap Server: enabled
Directive Local Value Master Value
soap.wsdl_cache: 1 1
soap.wsdl_cache_dir: /tmp /tmp
soap.wsdl_cache_enabled: 1 1
soap.wsdl_cache_limit: 5 5
soap.wsdl_cache_ttl: 86400 86400
Anyone have ideas on what could be the problem? What should I ask the hosting company to change so I can get things working?
Any help is much appreciated!
QUICK UPDATE: I am on TL 2.7.5 and I have tried commenting out the line regarding compression / GZIP, as mentioned above. This did not resolve anything for me.
Re: SOAP-ERROR: Parsing WSDL Resolved
The correct URL is http://www.typolight.org/services/repository.wsdl (see back end settings).
Re: SOAP-ERROR: Parsing WSDL Resolved
Wow - changing the URL to include "www." fixed the problem! I don't think I ever modified it, so I'm not sure what happened. Anyways, I'm glad things are working and that it was such an easy fix.
Re: SOAP-ERROR: Parsing WSDL Resolved
Hello, I have similar error on Contao 2.9.0:
Error code:
Code:
Warning: SoapClient::SoapClient() [soapclient.soapclient]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php on line 139
#0 [internal function]: __error(2, 'SoapClient::Soa...', '/home/ecotest/p...', 139, Array)
#1 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(139): SoapClient->SoapClient('http://www.cont...', Array)
#2 /home/ecotest/projects/contao/system/modules/backend/BackendModule.php(116): RepositoryBackendModule->compile()
#3 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(88): BackendModule->generate()
#4 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryManager.php(71): RepositoryBackendModule->generate()
#5 /home/ecotest/projects/contao/system/modules/backend/Backend.php(186): RepositoryManager->generate()
#6 /home/ecotest/projects/contao/contao/main.php(101): Backend->getBackendModule('repository_mana...')
#7 /home/ecotest/projects/contao/contao/main.php(297): Main->run()
#8 {main}
Warning: SoapClient::SoapClient(http://www.contao.org/services/repository.wsdl) [soapclient.soapclient]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php on line 139
#0 [internal function]: __error(2, 'SoapClient::Soa...', '/home/ecotest/p...', 139, Array)
#1 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(139): SoapClient->SoapClient('http://www.cont...', Array)
#2 /home/ecotest/projects/contao/system/modules/backend/BackendModule.php(116): RepositoryBackendModule->compile()
#3 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(88): BackendModule->generate()
#4 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryManager.php(71): RepositoryBackendModule->generate()
#5 /home/ecotest/projects/contao/system/modules/backend/Backend.php(186): RepositoryManager->generate()
#6 /home/ecotest/projects/contao/contao/main.php(101): Backend->getBackendModule('repository_mana...')
#7 /home/ecotest/projects/contao/contao/main.php(297): Main->run()
#8 {main}
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://www.contao.org/services/repository.wsdl" in /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php on line 139
#0 [internal function]: __error(2, 'SoapClient::Soa...', '/home/ecotest/p...', 139, Array)
#1 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(139): SoapClient->SoapClient('http://www.cont...', Array)
#2 /home/ecotest/projects/contao/system/modules/backend/BackendModule.php(116): RepositoryBackendModule->compile()
#3 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(88): BackendModule->generate()
#4 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryManager.php(71): RepositoryBackendModule->generate()
#5 /home/ecotest/projects/contao/system/modules/backend/Backend.php(186): RepositoryManager->generate()
#6 /home/ecotest/projects/contao/contao/main.php(101): Backend->getBackendModule('repository_mana...')
#7 /home/ecotest/projects/contao/contao/main.php(297): Main->run()
#8 {main}
( ! ) Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.contao.org/services/repository.wsdl' : failed to load external entity "http://www.contao.org/services/repository.wsdl" in /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php on line 139
Call Stack
# Time Memory Function Location
1 0.0011 199992 {main}( ) ../main.php:0
2 0.0345 3976832 Main->run( ) ../main.php:297
3 0.0358 4124096 Backend->getBackendModule( ) ../main.php:101
4 0.0419 4959440 RepositoryManager->generate( ) ../Backend.php:186
5 0.0421 4964520 RepositoryBackendModule->generate( ) ../RepositoryManager.php:71
6 0.0430 4967424 BackendModule->generate( ) ../RepositoryBackendModule.php:88
7 0.0431 4969848 RepositoryBackendModule->compile( ) ../BackendModule.php:116
8 0.0458 5038680 SoapClient->SoapClient( ) ../RepositoryBackendModule.php:139
Not sure what is going wrong, I've installed 2 addons last day (Modules: Development and Conditional Select Menu), next day when open Contao back-end sow this error.
Re: SOAP-ERROR: Parsing WSDL Resolved
It says there is a temporary error. If the error continues to show up in the next 24h, please notify us.
Still, Contao should catch every SOAP exception to make the backend usable even if there is a SOAP error.
Re: SOAP-ERROR: Parsing WSDL Resolved
Thank you for the answer.
It's past longer than 24h and I still get the same error! I run Contao on Fedora 11, if that helps.
Re: SOAP-ERROR: Parsing WSDL Resolved
You may want to try the "tenside repository" extension to see if it clears up the problem.
http://www.contao.org/extension-list/vi ... 09.en.html
Re: SOAP-ERROR: Parsing WSDL Resolved
Thank you Ben,
Actually I've installed this extension manually, and it's working but I get new error message now :)
Code:
Error: wsdl error: HTTP ERROR: Couldn't open socket connection to server http://www.contao.org/services/repository.wsdl prior to connect(). This is often a problem looking up the host name.
#0 [internal function]: NuSoapClient->__call('getExtensionLis...', Array)
#1 /home/ecotest/projects/contao/system/modules/rep_client/RepositoryBackendModule.php(211): NuSoapClient->getExtensionList(Array)
#2 /home/ecotest/projects/contao/system/modules/tensiderepository/TensideCatalog.php(148): RepositoryBackendModule->getExtensionList(Array)
#3 /home/ecotest/projects/contao/system/modules/tensiderepository/Tenside.php(139): TensideCatalog->listExtensions('')
#4 /home/ecotest/projects/contao/system/modules/backend/BackendModule.php(116): Tenside->compile()
#5 /home/ecotest/projects/contao/system/modules/tensiderepository/Tenside.php(60): BackendModule->generate()
#6 /home/ecotest/projects/contao/system/modules/tensiderepository/TensideCatalog.php(46): Tenside->generate()
#7 /home/ecotest/projects/contao/system/modules/backend/Backend.php(186): TensideCatalog->generate()
#8 /home/ecotest/projects/contao/contao/main.php(101): Backend->getBackendModule('repository_cata...')
#9 /home/ecotest/projects/contao/contao/main.php(297): Main->run()
#10 {main}
So this seems very strange for me, like I have no access to this location, but indeed I can copy address "http://www.contao.org/services/repository.wsdl" to browser and access this file. Also strange because I've installed 2x extensions from the beginning using SOAP ...
Re: SOAP-ERROR: Parsing WSDL Resolved
Looks like either your server or some auxiliary hardware (gateways, routers) does have a lookup problem. You should try and contact your hoster.
Re: SOAP-ERROR: Parsing WSDL Resolved
I just saw that you're using TYPOlight 2.7.1. Please update to 2.8 or Contao 2.9 and check whether the problem appears again.
Edit: Sorry, never mind, looked at a different post.
Re: SOAP-ERROR: Parsing WSDL Resolved
There is smth. wrong with Extension catalog because no matter what page i try (different server, localhost) I get error:
Code:
[11-Feb-2012 14:57:23] PHP Fatal error: Uncaught exception 'SoapFault' with message 'mysqli::query() [mysqli.query]: (HY000/1030): Got error 134 from storage engine
/home/www/contao/system/drivers/DB_Mysqli.php[357]
/home/www/contao/system/modules/rep_server/RepositoryService.php[62]' thrown in C:\wamp\www\medbiro\system\modules\rep_client\RepositoryBackendModule.php on line 217
The same here: http://www.contao.org/en/extension-list.html
Leo please fix it.