[jitsi-dev] login-problem


#1

Hallo at all,

I have got a problem trying to login with my jabber-accounts. My jabber-accounts at jabber.org and web.de works correctly with the clients Kopete and Pidgin. But in jits I always get the following error message when I try to login.

An error has occured ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong port
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:611)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:338)
    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:606)
    ... 2 more

I only entried my jabber-ID an my passwort in the settings.

could you help me please to solve this problem? Manny thanks.

greetings, Stefan


#2

That error seems to occur while executing
                       globalProxyPort = Integer.parseInt(
                            globalProxyPortStr);

The error message could be more informative than "Wrong port". Maybe
something like "Proxy port string does not represent an integer".

Cheers,
Andreas

···

---

Am 05.06.2011 12:28, schrieb Stefan Fischer:

Hallo at all,

I have got a problem trying to login with my jabber-accounts. My
jabber-accounts at jabber.org and web.de works correctly with the
clients Kopete and Pidgin. But in jits I always get the following
error message when I try to login.

An error has occured ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong port
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:611)

    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:338)

    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)

Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:606)

    ... 2 more

I only entried my jabber-ID an my passwort in the settings.

could you help me please to solve this problem? Manny thanks.

greetings, Stefan


#3

I have appended a trivial patch which hopefully improves that error
message a bit.

The patch also includes another similar change which I sent a few days
ago but which has not (yet) been applied.

Cheers,
Andreas

error-messages.txt (1.52 KB)

···

---

Am 05.06.2011 13:04, schrieb Andreas Kuckartz:

That error seems to occur while executing
                       globalProxyPort = Integer.parseInt(
                            globalProxyPortStr);

The error message could be more informative than "Wrong port". Maybe
something like "Proxy port string does not represent an integer".

Cheers,
Andreas
---

Am 05.06.2011 12:28, schrieb Stefan Fischer:

Hallo at all,

I have got a problem trying to login with my jabber-accounts. My
jabber-accounts at jabber.org and web.de works correctly with the
clients Kopete and Pidgin. But in jits I always get the following
error message when I try to login.

An error has occured ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong port
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:611)

    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:338)

    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)

Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:606)

    ... 2 more

I only entried my jabber-ID an my passwort in the settings.

could you help me please to solve this problem? Manny thanks.

greetings, Stefan


#4

Hi,

I've just committed and acked your patch. Thank you for the time spent.
I've just made a little modification as your patch wasn't accord our
code convention (limit at column 80).
Please take a look here for future patches:
http://www.jitsi.org/index.php/Documentation/CodeConvention

Thanks
damencho

···

On Sun, Jun 5, 2011 at 2:28 PM, Andreas Kuckartz <A.Kuckartz@ping.de> wrote:

I have appended a trivial patch which hopefully improves that error
message a bit.

The patch also includes another similar change which I sent a few days
ago but which has not (yet) been applied.

Cheers,
Andreas
---

Am 05.06.2011 13:04, schrieb Andreas Kuckartz:

That error seems to occur while executing
globalProxyPort = Integer.parseInt(
globalProxyPortStr);

The error message could be more informative than "Wrong port". Maybe
something like "Proxy port string does not represent an integer".

Cheers,
Andreas
---

Am 05.06.2011 12:28, schrieb Stefan Fischer:

Hallo at all,

I have got a problem trying to login with my jabber-accounts. My
jabber-accounts at jabber.org and web.de works correctly with the
clients Kopete and Pidgin. But in jits I always get the following
error message when I try to login.

An error has occured ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong port
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:611)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:338)

at

net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)

Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:606)

\.\.\. 2 more

I only entried my jabber-ID an my passwort in the settings.

could you help me please to solve this problem? Manny thanks.

greetings, Stefan


#5

Hi,

ok now, how expected, I get the following error message:

An error has occured at login ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException: Wrong proxy port, null does not represent an integer
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:631)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:358)
    at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:626)
    ... 2 more

but I won't become more clever with it.

cheers, Stefan

···

Am 05.06.2011 13:28, schrieb Andreas Kuckartz:

I have appended a trivial patch which hopefully improves that error
message a bit.

The patch also includes another similar change which I sent a few days
ago but which has not (yet) been applied.

