Code Monkey home page Code Monkey logo

Comments (14)

maddinat0r avatar maddinat0r commented on July 20, 2024 1

@sasuke-uchiha I've now released v0.2.3 with various bug fixes. Can you try that one out please?

from samp-discord-connector.

maddinat0r avatar maddinat0r commented on July 20, 2024

Can you always reproduce your crash? Could you upload your discord-connector.log here?

from samp-discord-connector.

Locky0 avatar Locky0 commented on July 20, 2024

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.

Locky0 avatar Locky0 commented on July 20, 2024
[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.

maddinat0r avatar maddinat0r commented on July 20, 2024

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.

Locky0 avatar Locky0 commented on July 20, 2024
[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.

maddinat0r avatar maddinat0r commented on July 20, 2024

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.

Arose-Niazi avatar Arose-Niazi commented on July 20, 2024

discord-connector.log
Same as report states crashed for the same reason.

from samp-discord-connector.

maddinat0r avatar maddinat0r commented on July 20, 2024

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.

Locky0 avatar Locky0 commented on July 20, 2024

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.

Locky0 avatar Locky0 commented on July 20, 2024

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.

maddinat0r avatar maddinat0r commented on July 20, 2024

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.

Arose-Niazi avatar Arose-Niazi commented on July 20, 2024

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.

maddinat0r avatar maddinat0r commented on July 20, 2024

Alright, good to hear that!

from samp-discord-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.