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

twitter bridge seems to fail silently every ~12 hours. restarting fixes it #2

Open
ericmigi opened this issue Jan 16, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ericmigi
Copy link
Contributor

Messages fail to be bridged in either direction. not much in logs unfortunately.

Jan-15 17:25:34.159 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-15 17:25:34.162 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-15 17:25:34.183 [UserSync] �[32minfo�[39m: Fetching client for 1144425621340078081
Jan-15 17:25:34.188 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) POST http://synapse:8008/_matrix/client/r0/register
Jan-15 17:25:34.199 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-3) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-15 17:25:34.222 [ChannelSync] �[32minfo�[39m: Fetching mxid for roomId 1144425621340078081 and puppetId 1
Jan-15 17:25:34.229 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-15 17:25:34.236 [bot-sdk-MatrixLiteClient] �[31merror�[39m: (REQ-1) { errcode: 'M_USER_IN_USE', error: 'User ID already taken.' }
Jan-15 17:25:34.237 [bot-sdk-Appservice] �[31merror�[39m: Error registering user: User ID is in use
Jan-15 17:25:34.252 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-15 17:25:34.266 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-2) PUT http://synapse:8008/_matrix/client/r0/rooms/!bZztJeWksThqaiKTkM%3Aeric.nova.chat/send/m.room.message/1579109134266__REQ1
Jan-15 17:25:34.911 [bot-sdk-Appservice] �[32minfo�[39m: Processing transaction 82
Jan-15 17:25:34.913 [bot-sdk-Appservice] �[32minfo�[39m: Processing event of type m.room.message
Jan-15 17:25:34.919 [PuppetBridge] �[32minfo�[39m: New message by @eric:eric.nova.chat of type m.room.message to process!
172.20.0.2 - - [15/Jan/2020:17:25:34 +0000] "PUT /transactions/82?access_token=a59ca7d9-c389-4c3e-b387-b3b4a5b66dca HTTP/1.1" 200 2 "-" "Synapse/1.7.2"
Jan-16 17:39:44.014 [Store] �[32minfo�[39m: Starting DB Init
Jan-16 17:39:44.035 [Store] �[32minfo�[39m: Filename present in config, using sqlite
Jan-16 17:39:44.038 [SQLite3] �[32minfo�[39m: Opening /data/twitter.db
Jan-16 17:39:44.068 [Store] �[32minfo�[39m: Database schema version is 6, latest version is 6
{ response_token: 'p5y5HVvEEP9pP9pTu23qYYGkpgn0=' }
Jan-16 17:39:45.251 [PuppetBridge] �[32minfo�[39m: Starting application service....
Jan-16 17:39:45.285 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) POST http://synapse:8008/_matrix/client/r0/register
Jan-16 17:39:45.342 [bot-sdk-MatrixLiteClient] �[31merror�[39m: (REQ-1) { errcode: 'M_USER_IN_USE', error: 'User ID already taken.' }
Jan-16 17:39:45.348 [PuppetBridge] �[32minfo�[39m: Application service started!
Jan-16 17:39:45.349 [PuppetBridge] �[32minfo�[39m: Setting bridge user data...
Jan-16 17:39:45.350 [PuppetBridge] �[32minfo�[39m: Activating users...
Jan-16 17:39:45.360 [TwitterPuppet:Twitter] �[32minfo�[39m: Adding new Puppet: puppetId=1
Jan-16 17:39:45.607 [BotProvisioner] �[32minfo�[39m: Sending status message for puppetId 1...
Jan-16 17:39:45.659 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-2) PUT http://synapse:8008/_matrix/client/r0/rooms/!KZcUyaWYUGzlVAnIls%3Aeric.nova.chat/send/m.room.message/1579196385658__REQ1
Jan-16 17:39:47.460 [bot-sdk-Appservice] �[32minfo�[39m: Processing transaction 83
Jan-16 17:39:47.463 [bot-sdk-Appservice] �[32minfo�[39m: Processing event of type m.room.message
172.20.0.2 - - [16/Jan/2020:17:39:47 +0000] "PUT /transactions/83?access_token=a59ca7d9-c389-4c3e-b387-b3b4a5b66dca HTTP/1.1" 200 2 "-" "Synapse/1.7.2"
Jan-16 17:40:05.496 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:05.499 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:05.518 [UserSync] �[32minfo�[39m: Fetching client for 1144425621340078081
Jan-16 17:40:05.522 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) POST http://synapse:8008/_matrix/client/r0/register
Jan-16 17:40:05.538 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-3) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:05.594 [ChannelSync] �[32minfo�[39m: Fetching mxid for roomId 1144425621340078081 and puppetId 1
Jan-16 17:40:05.611 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:05.650 [bot-sdk-MatrixLiteClient] �[31merror�[39m: (REQ-1) { errcode: 'M_USER_IN_USE', error: 'User ID already taken.' }
Jan-16 17:40:05.652 [bot-sdk-Appservice] �[31merror�[39m: Error registering user: User ID is in use
Jan-16 17:40:05.681 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:05.707 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-2) PUT http://synapse:8008/_matrix/client/r0/rooms/!bZztJeWksThqaiKTkM%3Aeric.nova.chat/send/m.room.message/1579196405706__REQ1
Jan-16 17:40:06.420 [bot-sdk-Appservice] �[32minfo�[39m: Processing transaction 84
Jan-16 17:40:06.423 [bot-sdk-Appservice] �[32minfo�[39m: Processing event of type m.room.message
Jan-16 17:40:06.430 [PuppetBridge] �[32minfo�[39m: New message by @eric:eric.nova.chat of type m.room.message to process!
172.20.0.2 - - [16/Jan/2020:17:40:06 +0000] "PUT /transactions/84?access_token=a59ca7d9-c389-4c3e-b387-b3b4a5b66dca HTTP/1.1" 200 2 "-" "Synapse/1.7.2"
Jan-16 17:40:49.548 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) GET http://synapse:8008/_matrix/client/r0/account/whoami
Jan-16 17:40:49.584 [UserSync] �[32minfo�[39m: Fetching client for 844726645
Jan-16 17:40:49.587 [UserSync] �[32minfo�[39m: User doesn't exist yet, creating entry...
Jan-16 17:40:49.712 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-1) POST http://synapse:8008/_matrix/client/r0/register
Jan-16 17:40:53.347 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-2) PUT http://synapse:8008/_matrix/client/r0/profile/%40twitter1_844726645%3Aeric.nova.chat/displayname
Jan-16 17:40:53.485 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-3) POST http://synapse:8008/_matrix/media/r0/upload
Jan-16 17:40:54.629 [bot-sdk-MatrixLiteClient] �[32minfo�[39m: (REQ-4) PUT http://synapse:8008/_matrix/client/r0/profile/%40twitter1_844726645%3Aeric.nova.chat/avatar_url
@Sorunome
Copy link
Owner

Anything in stderr?

@Sorunome Sorunome added the bug Something isn't working label Jan 16, 2020
@ericmigi
Copy link
Contributor Author

how do I grab that output?

@Sorunome
Copy link
Owner

Ask your sysadmin! :D Depends on setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants