Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
brix74 #1
Member since May 2008 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: connection via proxy
Hi,

i am developing a little c# IM client with agsxmpp, i tried to connect at home and it works ( with a gmail account ).
The problem is that in my office, the company uses a proxy to go to internet (it is something like "companyproxy.ced.company.it", not "http://etc_etc").
i'm not able to figure out how to connect from the office,
can somebody please help me?
This post was edited on 2012-01-31, 19:54 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Proxy is not supported in thr current version of the SDK.
Most Enterprise HTTP Proxies will not allow you to use HTTP CONNECT method anyway.
If you have a HTTP proxy at the office you should connect over HTTP Binding or HTTP Polling where HTTP proxies are supported. But this connection method is not supported by the Google servers.

Alex
Avatar
Jdeprat #3
Member since Nov 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Sorry, but do you cover now Proxy support on SDK?  with authentication?

(Proxy = inside proxy in one company to allow only HTTP external access).  XMPP server will be our own server, not Google..
Avatar
Alex #4
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by Jdeprat:
Sorry, but do you cover now Proxy support on SDK?  with authentication?

(Proxy = inside proxy in one company to allow only HTTP external access).  XMPP server will be our own server, not Google..

if your company allows only HTTP access then I suggest to use BOSH or HTTP Polling instaed of TCP/IP.
agsXMPP supports no proxies, but BOSH and HTTP Polling.

Our new SDK MatriX supports all proxies on TCP/IP layer, SOCKS4, SOCKS5 and HTTP.

Alex
Avatar
Jdeprat #5
Member since Nov 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Thanks for your fast answer!

We are planning to use HTTP polling or BOSH (we really need to see resources differences to see which is better), but when using HTTP we need to configure mannually proxy server (IP, port) in all HTTP communications. And sometimes authentication too...

agsXMPP is not a valid choice? Cannot use it for developing agent using manual proxy configuration?

MatriX is only for web development (Silverlight) and we need a full .NET presence agent...

Rgds,
Jose
Avatar
Alex #6
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by Jdeprat:
Thanks for your fast answer!

We are planning to use HTTP polling or BOSH (we really need to see resources differences to see which is better), but when using HTTP we need to configure mannually proxy server (IP, port) in all HTTP communications. And sometimes authentication too...

agsXMPP is using .NET WebRequests for Bosh and Polling. So you could set the Proxy property of the WebRequest.

Quote by Jdeprat:
MatriX is only for web development (Silverlight) and we need a full .NET presence agent...
MatriX for .NET is ready and will be released very soon. Its available on request and some customers use it already.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS