• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Cloudflare Connection issues

Status
Not open for further replies.

kratox

Member
Operating System: Linux
SinusBot Version: 0.10.8-71ba94b
TS3 Version: 3.0.18.2

Problem Description
Yesterday the bot went down and I tried to start it again. Thing is it said it needed to update. I thought this wasn't going to be that big a issue just a simple wget and extract. Thing is Wget keeps throwing a 403 forbidden error. Curl downloads the html of the website and not the actual file. I tried downloadomg it using windows and used filezilla to push the files over. The file refused to run still though. I then I pushed only the .bzip2 file and extracted using tar in linux. It ran but still says manual update needed. I even tried using the updater script and it still had the same issue. I then read the html file curl was downloading to see what was up, like someone suggested.I noticed that the file showed that captcha was trying to be ran. I contacted my provider and asked to use a KVM. I went through googles and sinusbots captcha on cloudflare and downloaded the files via gui. I then extracted and ran again. Same issue.

Question
Can anyone tell me what is wrong? Is the download site having issues? Also why can't you just run the bot without the need to always stay up to date. If issues like this arise I should have the option to fall back on something instead of it not working at all.
Running program
Code:
 ___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

Version: 0.10.8-71ba94b
(C) 2013-2017 Michael Friese. All rights reserved.

Using Logfile /opt/ts3soundboard/log.txt
a manual update is required

Log file
Code:
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Advertising (Text).js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Connect 4  4 Gewinnt.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Digital Clock.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Jail.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Lyrics.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Online_Users_Record.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin RSS Feed.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Random GIFs.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin RankCSGO.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin SConomy - Simple Currency System.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Server_Join_Alert.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Snake.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin TwitchHitbox Status.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Weather Information.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin WelcomeSound.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin Youtube Search.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin advertising.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin aloneMode.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin alonemode.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin away_mover.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin badchan.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin bookmark.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin cleverbot.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin covatar.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin dev.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin dice.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin followme.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin idle.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin metadata.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin norecording.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin rememberChannel.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin roll.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin rss-feed.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin showcase.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin snake.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin sound.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin welcome.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin welcometext.js
2017/10/25 23:37:04 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin youtube.js
 

kratox

Member
This means that
a) your system time is not correct
b) dns / internet not working

I forgot to mention that. I did verify that the time was correct so that isn't the issue. I am using cloud flare also on the server but I don't imagine that would be a issue. I am hoping it's just some glitch on the network from the dedicated server I bought. I will try again later in hopes it's fixed.
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Thing is Wget keeps throwing a 403 forbidden error. Curl downloads the html of the website and not the actual file.
This is the case when you are either banned by cloudflare or it checks whether you are a real person by displaying a captcha.

Edit: I didn't read the rest of your post, so you did already find that out, sorry ^^

Is the download site having issues?
No
 
Last edited:

kratox

Member
This is the case when you are either banned by cloudflare or it checks whether you are a real person by displaying a captcha.

Edit: I didn't read the rest of your post, so you did already find that out, sorry ^^


No
Did you guys mess with your cloudflare settings at all recently? Did you upgrade to the pro version recently? I am having a hard time pinpointing this issue. I actually checked on cloudlfare to see if my ip was being framed for wrong behavior and it said it was clean, so that can't be the reason for it popping up. The only other options I am reading according to cloud flare is that a setting in the cloudflare settings page is causing a flag to constantly throw giving me captcha non stop. It never did this until like a week or so ago, and it happened at random when I didn't even touch my server. Is there any way you can go into your cloudflare settings and check to see if my ip has any neighbors that might be causing this trigger or if your settings are set to high on a specific server provider?

Just a heads up here are other stuff I have tried:
I went threw and checked to make sure what files where installed recently that could be causing this.
I checked to see if any proxies or anything had been setup
I used networking tools to analyze my network and the actual sinus bot process to try and pinpoint what could be the cause.
I.E: Netstat, nethog, strace etc;
I went back and personally reset all my date and times settings AGAIN with ntp and etc.
I have analyzed the host file to check for anything
I have analyzed my /etc/resolv.conf files
And yes I have rebooted multiple times

