Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: Error 403?
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

Lurkerer - Group: Member - Total Posts: 1
user_avatar
Posted on: 10/21/15 05:18AM

So for apps like Animeboxes, people aren't browsing the site directly which means no ad revenue etc
as you said. Which is probably why things were adjusted so gelbooru no longer works on the app? And if that's the case, it's safe to say that it will be fairly unlikely to change back?



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 10/21/15 06:49AM

@Jerl Okay, thanks. I understand about ad revenue. Well, many people who were using the 3rp party apps and came on Gelbooru to have a more precise way to search pics won't come anymore. People will go to other sites with a working API for pictures.

Edit: Even with referring, doing a search involving the API gives me "Our API is being abused at the moment and is disabled", even when my browser uses referers (I can see the pictures perfectly). For example at gelbooru.com/index.php?pa...it=15&tags=&pid=0 . But maybe only pictures can be accessed remotly with direct links and proper referer ?



Jerl - Group: The Real Administrator - Total Posts: 6704
user_avatar
Posted on: 10/21/15 10:24AM

Again, the API being disabled has nothing to do with referrers. The API is is disabled for everyone, even site staff, regardless of whether you're sending referrers. As the error message implies, the API was disabled because someone was hitting it hard, enough to cause the site to noticeably slow. The API will likely be re-enabled when we're sure that they've stopped. It's actually stopped some vital moderation functions as well as IQDB from working, so you can be sure it'll come back.

As for third-party apps and loading images, as I stated in the other thread, these can be made to load images properly by sending a proper referrer. This is up to the developer of the app to do. You may wish to contact them about it if you want to expedite this.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 10/21/15 04:13PM

I'm the one developping, that's why I was asking. Well, we'll have to wait until it's back. My apps need to bed able to perform searches, and so use the API.

Thanks for your quick answer, now I know I wasn't doing anything wrong.



Jerl - Group: The Real Administrator - Total Posts: 6704
user_avatar
Posted on: 10/21/15 04:32PM

As far as I know, just sending "gelbooru.com" for the referrer should work. How to do this depends on what language you're using, though, so unless you're using C# or PHP, I can't really directly help you. There should be something on Stack Overflow about it, though, since it's a common thing to need to do.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 10/23/15 01:09AM

I'm using Curl and it has a convenient "REFERER" parameter, so that's handled. But my software relies on the sites' APIs to perform searches, then gather all the pictures' data, cache them, and show them.

So, without the API, it can't do anything



Strahan - Group: Member - Total Posts: 81
user_avatar
Posted on: 10/24/15 12:42AM

I saw the API is working again through my browser. I ran my app, it fails. I have the referrer setup, and it was working just before the API system was shut down. It says the API is disabled for anon users. I tried to set cookies in my HTTP header, so it would see my request as coming from my user, but it doesn't seem to want to take it. I ran Wireshark and grabbed the cookie data again and used that, no dice :( I don't suppose there are any examples floating around on how to make the requests work are there? I'm creating the cookies setting user_id, pass_hash and a bunch of _ut?? fields, _pdt and _ga. Should that be sufficient, or am I missing something? Thanks.



Deusexcalamus - Group: Moderator - Total Posts: 1169
user_avatar
Posted on: 10/24/15 01:34AM

Strahan said:
I saw the API is working again through my browser. I ran my app, it fails. I have the referrer setup, and it was working just before the API system was shut down. It says the API is disabled for anon users. I tried to set cookies in my HTTP header, so it would see my request as coming from my user, but it doesn't seem to want to take it. I ran Wireshark and grabbed the cookie data again and used that, no dice :( I don't suppose there are any examples floating around on how to make the requests work are there? I'm creating the cookies setting user_id, pass_hash and a bunch of _ut?? fields, _pdt and _ga. Should that be sufficient, or am I missing something? Thanks.

It's not working for me period using our mod tools, so I don't think it's working/I question how you got that information.



Jerl - Group: The Real Administrator - Total Posts: 6704
user_avatar
Posted on: 10/24/15 02:18AM

The API is currently working. Changes have been made to the API response which may cause issues with existing applications. More information will be provided soon.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 10/24/15 06:03AM

It still gives "Our API is being abused at the moment and is disabled to anonymous users." even with referers. Or maybe I somehow did something wrong with referers. Do we need to use user+pass in the HTTP request ?

Edit : Still does the same even with user+pwd



add_replyAdd Reply


123 4 56789