[sip-comm-dev] SIP: connecting to communigate failed


#1

net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to generate a from header for our register request.
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:217)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:309)
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:386)
Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException: Unable
to create a via header for port 5060
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1005)
at
net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1040)
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:205)
... 2 more
Caused by: java.net.UnknownHostException: xyz.com: xyz.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1258)
at java.net.InetAddress.getAllByName(InetAddress.java:1185)
at java.net.InetAddress.getAllByName(InetAddress.java:1107)
at java.net.InetAddress.getByName(InetAddress.java:1057)
at
net.java.sip.communicator.util.NetworkUtils.getInetAddress(NetworkUtils.java:401)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:959)
... 4 more


#2

Hi, is it because you have a domain @xyz.com that is not a registrar or proxy ?

···

2010/4/22 Angelo Neacsu <angelo.neacsu@gmail.com>:

net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to generate a from header for our register request.
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:217)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:309)
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:386)
Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException: Unable
to create a via header for port 5060
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1005)
at
net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1040)
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:205)
... 2 more
Caused by: java.net.UnknownHostException: xyz.com: xyz.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1258)
at java.net.InetAddress.getAllByName(InetAddress.java:1185)
at java.net.InetAddress.getAllByName(InetAddress.java:1107)
at java.net.InetAddress.getByName(InetAddress.java:1057)
at
net.java.sip.communicator.util.NetworkUtils.getInetAddress(NetworkUtils.java:401)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:959)
... 4 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Caused by: java.net.UnknownHostException: xyz.com :

Is this really the address of your registrar?

На 22.04.10 14:02, Angelo Neacsu написа:

···

net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to generate a from header for our register request.
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:217)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:309)
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:386)
Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException:
Unable to create a via header for port 5060
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1005)
at
net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1040)
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:205)
... 2 more
Caused by: java.net.UnknownHostException: xyz.com <http://xyz.com>:
xyz.com <http://xyz.com>
at java.net.InetAddress.getAllByName0(InetAddress.java:1258)
at java.net.InetAddress.getAllByName(InetAddress.java:1185)
at java.net.InetAddress.getAllByName(InetAddress.java:1107)
at java.net.InetAddress.getByName(InetAddress.java:1057)
at
net.java.sip.communicator.util.NetworkUtils.getInetAddress(NetworkUtils.java:401)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:959)
... 4 more

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Caused by: java.net.UnknownHostException: xyz.com :

Is this really the address of your registrar?

На 22.04.10 14:02, Angelo Neacsu написа:

···

net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to generate a from header for our register request.
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:217)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:309)
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:386)
Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException:
Unable to create a via header for port 5060
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1005)
at
net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1040)
at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:205)
... 2 more
Caused by: java.net.UnknownHostException: xyz.com <http://xyz.com>:
xyz.com <http://xyz.com>
at java.net.InetAddress.getAllByName0(InetAddress.java:1258)
at java.net.InetAddress.getAllByName(InetAddress.java:1185)
at java.net.InetAddress.getAllByName(InetAddress.java:1107)
at java.net.InetAddress.getByName(InetAddress.java:1057)
at
net.java.sip.communicator.util.NetworkUtils.getInetAddress(NetworkUtils.java:401)
at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:959)
... 4 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net