rawon.jpg

rawon

Cookies Setup

Fix "Sign in to confirm you're not a bot" errors on hosting providers. It's easier than you think!

🤔 Why do I need this?

If you're hosting Rawon on cloud providers like OVHcloud, AWS, GCP, Azure, Railway, or other hosting services, you might encounter the error:

"Sign in to confirm you're not a bot"

This happens because the video platform blocks requests from data center IP addresses. By using cookies from a logged-in account, you can bypass this restriction. Don't worry - it's easy to set up!

🚀 Easy Method: Using the Cookies Command (Recommended)

The easiest way to manage cookies - no file editing needed!

✅ Works instantly - no restart needed

✅ Supports multiple cookies with automatic rotation

✅ When one cookie fails, bot automatically uses the next one

✅ Cookies persist after bot restarts

📝 Available Commands

!cookies add <number> # Add a cookie (attach cookies.txt file) !cookies remove <number> # Remove a specific cookie !cookies remove all # Remove all cookies !cookies list # Show all cookies and their status !cookies reset # Reset failed status to retry all cookies

⚡ Quick Start (3 steps)

  1. Export cookies from your browser (see guide below)

  2. In Discord, type: !cookies add 1 and attach your cookies.txt file

  3. Done! The cookie is now active

💡 Pro Tip: Add Multiple Cookies

Add cookies from different accounts for better reliability:

!cookies add 1 # (attach first cookies.txt) !cookies add 2 # (attach second cookies.txt from another account) !cookies add 3 # (attach third cookies.txt)

📋 What You Need

  • A secondary/throwaway video platform account (NEVER use your main account!)

  • A web browser (Chrome, Firefox, or Edge)

  • A cookies export extension (free from browser store)

📖 How to Export Cookies

Step 1: Create a Throwaway Account

  1. Go to the video platform's account signup page

  2. Create a NEW account specifically for this bot

  3. ⚠️ IMPORTANT: NEVER use your personal/main account!

Step 2: Log in to the Video Platform

  1. Open your browser

  2. Go to the video platform website

  3. Sign in with your throwaway account

  4. Accept any terms if prompted

Step 3: Install Cookies Export Extension

Step 4: Export Cookies

  1. Make sure you're on the video platform website

  2. Click the cookies extension icon in your browser toolbar

  3. Click Export or Export cookies for this site

  4. Save the file as cookies.txt

Step 5: Add to Rawon

  1. Go to any channel where Rawon can see your messages

  2. Type: !cookies add 1

  3. Attach the cookies.txt file to your message and send

  4. Rawon will confirm the cookie was added!

🔧 Troubleshooting

Still getting "Sign in to confirm you're not a bot" errors?

  • Use !cookies list to check cookie status

  • If a cookie shows Failed, try !cookies reset to retry

  • Add more cookies from different accounts for redundancy

All cookies failed?

  • Create new throwaway accounts

  • Export fresh cookies

  • Add them with !cookies add <number>

Account got suspended?

  • This can happen with heavy usage

  • Simply create a new throwaway account

  • Export new cookies and add them

⏰ How Long Do Cookies Last?

Good news! Video platform cookies do NOT expire regularly. They stay valid as long as:

  • You don't log out from the video platform in your browser

  • You don't change your account password

  • You don't revoke the session from account settings

  • The platform doesn't detect suspicious activity

In practice, cookies can last months or even years! Just set it up once and forget about it.

🔒 Security Notes

WARNING

  • ⚠️ NEVER share your cookies file with anyone

  • ⚠️ Use a throwaway account, NOT your main account

  • ⚠️ The cookies file contains sensitive login data