Expand my Community achievements bar.

Uncaught exception 'RTCError' with message 'connection-failed' in lccs.php:729

Avatar

Level 2

I am unable to connect to my account.

I get the above mentioned exception.

I have lccs version 1.3.5 and my php version is 5.2.9

Its an apcahe running on windows vista.

I just have the following code on the server:

include "lccs.php";
$am = new RTCAccount("https://collaboration.adobelivecycle.com/rkcloud");

5 Replies

Avatar

Employee

Do you have the SSL module loaded/enabled in PHP ?

Call the "phpinfo()" function in a PHP page and check that the SSL module is correctly configured. You should see something similar to the following messages:

Registered Stream Socket Transportstcp, udp, unix, udg, ssl, sslv3, sslv2, tls

Loaded Modulescore prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_php5 mod_ssl

curl

CURL supportenabled
CURL Informationlibcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

openssl

OpenSSL supportenabled
OpenSSL VersionOpenSSL 0.9.8b 04 May 2006

Also check your error_log file in the Apache log directory: it should give you more information of what the real cause of the problem is.

Avatar

Level 2

Hi Raff,

Thanks for replying.

1> Yes. I have SSL module loaded/enabled in PHP.

2> There isn't anything in apache's error log but the access log has following entry:

192.168.2.105 - - [03/Jan/2011:13:19:48 -0800] "GET /flashservices/test.php HTTP/1.1" 200 733

The apache is part of xampp that is running on my local.

Avatar

Level 2

phpinfo:

Registered Stream Socket Transports           tcp, udp

cURL support           enabled

cURL Information           libcurl/7.16.0 OpenSSL/0.9.8i zlib/1.2.3

Avatar

Employee

This makes me think that you don't have the SSL module enabled (but your

cURL installation is built with SSL support).

Try to set RTC::$USE_CURL=true in your code. This will make the LCCS library

use cURL instead of the stream networking layer.

Also set RTC::$DEBUG=true. This should print more info (they will go to

standard output, so they may endup in your HTML page).

Avatar

Level 2

setting RTC::$USE_CURL=true helped. Its working now. Thanks a lot.