--EDIT---------------------------
Almost forgot I ran this diag script someone made:

Error that shows up when running:
Code:
[2017-10-26 19:09:39] [ERROR] Contacting 'sinusbot.com' using IPv4-only mode failed: Please check for IPv4 connectivity, for any DNS resolution issues or possible firewall restrictions.
[2017-10-26 19:09:39] [ERROR] Contacting 'sinusbot.com' using IPv6-only mode failed: Please check for IPv6 connectivity, for any DNS resolution issues or possible firewall restrictions. Usually IPv6 is not supported from many internet service providers. As long as IPv4 is working, everything is fine.

Output:
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 9.2 (stretch)
 - OS x64 check: OK
 - Kernel: Linux 4.9.0-4-amd64 x86_64
 - Load Average: 0.02 0.02 0.04
 - Uptime: 0 days, 0 hours, 29 minutes, 41 seconds
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None (v1)
 - OS APT Last Update: 26.10.2017 18:37:45 CDT -05:00:00
 - Bot Start Script: not found
 - DNS resolution check: sinusbot.com resolved to 104.18.40.220 -> OK
 - HTTPS check with IPv4 mode: FAILED  [Failed establishing connection to sinusbot.com]
 - HTTPS check with IPv6 mode: FAILED  [Failed connecting to sinusbot.com]
 - CPU:
    Architecture:          x86_64
    CPU(s):                4
    Thread(s) per core:    1
    Core(s) per socket:    4
    Socket(s):             1
    Model name:            Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    CPU MHz:               1690.393
    Virtualization:        VT-x
 - RAM: 664.88 MB/7.71 GB in use (8%)
 - SWAP: 0 B/11.86 GB in use (0%)
 - DISK: 69.31 GB/354.60 GB in use (19%)
 - Package versions:
   > libglib: 2.50.3-22.50.3-2

BOT INFORMATION
 - Status: not running
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/ts3soundboard/sinusbot (MD5 Hash: febce0ebdd2d2e9d7f69701bc5a7c339)
 - Version: 0.10.8-71ba94b
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 5d26494473e8bc268a3859768f4b3e3f
   - TS3 Client: 5d26494473e8bc268a3859768f4b3e3f
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2017.06.25)
 - Installed scripts: advertising.js; Advertising (Text).js; alonemode.js; aloneMode.js; away_mover.js; badchan.js; bookmark.js; cleverbot.js; Connect 4  4 Gewinnt.js; covatar.js; dev.js; dice.js; Digital Clock.js; followme.js; idle.js; Jail.js; Lyrics.js; metadata.js; norecording.js; Online_Users_Record.js; Random GIFs.js; RankCSGO.js; rememberChannel.js; roll.js; rss-feed.js; RSS Feed.js; SConomy - Simple Currency System.js; Server_Join_Alert.js; showcase.js; snake.js; Snake.js; sound.js; TwitchHitbox Status.js; Weather Information.js; welcome.js; WelcomeSound.js; welcometext.js; youtube.js; Youtube Search.js

OTHER INFORMATION
 - Report date: 26.10.2017 19:09:39 CDT -05:00:00 (timezone: America/Chicago)
 - TeamSpeak 3 Version: 3.0.18.2 (vulnerable! outdated!)
 - youtube-dl Version: 2017.06.25
 - DiagScript version: 0.5.1
==========================================================
 
Last edited:

kratox

Member
It started working for about 2 days about a couple of days ago but this issue has come back yet again. Can I please get some assistance or at least some answers to my questions. I have contacted my service provider and they too did diagnoses and confirmed it is a issue with your service not me.
 
Last edited:

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Try to manually execute:
Code:
curl -v --ipv4 "sinusbot.com"
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Still getting 403. I am not trying to sound rude but if you look at the above post I have made, you will see that it checked ipv4 and still was getting that error.
As stated before this is caused by Cloudflare.
Either some server in your subnet is behaving suspiciously or it's a false flag.

As of right now there is nothing we can do about it but @flyth is looking into the issue soon™ ;)
 
Last edited:
Status
Not open for further replies.
Top