Spark through a restrictive proxy?

I’‘m currently using GAIM. I’‘m running my own WildFire 3.0.1 server. I decided to check out Spark. There are some nice things about it. I have a buddy that is behind a very restrictive firewall/proxy combo. We were able to get GAIM to work behind it. I’‘m trying to get Spark to work, and it just won’'t connect to the server.

In GAIM, here are the settings:

screen name: fred

server: scovel

resource: home

password: *******

alias: Fred

Use TLS if available: True

Force TLS: True

Force Old port SSL: True

Connect Port: 443

connect server: scovel.*****.****

Proxy Type: HTTP

Host: Proxy..

Port: 80

Username: corp\Fred

Password: ******

Here are the Spark settings:

Username: fred

Password: ******

server: scovel

Automatically discover host and Port: False

Connection: scovel.*****.****

Port: 443

Resource: Spark

Use OLD SSL Port method: True

Use Proxy Server: True

Protocol: HTTP

host: Proxy..

Port: 80

Username: corp\Fred

Password: ******

The error was:

Can’'t connect to server: invalid name or server not reachable.

Thanks,

Sean

Hi,

I did post a patch for Smack (the xmpp libs which are used by Spark) to enable HTTP CONNECT. But it is not a final version and one will need to tweak it a little bit before it can become final.

Spark does support a socks proxy to connect to xmpp servers. The HTTP proxy one can configure is unfortunately only used by the plugin and update service.

LG

I’'m not a Java programmer, so that thread is not very helpful to me. Do you have a downloadable version of the library you patched?

Have you submitted your patch to become part of the official release?

Thanks,

Sean

Hi Sean,

the code is still “dirty”, the proxy is hard-coded and it is currently not possibly to supply a username and password for proxy usage. These are really minor issues but as long as jivesoftware.com does not (want to) include the code in Smack I see no need to change something there. So one still needs to convince the developers that this would be a good feature.

I assume that one must modify Smack and Spark to allow Smack to use the http proxy one configures within Spark but this is a question for the developers at JS.org.

LG

Hi,

I saw that you gave a patch for Smack (the xmpp libs which are used by Spark) to enable HTTP CONNECT. but when i am tried to click that link its forwarding to this url http://www.igniterealtime.org/?threadID=21960. Could you please help in this.

http://www.igniterealtime.org/community/thread/21960