Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnected from server #1185

Open
YATV opened this issue Jul 12, 2016 · 3 comments
Open

Disconnected from server #1185

YATV opened this issue Jul 12, 2016 · 3 comments

Comments

@YATV
Copy link

YATV commented Jul 12, 2016

Archipel version 0.6.0-af2266d (Apophis)

image

WARNING ::2016-07-12 07:29:07.808::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.827::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.846::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.862::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.878::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.894::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.911::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.927::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.956::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected]/mgmt.mydomain.net in autogroup All Hypervisors: EOF occurred in violation of protocol (_ssl.c:765)
WARNING ::2016-07-12 07:29:07.987::utils.py:75::TNArchipelCentralAgent.handle_autogroup_for_entities ([email protected]/mgmt.mydomain.net)::XMPPSERVER: unable to add entity [email protected] in autogroup All Virtual Machines: EOF occurred in violation of protocol (_ssl.c:765)
ERROR ::2016-07-12 07:30:44.832::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:30:44.833::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1252, in loop
self.xmppclient.Process(3)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/simplexml.py", line 425, in endtag
self.dispatch(self._mini_dom)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 295, in dispatch
try: cb(session,stanza,**args)

File "/usr/Archipel/ArchipelAgent/archipel-agent-xmppserver/archipelagentxmppserver/xmppserver.py", line 310, in on_receive_users_num
answer = self._send_xmlrpc_call("registered_users", {"host": xmppserver})

File "/usr/Archipel/ArchipelAgent/archipel-agent-xmppserver/archipelagentxmppserver/xmppserver.py", line 276, in _send_xmlrpc_call
raise Exception(str(ex).replace(self.xmlrpc_password, "[PASSWORD_HIDDEN]"))

Exception: EOF occurred in violation of protocol (_ssl.c:765)

ERROR ::2016-07-12 07:30:49.840::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:30:49.842::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 378, in disconnect
while self.Process(1): pass

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

ExpatError: parsing finished: line 1, column 210269

ERROR ::2016-07-12 07:30:54.847::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:30:54.849::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 378, in disconnect
while self.Process(1): pass

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

ExpatError: parsing finished: line 1, column 210269

ERROR ::2016-07-12 07:30:59.857::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:30:59.871::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 377, in disconnect
self._owner_send('/stream:stream')

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/transports.py", line 251, in send
self._owner.disconnected()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 129, in disconnected
for i in self.disconnect_handlers: i()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 137, in DisconnectHandler
raise IOError('Disconnected from server.')

IOError: Disconnected from server.

ERROR ::2016-07-12 07:31:05.976::utils.py:77::TNArchipelCentralAgent.create_autogroups_if_needed ([email protected]/mgmt.mydomain.net)::XMPPSERVER: Unable to use xmlrpc. EOF occurred in violation of protocol (_ssl.c:765)
ERROR ::2016-07-12 07:31:06.362::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:31:06.363::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1252, in loop
self.xmppclient.Process(3)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/simplexml.py", line 425, in endtag
self.dispatch(self._mini_dom)

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 295, in dispatch
try: cb(session,stanza,**args)

File "/usr/Archipel/ArchipelAgent/archipel-agent-xmppserver/archipelagentxmppserver/xmppserver.py", line 310, in on_receive_users_num
answer = self._send_xmlrpc_call("registered_users", {"host": xmppserver})

File "/usr/Archipel/ArchipelAgent/archipel-agent-xmppserver/archipelagentxmppserver/xmppserver.py", line 276, in _send_xmlrpc_call
raise Exception(str(ex).replace(self.xmlrpc_password, "[PASSWORD_HIDDEN]"))

Exception: EOF occurred in violation of protocol (_ssl.c:765)

ERROR ::2016-07-12 07:31:11.371::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:31:11.373::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 378, in disconnect
while self.Process(1): pass

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

ExpatError: parsing finished: line 1, column 26070

ERROR ::2016-07-12 07:31:16.376::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:31:16.378::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 378, in disconnect
while self.Process(1): pass

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 123, in Process
self.Stream.Parse(data)

