{"action":"created","issue":{"url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/115","repository_url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy","labels_url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/115/comments","events_url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/115/events","html_url":"https://github.com/mcrapet/plowshare-modules-legacy/issues/115","id":190828881,"number":115,"title":"rapidgator upload failing","user":{"login":"ghjimmy","id":10255002,"avatar_url":"https://avatars.githubusercontent.com/u/10255002?v=3","gravatar_id":"","url":"https://api.github.com/users/ghjimmy","html_url":"https://github.com/ghjimmy","followers_url":"https://api.github.com/users/ghjimmy/followers","following_url":"https://api.github.com/users/ghjimmy/following{/other_user}","gists_url":"https://api.github.com/users/ghjimmy/gists{/gist_id}","starred_url":"https://api.github.com/users/ghjimmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghjimmy/subscriptions","organizations_url":"https://api.github.com/users/ghjimmy/orgs","repos_url":"https://api.github.com/users/ghjimmy/repos","events_url":"https://api.github.com/users/ghjimmy/events{/privacy}","received_events_url":"https://api.github.com/users/ghjimmy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-21T20:35:01Z","updated_at":"2016-12-16T19:02:10Z","closed_at":null,"body":"When using rapidgator upload recently I had the following error:\r\n```\r\n$ plowup rapidgator Stills.jpg \r\nplowup: force captcha method (imgur)\r\nrapidgator: take --auth option from configuration file\r\nStarting upload (rapidgator): Stills.jpg\r\nDestination file: Stills.jpg\r\nStarting login process: jrjimmy01%40googlemail.com/*********\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100  454k    0    79  100  454k     13  78056  0:00:05  0:00:05 --:--:-- 98210\r\nUnexpected state: 'processing'\r\nFailed inside rapidgator_upload() [1]\r\n```\r\nI fixed it by putting a small delay before fetching the status.  Not sure if there are any other side effects, or if there's a better way to do it, but it's working for me now:\r\n```\r\n--- rapidgator.sh.orig\t2016-11-21 20:21:58.000000000 +0000\r\n+++ rapidgator.sh\t2016-11-21 20:31:44.000000000 +0000\r\n@@ -662,6 +662,7 @@\r\n             \"$UP_URL$SESSION_ID&folder_id=$FOLDER_ID\") || return\r\n \r\n         # Get download URL\r\n+\tsleep 2\r\n         JSON=$(curl --referer \"$URL\" -H \"Origin: $BASE_URL\" \\\r\n             -H 'Accept: application/json, text/javascript, */*; q=0.01' \\\r\n             \"$PROG_URL&data%5B0%5D%5Buuid%5D=$SESSION_ID&data%5B0%5D%5Bstart_time%5D=$START_TIME\") || return\r\n```"},"comment":{"url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/comments/267670262","html_url":"https://github.com/mcrapet/plowshare-modules-legacy/issues/115#issuecomment-267670262","issue_url":"https://api.github.com/repos/mcrapet/plowshare-modules-legacy/issues/115","id":267670262,"user":{"login":"zodman","id":44167,"avatar_url":"https://avatars.githubusercontent.com/u/44167?v=3","gravatar_id":"","url":"https://api.github.com/users/zodman","html_url":"https://github.com/zodman","followers_url":"https://api.github.com/users/zodman/followers","following_url":"https://api.github.com/users/zodman/following{/other_user}","gists_url":"https://api.github.com/users/zodman/gists{/gist_id}","starred_url":"https://api.github.com/users/zodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zodman/subscriptions","organizations_url":"https://api.github.com/users/zodman/orgs","repos_url":"https://api.github.com/users/zodman/repos","events_url":"https://api.github.com/users/zodman/events{/privacy}","received_events_url":"https://api.github.com/users/zodman/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T19:02:10Z","updated_at":"2016-12-16T19:02:10Z","body":"i cant test without user/pass to use the service"}}
{"actor":{"display_login":"zodman"}}