librelist archives

« back to archive

Problem with SSL.

Problem with SSL.

From:
Rodolfo Gonzalez
Date:
2014-04-05 @ 00:46
Hi.

While testing my system with SSL, I was shocked to see this in Firebug:

1 Disconnect was called because: undefined
converse.js (línea 526)
1 _sendTerminate was called
converse.js (línea 526)
0 _throttledRequestHandler called with 1588 requests
converse.js (línea 526)
0 request id 1.0 posting
converse.js (línea 526)
ERROR: XHR open failed.
converse.js (línea 527)
ERROR: User connection callback caused an exception: InternalError: too
much recursion
converse.js (línea 527)
1 Disconnect was called because: undefined
converse.js (línea 526)
1 _sendTerminate was called
converse.js (línea 526)
0 _throttledRequestHandler called with 1589 requests
converse.js (línea 526)
Load of
Active content mixed load has been blocked "http://example.com/http-bind"

req.xhr.open("POST", this.service, true);

My setup is this:

1) I have an Amazon AWS ELB (load balancer) running HTTPS.
2) The ELB sends HTTP requests to lighttpd backends.
3) converse.js is loaded in a HTTPS served page.
4) converse.js connects back to the same server, which does reverse proxy
to the punjab server.

I'm doing pre-bind, with the script modified (in another thread I state
which modifications I did)

Re: Problem with SSL.

From:
Rodolfo Gonzalez
Date:
2014-04-05 @ 01:09
I found the problem. I was making a HTTP request to the proxy, not a HTTPS.


2014-04-04 18:46 GMT-06:00 Rodolfo Gonzalez <metayii.framework@gmail.com>:

> Hi.
>
> While testing my system with SSL, I was shocked to see this in Firebug:
>
> 1 Disconnect was called because: undefined
> converse.js (línea 526)
> 1 _sendTerminate was called
> converse.js (línea 526)
> 0 _throttledRequestHandler called with 1588 requests
> converse.js (línea 526)
> 0 request id 1.0 posting
> converse.js (línea 526)
> ERROR: XHR open failed.
> converse.js (línea 527)
> ERROR: User connection callback caused an exception: InternalError: too
> much recursion
> converse.js (línea 527)
> 1 Disconnect was called because: undefined
> converse.js (línea 526)
> 1 _sendTerminate was called
> converse.js (línea 526)
> 0 _throttledRequestHandler called with 1589 requests
> converse.js (línea 526)
> Load of
> Active content mixed load has been blocked "http://example.com/http-bind"
>
> req.xhr.open("POST", this.service, true);
>
> My setup is this:
>
> 1) I have an Amazon AWS ELB (load balancer) running HTTPS.
> 2) The ELB sends HTTP requests to lighttpd backends.
> 3) converse.js is loaded in a HTTPS served page.
> 4) converse.js connects back to the same server, which does reverse proxy
> to the punjab server.
>
> I'm doing pre-bind, with the script modified (in another thread I state
> which modifications I did)
>