?mine=1 not working

Issue #159 resolved
James created an issue

My application relies on /anime/(id)?mine=1 and it's no longer working. It instead gives an error

This is what my local server gives: [{"message":"Server error response\n[status code] 504\n[reason phrase] Gateway Time-out\n[url] https:\/\/myanimelist.net\/login.php","class":"Guzzle\Http\Exception\ServerErrorResponseException","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Exception\/BadResponseException.php","line":43,"args":[]},{"namespace":"Guzzle\Http\Exception","short_class":"BadResponseException","class":"Guzzle\Http\Exception\BadResponseException","type":"::","function":"factory","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Message\/Request.php","line":145,"args":[["object","Guzzle\Http\Message\Request"],["object","Guzzle\Http\Message\Response"]]},{"namespace":"Guzzle\Http\Message","short_class":"Request","class":"Guzzle\Http\Message\Request","type":"::","function":"onRequestError","file":null,"line":null,"args":[["object","Guzzle\Common\Event"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/cache\/dev\/classes.php","line":1691,"args":[["array",[["string","Guzzle\Http\Message\Request"],["string","onRequestError"]]],["object","Guzzle\Common\Event"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"doDispatch","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/cache\/dev\/classes.php","line":1617,"args":[["array",[["array",[["string","Guzzle\Http\Message\Request"],["string","onRequestError"]]]]],["string","request.error"],["object","Guzzle\Common\Event"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"dispatch","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Message\/Request.php","line":589,"args":[["string","request.error"],["object","Guzzle\Common\Event"]]},{"namespace":"Guzzle\Http\Message","short_class":"Request","class":"Guzzle\Http\Message\Request","type":"->","function":"processResponse","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Message\/Request.php","line":378,"args":[["array",{"handle":["object","Guzzle\Http\Curl\CurlHandle"]}]]},{"namespace":"Guzzle\Http\Message","short_class":"Request","class":"Guzzle\Http\Message\Request","type":"->","function":"setState","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMulti.php","line":302,"args":[["string","complete"],["array",{"handle":["object","Guzzle\Http\Curl\CurlHandle"]}]]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMulti","class":"Guzzle\Http\Curl\CurlMulti","type":"->","function":"processResponse","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMulti.php","line":257,"args":[["object","Guzzle\Http\Message\Request"],["object","Guzzle\Http\Curl\CurlHandle"],["array",{"msg":["string","1"],"result":["string","0"],"handle":["string","Resource id #174"]}]]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMulti","class":"Guzzle\Http\Curl\CurlMulti","type":"->","function":"processMessages","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMulti.php","line":240,"args":[]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMulti","class":"Guzzle\Http\Curl\CurlMulti","type":"->","function":"executeHandles","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMulti.php","line":224,"args":[]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMulti","class":"Guzzle\Http\Curl\CurlMulti","type":"->","function":"perform","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMulti.php","line":111,"args":[]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMulti","class":"Guzzle\Http\Curl\CurlMulti","type":"->","function":"send","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Curl\/CurlMultiProxy.php","line":94,"args":[]},{"namespace":"Guzzle\Http\Curl","short_class":"CurlMultiProxy","class":"Guzzle\Http\Curl\CurlMultiProxy","type":"->","function":"send","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Client.php","line":284,"args":[]},{"namespace":"Guzzle\Http","short_class":"Client","class":"Guzzle\Http\Client","type":"->","function":"send","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/guzzle\/guzzle\/src\/Guzzle\/Http\/Message\/Request.php","line":198,"args":[["object","Guzzle\Http\Message\Request"]]},{"namespace":"Guzzle\Http\Message","short_class":"Request","class":"Guzzle\Http\Message\Request","type":"->","function":"send","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/src\/Atarashii\/APIBundle\/Service\/Communicator.php","line":132,"args":[]},{"namespace":"Atarashii\APIBundle\Service","short_class":"Communicator","class":"Atarashii\APIBundle\Service\Communicator","type":"->","function":"fetch","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/src\/Atarashii\/APIBundle\/Service\/Communicator.php","line":52,"args":[["string","\/login.php"]]},{"namespace":"Atarashii\APIBundle\Service","short_class":"Communicator","class":"Atarashii\APIBundle\Service\Communicator","type":"->","function":"getCsrfToken","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/src\/Atarashii\/APIBundle\/Service\/Communicator.php","line":85,"args":[]},{"namespace":"Atarashii\APIBundle\Service","short_class":"Communicator","class":"Atarashii\APIBundle\Service\Communicator","type":"->","function":"cookieLogin","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/src\/Atarashii\/APIBundle\/Controller\/RecordController.php","line":58,"args":[["string","ateliershiori"],["string","Hp?b4QxrB+HyWN"]]},{"namespace":"Atarashii\APIBundle\Controller","short_class":"RecordController","class":"Atarashii\APIBundle\Controller\RecordController","type":"->","function":"getAction","file":null,"line":null,"args":[["string","35540"],["string","2.1"],["string","anime"],["object","Symfony\Component\HttpFoundation\Request"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func_array","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/bootstrap.php.cache","line":2978,"args":[["array",[["object","Atarashii\APIBundle\Controller\RecordController"],["string","getAction"]]],["array",[["string","35540"],["string","2.1"],["string","anime"],["object","Symfony\Component\HttpFoundation\Request"]]]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"->","function":"handleRaw","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/bootstrap.php.cache","line":2952,"args":[["object","Symfony\Component\HttpFoundation\Request"],["string","1"]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"->","function":"handle","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/bootstrap.php.cache","line":3081,"args":[["object","Symfony\Component\HttpFoundation\Request"],["string","1"],["boolean",true]]},{"namespace":"Symfony\Component\HttpKernel\DependencyInjection","short_class":"ContainerAwareHttpKernel","class":"Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel","type":"->","function":"handle","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/app\/bootstrap.php.cache","line":2351,"args":[["object","Symfony\Component\HttpFoundation\Request"],["string","1"],["boolean",true]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"Kernel","class":"Symfony\Component\HttpKernel\Kernel","type":"->","function":"handle","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/web\/app_dev.php","line":28,"args":[["object","Symfony\Component\HttpFoundation\Request"]]},{"namespace":"","short_class":"","class":"","type":"","function":"require","file":"\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/vendor\/symfony\/symfony\/src\/Symfony\/Bundle\/FrameworkBundle\/Resources\/config\/router_dev.php","line":40,"args":[["string","\/Users\/takanashirikka\/Desktop\/animeneko-atarashii-api-2decaf6478ef\/web\/app_dev.php"]]}]}]

On my production server:

When I remove the mine=1, it will load the anime title data, but without the user's watched_episodes, watch_status and score

Comments (2)

  1. Log in to comment