Comments (14)
@sasuke-uchiha I've now released v0.2.3 with various bug fixes. Can you try that one out please?
from samp-discord-connector.
Can you always reproduce your crash? Could you upload your discord-connector.log
here?
from samp-discord-connector.
I had the same problem and temporarily disabled the plugin and script.
I'll be adding information soon. I'm just going to get everything that is needed, and it takes a while, because the plugin debug everything and let it work for a few days (+/- 160mb of logs).
PS: The reason for crash is not shown in the discord plugin. It is only shown in the log-core.
[27/01/2018 12:24:04] [ERROR] signal 6 (SIGABRT) catched; shutting log-core down (errno: 0, signal code: -6, exit status: 0)
from samp-discord-connector.
[27/01/2018 13:07:06] [plugins/discord-connector] Error while retrieving HTTP POST response from '/api/v6/channels/403293089961082882/messages': end of stream
[27/01/2018 14:09:53] [plugins/discord-connector] Error while retrieving HTTP POST response from '/api/v6/channels/403293089961082882/messages': end of stream
Can this mean anything serious? I was in the error log.
from samp-discord-connector.
It's not serious, you can ignore it for now.
Can you post the last 50 log lines of the discord connector log before the crash happened?
from samp-discord-connector.
[27/01/2018 12:23:10] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:10] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:20] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:20] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:20] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x97c0870, cb_idx=-10004, args_push_addr=-1)
[27/01/2018 12:23:20] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:23:20] [INFO] PAWN callback successfully executed.
[27/01/2018 12:23:30] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:30] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:30] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x97c0870, cb_idx=-10004, args_push_addr=-1)
[27/01/2018 12:23:30] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:23:30] [INFO] PAWN callback successfully executed.
[27/01/2018 12:23:35] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:35] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:35] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnChannelMessage,amx=0x97c0870, cb_idx=34, args_push_addr=12063788)
[27/01/2018 12:23:35] [INFO] executing PAWN callback 'DCC_OnChannelMessage'...
[27/01/2018 12:23:35] [INFO] PAWN callback successfully executed.
[27/01/2018 12:23:37] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:37] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:37] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnChannelCreate,amx=0x97c0870, cb_idx=-10003, args_push_addr=-1)
[27/01/2018 12:23:37] [INFO] executing PAWN callback 'DCC_OnChannelCreate'...
[27/01/2018 12:23:37] [INFO] PAWN callback successfully executed.
[27/01/2018 12:23:46] [DEBUG] WebSocket::DoHeartbeat
[27/01/2018 12:23:46] [DEBUG] sending heartbeat
[27/01/2018 12:23:46] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:46] [DEBUG] heartbeat ACK
[27/01/2018 12:23:46] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:48] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:48] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:48] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x97c0870, cb_idx=-10005, args_push_addr=-1)
[27/01/2018 12:23:48] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:23:48] [INFO] PAWN callback successfully executed.
[27/01/2018 12:23:50] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:53] [INFO] changed log level from 'warning, error' to 'debug, info, warning, error'
[27/01/2018 12:23:53] [DEBUG] Network::Initialize
[27/01/2018 12:23:53] [DEBUG] Http::Get
[27/01/2018 12:23:53] [DEBUG] Http::SendRequest
[27/01/2018 12:23:53] [DEBUG] Http::PrepareRequest
[27/01/2018 12:23:53] [DEBUG] Http::Connect
[27/01/2018 12:23:53] [DEBUG] WebSocket::Connect
[27/01/2018 12:23:53] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:53] [DEBUG] WebSocket::WsIdentify
[27/01/2018 12:23:53] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:53] [DEBUG] WebSocket::DoHeartbeat
[27/01/2018 12:23:53] [DEBUG] sending heartbeat
[27/01/2018 12:23:53] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:53] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:53] [DEBUG] heartbeat ACK
[27/01/2018 12:23:53] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:53] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:53] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:54] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:23:54] [DEBUG] WebSocket::WsRead
[27/01/2018 12:23:55] [DEBUG] DCC_FindChannelById("403293089961082882")
[27/01/2018 12:23:55] [DEBUG] DCC_FindChannelById: return value: '7'
[27/01/2018 12:23:55] [DEBUG] DCC_FindUserByName("Meguinha", "0407")
[27/01/2018 12:23:55] [DEBUG] DCC_FindUserByName: return value: '1'
[27/01/2018 12:23:55] [DEBUG] DCC_FindGuildById("242005830663143435")
[27/01/2018 12:23:55] [DEBUG] DCC_FindGuildById: return value: '1'
[27/01/2018 12:24:04] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:06] [INFO] changed log level from 'warning, error' to 'debug, info, warning, error'
[27/01/2018 12:24:06] [DEBUG] Network::Initialize
[27/01/2018 12:24:06] [DEBUG] Http::Get
[27/01/2018 12:24:06] [DEBUG] Http::SendRequest
[27/01/2018 12:24:06] [DEBUG] Http::PrepareRequest
[27/01/2018 12:24:06] [DEBUG] Http::Connect
[27/01/2018 12:24:06] [DEBUG] WebSocket::Connect
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsIdentify
[27/01/2018 12:24:07] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::DoHeartbeat
[27/01/2018 12:24:07] [DEBUG] sending heartbeat
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:07] [DEBUG] heartbeat ACK
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:07] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:08] [DEBUG] DCC_FindChannelById("403293089961082882")
[27/01/2018 12:24:08] [DEBUG] DCC_FindChannelById: return value: '7'
[27/01/2018 12:24:08] [DEBUG] DCC_FindUserByName("Meguinha", "0407")
[27/01/2018 12:24:08] [DEBUG] DCC_FindUserByName: return value: '1'
[27/01/2018 12:24:08] [DEBUG] DCC_FindGuildById("242005830663143435")
[27/01/2018 12:24:08] [DEBUG] DCC_FindGuildById: return value: '1'
[27/01/2018 12:24:14] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:14] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:14] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x9ab3830, cb_idx=-10003, args_push_addr=-1)
[27/01/2018 12:24:14] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:24:14] [INFO] PAWN callback successfully executed.
[27/01/2018 12:24:15] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:15] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:15] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x9ab3830, cb_idx=-10003, args_push_addr=-1)
[27/01/2018 12:24:15] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:24:15] [INFO] PAWN callback successfully executed.
[27/01/2018 12:24:20] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:20] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:20] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x9ab3830, cb_idx=-10003, args_push_addr=-1)
[27/01/2018 12:24:20] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:24:20] [INFO] PAWN callback successfully executed.
[27/01/2018 12:24:25] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:25] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:43] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:43] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:43] [DEBUG] PawnCallbackManager::Execute(name=DCC_OnGuildMemberUpdate,amx=0x9ab3830, cb_idx=-10003, args_push_addr=-1)
[27/01/2018 12:24:43] [INFO] executing PAWN callback 'DCC_OnGuildMemberUpdate'...
[27/01/2018 12:24:43] [INFO] PAWN callback successfully executed.
[27/01/2018 12:24:46] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:46] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:47] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:47] [DEBUG] WebSocket::WsRead
[27/01/2018 12:24:47] [DEBUG] WebSocket::OnWsRead
[27/01/2018 12:24:47] [DEBUG] WebSocket::WsRead
Analyzing the logs, I noticed that it was more of a fall.
from samp-discord-connector.
Yes, this is very likely related to #43. I'll fix this as soon as I get some more free time.
from samp-discord-connector.
discord-connector.log
Same as report states crashed for the same reason.
from samp-discord-connector.
I've just released v0.2.2 with a bug fix for this. Can you all please try it out and report back if that crash still occurs?
from samp-discord-connector.
I noticed that when I updated the plugin, I can not even get the name of the member who sent a message through discord.
from samp-discord-connector.
I get some of these log errors.
[ERROR] invalid UTF-8 string: [json.exception.type_error.316] invalid UTF-8 byte at index 14: 0x61
[ERROR] can't update guild member presence: guild id "offline" not cached
[ERROR] can't update guild member presence: guild id "online" not cached
from samp-discord-connector.
The first error suggests that you are passing an invalid UTF-8 string (likely to DCC_SendChannelMessage
). Discord expects an UTF-8 string, so you have to provide a valid one if you are using special symbols.
The other two errors are due to a minor bug, which disables the DCC_GetGuildMemberStatus
native function. This will be fixed soon.
from samp-discord-connector.
I think this issue can be locked now, as it's working thanks. The update is working good just tried, Was busy so didn't notice first.
Anyways if something else comes up. I will open up a new issue.
from samp-discord-connector.
Alright, good to hear that!
from samp-discord-connector.
Related Issues (20)
- How use Timestamp?
- server crashed
- delete a certain amount of messages
- Connector Error / Could not Load plugin! HOT 1
- How do I create an embed? and where do I find the colors that I can put on them?
- can't update guild member presence: user id
- always giving 0? HOT 1
- Mention
- server crash in ubuntu with i386 libs HOT 1
- Avatar Hash When?
- Constant timeouts on startup - PLEASE HELP HOT 2
- Loading plugin: discord-connector >> discord-connector: timeout while initializing data. plugin will proceed to retry connecting in the background. HOT 1
- I Have An This Issue With Discord Connector Let Some One Help Me To Solve HOT 5
- [WARNING] Unknown gateway event 'GUILD_MEMBERS_CHUNK' HOT 1
- [json.exception.type_error.316] invalid UTF-8 byte at index 0: 0xC0 HOT 1
- Issue when starting omp-server
- new DCC_User:user = DCC_FindUserByName(inputtext, "0");
- Caso eu conecte o bot ao servidor, eu perco a conexão com outra host? HOT 2
- >> discord-connector: timeout while initializing data. HOT 1
- >> discord-connector: timeout while initializing data. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samp-discord-connector.