Cheers,
Andreas
---

Am 05.06.2011 13:04, schrieb Andreas Kuckartz:

That error seems to occur while executing
                        globalProxyPort = Integer.parseInt(
                             globalProxyPortStr);

The error message could be more informative than "Wrong port". Maybe
something like "Proxy port string does not represent an integer".

Cheers,
Andreas
---

Am 05.06.2011 12:28, schrieb Stefan Fischer:

Hallo at all,

I have got a problem trying to login with my jabber-accounts. My
jabber-accounts at jabber.org and web.de works correctly with the
clients Kopete and Pidgin. But in jits I always get the following
error message when I try to login.

An error has occured ... Configurtion error. please ckeck your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong port
     at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:611)

     at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:338)

     at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)

Caused by: java.lang.NumberFormatException: null
     at java.lang.Integer.parseInt(Integer.java:443)
     at java.lang.Integer.parseInt(Integer.java:514)
     at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:606)

     ... 2 more

I only entried my jabber-ID an my passwort in the settings.

could you help me please to solve this problem? Manny thanks.

greetings, Stefan


#6

Hello @ all,

I already wrote this. But I want to give more important information for it.:

I use Jitsi, actually in the Version "1.0-beta1-nightly.build.3565", on Aptosid (debian sid with KDE-SC).
Internet-connection I get via an AVM-FritzBox 7170. I have enabled the ports 5061 with UDP and 5222 with TCP.
"java -version" gives me the following output:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-5)
OpenJDK Server VM (build 16.0-b13, mixed mode)

I have got a problem trying to login with my jabber-accounts. My jabber-accounts at jabber.org and web.de works correctly with the clients Kopete and Pidgin. But in Jitsi I always get the following error message when I try to login.:

An error has occured at login ... Configurtion error. please ckeck
your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong proxy port, null does not represent an integer
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:631)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:358)
    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:626)
    ... 2 more

Could somebody tell me please, if it's a bug or really a configuration-error.
In the first case, I want the make an issue in your bug-reports about this. How can I do it? And in the second case, how can I solve this?

nice day
Stefan


#7

Hello @ all,

my problem discribed in the qoute is now solved. Thank you very much for your hints.

I have got a problem trying to login with my jabber-accounts. My jabber-accounts at jabber.org and web.de works correctly with the clients Kopete and Pidgin. But in Jitsi I always get the following error message when I try to login.:

An error has occured at login ... Configurtion error. please ckeck
your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong proxy port, null does not represent an integer
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:631)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:358)
    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:626)
    ... 2 more

Proxy was set to "HTTP". But I don't know why, because I guess I din't any changes in the proxy-dialog.

nice day
Stefan


#8

Hey Stefan,

На 08.07.11 11:30, Stefan Fischer написа:

Hello @ all,

I already wrote this. But I want to give more important information for it.:

I use Jitsi, actually in the Version "1.0-beta1-nightly.build.3565", on
Aptosid (debian sid with KDE-SC).
Internet-connection I get via an AVM-FritzBox 7170. I have enabled the
ports 5061 with UDP and 5222 with TCP.

I am not following. Where have you enabled these ports and with what
purpose?

"java -version" gives me the following output:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-5)
OpenJDK Server VM (build 16.0-b13, mixed mode)

I have got a problem trying to login with my jabber-accounts. My
jabber-accounts at jabber.org and web.de works correctly with the
clients Kopete and Pidgin. But in Jitsi I always get the following error
message when I try to login.:

Last time you wrote Andreas indicated that there was a problem with your
global proxy configuration. Have you tried to loo at that?

Emil

···

An error has occured at login ... Configurtion error. please ckeck
your settings!

net.java.sip.communicator.service.protocol.OperationFailedException:
Wrong proxy port, null does not represent an integer
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:631)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:358)
    at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:405)
Caused by: java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:443)
    at java.lang.Integer.parseInt(Integer.java:514)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:626)
    ... 2 more

Could somebody tell me please, if it's a bug or really a
configuration-error.
In the first case, I want the make an issue in your bug-reports about
this. How can I do it? And in the second case, how can I solve this?

nice day
Stefan