ExpatError: parsing finished: line 1, column 26070

ERROR ::2016-07-12 07:31:21.384::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::LOOP EXCEPTION : Disconnected from server. Trying to reconnect in 5 seconds.
ERROR ::2016-07-12 07:31:21.385::utils.py:77::TNArchipelCentralAgent.loop ([email protected]/mgmt.mydomain.net)::TRACEBACK: Traceback (most recent call last):

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/archipelEntity.py", line 1255, in loop
self.xmppclient.disconnect()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/dispatcher.py", line 377, in disconnect
self._owner_send('/stream:stream')

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/transports.py", line 251, in send
self._owner.disconnected()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 129, in disconnected
for i in self.disconnect_handlers: i()

File "/usr/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 137, in DisconnectHandler
raise IOError('Disconnected from server.')

IOError: Disconnected from server.

@YATV
Copy link
Author

YATV commented Jul 12, 2016

ejabberdctl status

The node '[email protected]' is started with status: started
ejabberd 16.06 is running in that node

@YATV
Copy link
Author

YATV commented Jul 12, 2016

` # archipel-testxmppserver -j login -p password


  •                    Archipel XMPP Server Test                            *
    
  •                                                                         *
    
  • Archipel needs some specific parameters to be set. This tool will perform *
  • some tests in order to ensure that your ejabberd server is properly *
  • configured. *
  • If you encounter some errors during test, there are great chance that *
  • Archipel won't work correctly. If so, please read carrefully : *
  •                                                                         *
    
  • - https://github.com/ArchipelProject/Archipel/wiki/Installation-manual *
  •                                                                         *
    
  • Copyright 2011 Antoine Mercadal *

Type enter key to continue...

TEST 1 : XMPP CONNECTION

  • Trying to connect to the XMPP Server using [email protected]
    [SUCCESS] : Sucessfully connected

    TEST 2 : INBAND REGISTRATION

  • Trying to register a new dummy XMPP account using in-band registration

  • Registration information sent. Wait for response...
    [SUCCESS] : Registration complete.

    TEST 3 : PUBSUB CREATION

  • Trying to create a pubsub node with the dummy account
    [SUCCESS] : Dummy pubsub created.

    TEST 4 : PUBSUB CONFIGURATION

  • Trying to configure the pubsub with required info for Archipel...
    [SUCCESS] : Pubsub sucessfully configured with correct value

    TEST 5 : PUBSUB DELETION

  • Trying to remove dummy pubsub...
    [SUCCESS] : Sucessfully deleted the pubsub.

    TEST 6 : INBAND UNREGISTRATION

  • Trying to unregister the dummy XMPP account using in-band unregistration

  • Unregistration information sent. Waiting for response...
    [SUCCESS] : Unregistration complete.

    TEST 7 : QUICK REGISTRATION/UNREGISTRATION

  • Trying to register a new dummy XMPP account using in-band registration

  • Registration information sent. Wait for response...
    [SUCCESS] : Registration complete.

  • Trying to unregister the dummy XMPP account using in-band unregistration

  • Unregistration information sent. Waiting for response...
    [SUCCESS] : Unregistration complete.

    TEST 8 : EJABBERD_XMLRPC BASIC OPERATION

  • Trying to connect the ejabberd_xmlrpc module...
    [SUCCESS] : Successfully contacted ejabberd_xmlrpc module

    TEST 9 : CHECKING FOR MOD_ADMIN_EXTRA

  • Checking is mod_admin_extra is available...
    [SUCCESS] : Successfully contacted mod_admin_extra over ejabberd_xmlrpc module

    TEST 10 : CHECKING FOR USER MANAGEMENT THROUGH XMPP API

  • Trying to list registered users using XMPP admin commands (XEP-133)

  • Command sent. Wait for response...
    [SUCCESS] : User Management is enabled

your XMPP server should be ready!
`

@YATV
Copy link
Author

YATV commented Jul 12, 2016

How to fix disconnect from XMPP server? And :XMPPSERVER: unable to add entity .... in autogroup All Hypervisors: EOF occurred in violation of protocol (_ssl.c:765)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant