8000 AnimeBytes Configuration Failing · Issue #1535 · Jackett/Jackett · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AnimeByt 8000 es Configuration Failing #1535

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

Closed
AliveCake opened this issue Jul 8, 2017 · 29 comments
Closed

AnimeBytes Configuration Failing #1535

AliveCake opened this issue Jul 8, 2017 · 29 comments

Comments

@AliveCake
Copy link
AliveCake commented Jul 8, 2017

Jackett version: 0.7.1533.0
Mono version (if not using Windows): 4.8.0

No matter what I do, AnimeBytes fails to configure on Jackett from my seedbox. I've looked at Issue #1054 and updating to the latest build of Jackett doesn't seem to fix it. I've also tried to change my account password to only alphanumerical characters and it still fails. Strangely though, AnimeBytes seems to recognize that I've logged in on my seedbox on the session page.

Jul 08, 2017 01:33:45 PM | Debug | IWebClient: Returning Forbidden => 98549 bytes
Jul 08, 2017 01:33:45 PM | Debug | IWebClient.GetBytes(Url:https://animebytes.tv/)
Jul 08, 2017 01:33:45 PM | Debug | IWebClient: Returning SeeOther => https://animebytes.tv/
Jul 08, 2017 01:33:45 PM | Debug | IWebClient.GetString(Url:https://animebytes.tv/user/login)
Jul 08, 2017 01:33:45 PM | Debug | IWebClient: Returning OK => <!DOCTYPE html>
<html>
  <head>
    <title>Login :: AnimeBytes</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="-1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/static/favicon-f8a3a024b0.ico" />
    <link rel="stylesheet" href="/static/styles/public/style-394fb98f75.css" />
    <link rel="stylesheet" media="all and (max-width: 768px)" href="/static/styles/public/mobile-e8183bc155.css" />
      <script src="/static/functions/captcha-beb287a78f.js" type="text/javascript"></script>
  </head>
  <body id="login">
    <div id="wrapper">
      <div id="outer">
        <div id="inner">
          <a href="/" class="nav home" id="nav_index">Home</a>
          <a href="/user/login" class="nav" id="nav_login">Login</a>
                    <a href="/user/support" class="nav">Account&nbsp;Support</a>
            <form name="loginform" id="loginform" method="post" action="/user/login">
  <!--
--><input type="hidden" name="_CSRF_INDEX" value="poCFxkoZ/gDQIknph8uePGif" /><!--
--><input type="hidden" name="_CSRF_TOKEN" value="wovMKazWr1NpVkYkd6zdLHEkDrpM5aTR46pDiZmS/vQ=" />
  <br><br>
  You have <strong class="okokok">6</strong> attempts remaining.
  You will be banned for 6 hours after your login attempts run out.
    <dl>
      <dt><label for="username">Username</label></dt>
      <dd><input class="inputtext" autofocus="" id="username" minlength="1" maxlength="20" required="" name="username" value="" type="text"></dd>

      <dt><label for="password">Password</label></dt>
      <dd><input class="inputtext" id="password" minlength="6" maxlength="255" required="" name="password" value="" type="password"></dd>

      <dt id="rememberme">Keep me logged in</dt>
      <dd><input id="keeplogged" value="on" name="keeplogged" type="checkbox"><label for="keeplogged">Keep me logged in</label></dd>

          </dl>
    <input type="submit" name="login" value="Log In!" class="submit">
  </form>
  <p class="bottomlink"><a href="/user/recover">Forgot your username/password?</a></p>
        </div>
      </div>
    </div>
  </body>
</html>
Jul 08, 2017 01:33:45 PM | Debug | IWebClient.GetString(Url:https://animebytes.tv/user/login)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@AliveCake
Copy link
Author
AliveCake commented Jul 12, 2017

Quote from a staff member at AB

Jackett is emulating browser and is being very serious about it (even going as far as hiding behind fake User-Agent) - hence it's detected as VPN usage and blocked.

Any possible way to make Jackett have a proper User-Agent just for AB so that it won't get blocked?

@chibidev
Copy link
Collaborator

@AliveCake can't check it out without an invite, but v0.7.1581 should fix it. Can you give it a go?

@Dhs92
Copy link
Dhs92 commented Jul 21, 2017

Does not work on my end, using 588

@bubez81
Copy link
bubez81 commented Jul 25, 2017

same problem here

@CarlB86
Copy link
CarlB86 commented Aug 11, 2017

I have the same issue on adding animebytes to jackett on my seedbox. An existing local install that had animebytes already added tests successfully.

@Dhs92
Copy link
Dhs92 commented Aug 11, 2017 via email

@kaso17
Copy link
Collaborator
kaso17 commented Aug 11, 2017

For me AnimeBytes works with both fake user agents (linux and windows). Most likely it's not just the user agent which gets you banned (maybe the seedbox IP range is flag as VPN too?).
With 51aa4f3 the fake user agent is no longer used for AnimeBytes (It's now "jackett/$version").
make sure you're using the httpwebclient (user agent was never set for libcurl)

@4xposed
Copy link
4xposed commented Sep 6, 2017

I'm having the same issue, on my list of sessions on AnimeBytes my server shows as having an active session, but the configuration fails.

@Dhs92
Copy link
Dhs92 commented Sep 7, 2017 via email

@kaso17
Copy link
Collaborator
kaso17 commented Sep 8, 2017

@4xposed please provide a log
@Dhs92 can you check if jackett ist started with the --NoRestart flag?

@Dhs92
Copy link
Dhs92 commented Sep 9, 2017 via email

@kaso17
Copy link
Collaborator
kaso17 commented Sep 9, 2017

@Dhs92 Then I'm not sure what causes the auto updating to fail.
Can you provide the jounal (journalctl -u jackett -n 10000 ) log after an update attempt?
Please also provide the updater log (~/.config/Jackett/updater.txt)

@Dhs92
Copy link
Dhs92 commented Sep 9, 2017 via email

@kaso17
Copy link
Collaborator
kaso17 commented Sep 9, 2017

ok, which https error exactly?
It's very odd as the updater won't touch any config or execute anything (It just extracts the archive replacing any existing files).

@4xposed
Copy link
4xposed commented Sep 10, 2017

@kaso17
I'm using version 0.8.151.0
In my AnimeBytes profile the session shows up as active: https://i.imgur.com/iENGofj.png
my logs (I removed the username and password from the logs):

2017-09-10 17:41:10.7530 Debug IWebClient: Returning OK => <!DOCTYPE html>
<html>
  <head>
    <title>Login :: AnimeBytes</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="-1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/static/favicon-f8a3a024b0.ico" />
    <link rel="stylesheet" href="/static/styles/public/style-394fb98f75.css" />
    <link rel="stylesheet" media="all and (max-width: 768px)" href="/static/styles/public/mobile-e8183bc155.css" />
      <script src="/static/functions/captcha-beb287a78f.js" type="text/javascript"></script>
  </head>
  <body id="login">
    <div id="wrapper">
      <div id="outer">
        <div id="inner">
          <a href="/" class="nav home" id="nav_index">Home</a>
          <a href="/user/login" class="nav" id="nav_login">Login</a>
                    <a href="/user/support" class="nav">Account&nbsp;Support</a>
            <form name="loginform" id="loginform" method="post" action="/user/login">
  <!--
--><input type="hidden" name="_CSRF_INDEX" value="slP6EGXKyX9ag3P+9z6ICcuc" /><!--
--><input type="hidden" name="_CSRF_TOKEN" value="WPXAOx5sfYQunjL9tGBASc5nzZFfsiJJKpeLcF36gHs=" />
  <br><br>
  You have <strong class="okokok">6</strong> attempts remaining.
  You will be banned for 6 hours after your login attempts run out.
    <dl>
      <dt><label for="username">Username</label></dt>
      <dd><input class="inputtext" autofocus="" id="username" minlength="1" maxlength="20" required="" name="username" value="" type="text"></dd>

      <dt><label for="password">Password</label></dt>
      <dd><input class="inputtext" id="password" minlength="6" maxlength="255" required="" name="password" value="" type="password"></dd>

      <dt id="rememberme">Keep me logged in</dt>
      <dd><input id="keeplogged" value="on" name="keeplogged" type="checkbox"><label for="keeplogged">Keep me logged in</label></dd>

          </dl>
    <input type="submit" name="login" value="Log In!" class="submit">
  </form>
  <p class="bottomlink"><a href="/user/recover">Forgot your username/password?</a></p>
        </div>
      </div>
    </div>
  </body>
</html>
 
2017-09-10 17:41:10.7558 Debug IWebClient.GetString(Url:https://animebytes.tv/user/login) 
2017-09-10 17:41:10.7558 Debug UnixLibCurlWebClient: Posting _CSRF_INDEX=slP6EGXKyX9ag3P%2B9z6ICcuc&_CSRF_TOKEN=WPXAOx5sfYQunjL9tGBASc5nzZFfsiJJKpeLcF36gHs%3D&username=foo&password=bar%baz&keeplogged_sent=true&keeplogged=on&login=Log+In%21 
2017-09-10 17:41:10.9448 Debug IWebClient: Returning SeeOther => https://animebytes.tv/  
2017-09-10 17:41:10.9458 Debug IWebClient.GetBytes(Url:https://animebytes.tv/) 
2017-09-10 17:41:11.0827 Debug IWebClient: Returning Forbidden => 98317 bytes 
2017-09-10 17:41:11.0892 Error ReflectedHttpActionDescriptor ExecuteAsync  
2017-09-10 17:41:11.0898 Error ApiControllerActionInvoker InvokeActionAsync  
2017-09-10 17:41:11.0906 Info RequiresIndexerAttribute OnActionExecutedAsync Action filter for 'Config(ConfigItem[] config)' 
2017-09-10 17:41:11.0906 Info RequiresIndexerAttribute OnActionExecutedAsync  
2017-09-10 17:41:11.0906 Info JackettAPINoCacheAttribute OnActionExecutedAsync Action filter for 'Config(ConfigItem[] config)' 
2017-09-10 17:41:11.0906 Info JackettAPINoCacheAttribute OnActionExecutedAsync  
2017-09-10 17:41:11.0922 Info ApiExceptionHandler ExecuteExceptionFilterAsync  
2017-09-10 17:41:11.0959 Info ApiExceptionHandler ExecuteExceptionFilterAsync  
2017-09-10 17:41:11.0959 Info IndexerApiController ExecuteAsync  
2017-09-10 17:41:11.0959 Info   Content-type='application/json; charset=utf-8', content-length=14721 
2017-09-10 17:41:11.0972 Info IndexerApiController Dispose  ```

@kaso17
Copy link
Collaborator
kaso17 commented Sep 11, 2017

Please try updating mono to version 5 or 5.2 in order to use the native httpclient instead of libcurl

@kaso17
Copy link
Collaborator
kaso17 commented Sep 11, 2017

Or does your username/password contain any special characters?

@4xposed
Copy link
4xposed commented Sep 29, 2017

I updated mono to 5.0.1.1 and it still doesn't work.

my password doesn't contain special characters

@qtv
Copy link
qtv commented Oct 14, 2017

mono 5.2 and animebytes does not work with "returning forbidden" errors like the examples above, while animebytes recognizes me as logged in. jackett 0.8.259.0 on seedbox (Hetzner) running ubuntu. password is letters/numbers.

@Dhs92
Copy link
Dhs92 commented Oct 17, 2017

@qtv can you confirm not working on mono 4.8 as well?

@qtv
Copy link
qtv commented Oct 17, 2017

well, it really fucked up my sonarr (uninstalled) and another package to downgrade to 4.8 but I did. I would not recommend. I can confirm it is broken on mono 4.8 as well.

@Dhs92
Copy link
Dhs92 commented Oct 17, 2017 via email

@qtv
Copy link
qtv commented Oct 17, 2017 via email

@Dhs92
Copy link
Dhs92 commented Oct 17, 2017

Ah gotcha, looking at the code for AnimeBytes they know about the HTTP500 issue

@qtv
Copy link
qtv commented Oct 17, 2017

I have sent a PM to someone at AB to see if they could provide any insight, like if theyre banning all seedbox IPs even despite the "jackett" user agent that previously was mentioned as possibly fixing the AB integration. Hopefully can reduce down this issue at least

@qtv
Copy link
qtv commented Oct 18, 2017

Update: if you are getting http 500 error with jackett on your seedbox your seedbox IP is probably just banned as being a VPN. As long as your seedbox is dedicated and has a static IP, send AB an invite to get it unblocked. I did and now no longer have the http 500 error, using mono 5.4

Therefore, this issue can be closed.

@Dhs92
Copy link
Dhs92 commented Oct 18, 2017

I'll go ahead and shoot the mods a message, thanks for asking them!

@kaso17
Copy link
Collaborator
kaso17 commented Oct 18, 2017

@qtv Thank you for sharing that information.
I assume with error 500 you mean the Forbidden error?
Forbidden is 403, 500 is internal server error.
I've added error detection for Forbidden via 07744ab

@qtv
Copy link
qtv commented Oct 18, 2017

yeah, I meant 403. my bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
0