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

Bad Request: strings must be encoded in UTF-8 #332

Open
shahkacak369 opened this issue Jul 13, 2020 · 4 comments
Open

Bad Request: strings must be encoded in UTF-8 #332

shahkacak369 opened this issue Jul 13, 2020 · 4 comments
Labels
bug Something isn't working help wanted Anyone is welcome to help us with this!
Milestone

Comments

@shahkacak369
Copy link

shahkacak369 commented Jul 13, 2020

Jul 12 18:50:58 myunixbest systemd[1]: Started TeleIRC: Telegram + IRC bridge bot.
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Current TeleIRC version: v2.0
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Creating new Telegram bot client...
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Creating new IRC bot client...
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Starting up Telegram bot...
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Starting up IRC bot...
Jul 12 18:50:58 myunixbest teleirc[29758]: INFO: 2020/07/12 18:50:58 Authorized on account teleIRCChatBot
Jul 12 18:55:03 myunixbest teleirc[29758]: ERROR: 2020/07/12 18:55:03 Bad Request: strings must be encoded in UTF-8
Jul 12 18:55:04 myunixbest teleirc[29758]: ERROR: 2020/07/12 18:55:04 Bad Request: strings must be encoded in UTF-8
Jul 12 18:55:04 myunixbest teleirc[29758]: ERROR: 2020/07/12 18:55:04 Bad Request: strings must be encoded in UTF-8
@shahkacak369 shahkacak369 changed the title Bad Request: strings must be encoded in UTF-8 (eleirc bot disconnected and not auto connect to the irc server.. ) Bad Request: strings must be encoded in UTF-8 (teleirc bot disconnected and not auto connect to the irc server.. ) Jul 13, 2020
@Tjzabel Tjzabel added bug Something isn't working needs info Extra attention or information needed labels Jul 16, 2020
@Tjzabel
Copy link
Member

Tjzabel commented Jul 16, 2020

@shahkacak369 hello, I see you didn't use our bug template, so I have a few questions:

  1. Is there a specific sequence of events that lead up to this issue occuring?
  2. Have you done anything to get around this issue in the short-term?
  3. What IRC server are you using?
  4. Does this issue only occur on IRC, or Telegram?

@Tjzabel Tjzabel changed the title Bad Request: strings must be encoded in UTF-8 (teleirc bot disconnected and not auto connect to the irc server.. ) Bad Request: strings must be encoded in UTF-8 Jul 16, 2020
@shahkacak369
Copy link
Author

shahkacak369 commented Jul 16, 2020

@shahkacak369 hello, I see you didn't use our bug template, so I have a few questions:

  1. Is there a specific sequence of events that lead up to this issue occuring?
  2. Have you done anything to get around this issue in the short-term?
  3. What IRC server are you using?
  4. Does this issue only occur on IRC, or Telegram?

hello, what do you mean I do not use your bug template?

sequence of events yes as I have explained before that this incident is sudden .. teleirc bot disconnected and did not connect automatically to irc server .. and here I also include the explanation .. along with the journal on the server running teleirc boat .. did you see and read it?

Didn't I already ask you and your team .. what is the cause of all this? and what should I do? and i waiting for you to give me the steps that need to be done .. for now I can only restart teleirc.service only .. but how many times do I have to restart like this? if this thing happens again and again ..?

The IRC server I use is unrealircd (master.spiderchat.org)

of course this problem occurs on IRC and Telegram .. aren't irc and telegram now connected?

@Tjzabel
Copy link
Member

Tjzabel commented Jul 17, 2020

@shahkacak369 We need additional information in order to pinpoint the root cause. This issue should house all information needed for anyone to come to a conclusion and try to work towards a fix. I know we talked over in #rit-lug-teleirc, but this issue itself needs additional information that we do not have.

Yes, this issue is sudden, but we need to figure out why. Additional information can help us:

  • Is the bot bridging non-English languages? If so, do specific phrases in this language cause the bot to crash?
    • Of these phrases, are there any that special characters that seem to cause this issue?
  • Does this issue only occur from Telegram -> IRC, or IRC -> Telegram traffic?
    • In other words, does this issue only cause the bot to crash from one side of the bridge

Showing screenshots, or giving conversation snippets that occur before the bridge dies would be very valuable. I am assuming this issue is in relation to non-ascii characters, but I have nothing to base this off, as we lack information to help us come to an educated conclusion. Thanks :)

@Tjzabel
Copy link
Member

Tjzabel commented Oct 3, 2020

Some more additional information:

I started teleirc and tried to send a Cyrillic message from telegram and saw incorrect characters in the regular client.
The server and all users are using CP1251.

@Tjzabel Tjzabel added the help wanted Anyone is welcome to help us with this! label Oct 3, 2020
@jwflory jwflory added this to the v2.x.x milestone Oct 10, 2020
@Tjzabel Tjzabel removed the needs info Extra attention or information needed label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Anyone is welcome to help us with this!
Projects
None yet
Development

No branches or pull requests

3 participants