[jadmin] Ejabberd + Proxy65

Matt Gibson diwelf at gmail.com
Fri Sep 29 13:58:55 CDT 2006


Hi Again,

I tried with twisted 1.2.0 and I get the following:

# mktap proxy65 --jid=proxy.chat.mydomain.com --secret=secret
--rhost=127.0.0.1 --rport=6000 --pxyips=64.246.XX.XX:7777


/usr/lib/python2.4/site-packages/twisted/words/__init__.py:21:
UserWarning: twisted.words will be undergng a rewrite at some point in
the future.
  warnings.warn("twisted.words will be undergoing a rewrite at some
point in the future.")
Traceback (most recent call last):
  File "/usr/bin/mktap", line 30, in ?
    run()
  File "/usr/lib/python2.4/site-packages/twisted/scripts/mktap.py",
line 152, in run
    options.parseOptions(sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/twisted/python/usage.py",
line 209, in parseOptions
    self.postOptions()
  File "/usr/lib/python2.4/site-packages/twisted/scripts/mktap.py",
line 139, in postOptions
    self.parseOptions(self.params)
  File "/usr/lib/python2.4/site-packages/twisted/python/usage.py",
line 197, in parseOptions
    self.subOptions = parser()
  File "/usr/lib/python2.4/site-packages/twisted/scripts/mktap.py",
line 105, in <lambda>
    sc = [ [name, None, (lambda obj=module:obj.load().Options()),
  File "/usr/lib/python2.4/site-packages/twisted/python/plugin.py",
line 61, in load
    return namedModule(self.module)
  File "/usr/lib/python2.4/site-packages/twisted/python/reflect.py",
line 369, in namedModule
    topLevel = __import__(name)
  File "/usr/lib/python2.4/site-packages/proxy65/proxy65.py", line 27, in ?
    from twisted.words.protocols.jabber import component
  File "/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/component.py",
line 71, in ?
    class Service(service.Service):
  File "/usr/lib/python2.4/site-packages/zope/interface/advice.py",
line 132, in advise
    return callback(newClass)
  File "/usr/lib/python2.4/site-packages/zope/interface/declarations.py",
line 550, in _implements_advic
    classImplements(cls, *interfaces)
  File "/usr/lib/python2.4/site-packages/zope/interface/declarations.py",
line 527, in classImplements
    spec.declared += tuple(_normalizeargs(interfaces))
  File "/usr/lib/python2.4/site-packages/zope/interface/declarations.py",
line 1345, in _normalizeargs
    _normalizeargs(v, output)
  File "/usr/lib/python2.4/site-packages/zope/interface/declarations.py",
line 1344, in _normalizeargs
    for v in sequence:
TypeError: Error when calling the metaclass bases
    iteration over non-sequence


On 29/09/06, Matt Gibson <diwelf at gmail.com> wrote:
> Hii Peter,
>
> Okay. I will try and "downgrade' twisted and see what comes of that :)
>
> Other than that are my configuration + mktap lines correct?
>
>
> On 29/09/06, Peter Saint-Andre <stpeter at jabber.org> wrote:
> > AFAIK, the CVS version of proxy65 will not work with twisted 2.x (at
> > least according to the reports I've received). It's close to working but
> > I haven't carved out the time to test it fully. My bad.
> >
> > /psa
> >
> > Matt Gibson wrote:
> > > Hi All,
> > >
> > > I am running Ejabberd CVS from about 3 days ago. I haven't tried 1.1.2
> > > yet, but will be later this weekend.
> > >
> > > My question is - does anyone have proxy65 working on a "current" linux box?
> > >
> > > Here are the versions of software I am using:
> > >
> > > - Python 2.4.3 (#1, Sep 20 2006, 05:40:42)
> > > - [GCC 4.1.1 (Gentoo 4.1.1)] on linux2
> > > - twistd (the Twisted daemon) 2.0.1
> > > - ejabberd CVS from Sept 28th 2006
> > > - proxy65 (both release from 2003, and what's in the cvs from 10
> > > months ago approx)
> > >
> > >
> > > Here is what I did. I opened up port 7777 on the firewall.
> > >
> > > Then I made the tap file for proxy65 with this line:
> > > mktap proxy65 --jid=proxy --secret=secret --rhost=127.0.0.1
> > > --rport=6000 --proxyips=64.246.XXX.XXX:7777
> > >
> > > I also tried:
> > > mktap proxy65 --jid=proxy.chat.mydomain.com --secret=secret
> > > --rhost=127.0.0.1 --rport=6000 --proxyips=64.246.XXX.XXX:7777
> > >
> > >
> > >
> > > Then I added this to Ejabberd's configuration file:
> > > {6000, ejabberd_service, [{access, all}, {host, "proxy", [{password,
> > > "secret"}]}]}]}.
> > >
> > > I also tried:
> > > {6000, ejabberd_service, [{access, all}, {hosts,
> > > ["proxy.chat.mydomain.com"], [{password, "secret"}]}]}]}.
> > >
> > > Then I started Ejabberd, then I ran mktap -no -f proxy65.tap
> > >
> > > Neither seem to work. I've also tried just about every combination of
> > > the ejabber and mktap lines possible, and none work, some get closer
> > > than others, but non actuallly work.
> > >
> > > The client I am using is PSI CVS, and I set it in "account settings"
> > > for "file transfer proxy". I did not set the "proxy and port" options
> > > in the "psi options" as that seems to be systemwide setting, not per
> > > server setting.
> > >
> > > The closest we have gotten to working, is on my end the file says it's
> > > tranferred, but at the other end psi says it could not connect to
> > > remote host.
> > >
> > > I have a feeling it's due to the newer versions of software at use,
> > > but I am not sure.
> > >
> > > Any help would be appreciated!
> > >
> > > Matt Gibson
> > >
> >
> >
> > _______________________________________________
> > JAdmin mailing list
> > JAdmin at jabber.org
> > http://mail.jabber.org/mailman/listinfo/jadmin
> > FAQ: http://www.jabber.org/about/jadminfaq.shtml
> > _______________________________________________
> >
> >
> >
> >
>



More information about the JAdmin mailing list