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

AniList returns Internal Server Error #649

Closed
KuiShanya opened this Issue Jul 8, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@KuiShanya

KuiShanya commented Jul 8, 2018

So far it appears that syncing data from anilist to taiga works perfectly fine, but attempting to sync with anilist by updating taiga entries gives an internal server error from AniList. I've made sure to set the anilist account to my username and triple checked authorization so I have no clue as to what is happening.

@blamoo

This comment has been minimized.

blamoo commented Jul 8, 2018

I just migrated my list from MAL and got the same problem here...

2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | HTTP/1.1 500 Internal Server Error
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Server: nginx/1.11.9
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Content-Type: application/json
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Transfer-Encoding: chunked
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Connection: keep-alive
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Cache-Control: no-cache, private
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Date: Sun, 08 Jul 2018 05:33:56 GMT
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | X-RateLimit-Reset: 1531028090
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | X-RateLimit-Limit: 90
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | X-RateLimit-Remaining: 87
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | Set-Cookie: laravel_session=blah blah blah; expires=Sun, 15-Jul-2018 05:33:56 GMT; Max-Age=604800; path=/; httponly
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | <= Response header | 
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | >>
<= Recv data | 60
{"data":{"SaveMediaListEntry":null},"errors":[{"message":"Internal Server Error","status":500}]}
0
2018-07-08 02:33:56 [Debug] http_callback.cpp:126 base::http::Client::DebugHandler | Connection #0 to host graphql.anilist.co left intact
2018-07-08 02:33:56 [Debug] http.cpp:461 taiga::HttpManager::FreeConnection | Connections for hostname is now 0: graphql.anilist.co

@qtto

This comment has been minimized.

qtto commented Jul 8, 2018

Getting the same thing. Am on the latest version.

@erengy erengy added the anilist label Jul 8, 2018

@erengy

This comment has been minimized.

Owner

erengy commented Jul 8, 2018

Last time someone mentioned Internal Server Error, it was because they entered their email address instead of their username to Settings → Services → AniList. Could that be the case for you too?

If not, could you send me the rest of the debug log, @blamoo? (You may send it to the email address at my profile, to be safe.) Assuming that it's not actually a server issue, something might be wrong in the request Taiga sends.

@qtto

This comment has been minimized.

qtto commented Jul 8, 2018

@erengy: while preparing my debug log I remembered I changed my Anilist username. Changing it and re-authorizing fixed it. Is there no way to pull the profile name from Anilist instead of entering it manually? I don't know their API, so it might not be worth the effort, just spitballing. :-)

@KuiShanya

This comment has been minimized.

KuiShanya commented Jul 8, 2018

@erengy I've triple checked and I'm certain that it's my username and not my email. Also I'm on the latest build since I downloaded it export my list

@blamoo

This comment has been minimized.

blamoo commented Jul 9, 2018

@erengy okay.

I sent you my precisous super secret tokens too. Please don't judge me because of my list :3

@erengy erengy changed the title from Updates on Taiga not syncing to AniList to AniList returns Internal Server Error Jul 9, 2018

@erengy

This comment has been minimized.

Owner

erengy commented Jul 9, 2018

@blamoo Thanks! I checked your debug log and didn't find anything out of ordinary. However, I was able to figure out what's causing the issue. Reported it at AniList/ApiV2-GraphQL-Docs#45.

For now, I disabled requesting anime studios from AniList. You should be able to resolve the issue by downloading the latest build.

@blamoo

This comment has been minimized.

blamoo commented Jul 9, 2018

It works! Thank you :)

erengy added a commit that referenced this issue Jul 12, 2018

Revert "AniList: Get anime studios"
This reverts commit e50a5cd.

Reverting until #649 is fixed.

@erengy erengy closed this in 3fb93c8 Jul 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment