Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thought I posted the link but dont see it

    The host checked everything out and claims that it is a problem with instagram. Says that instagram blocks for having too many requests. It’s odd because it worked at first. They suggested that as I tested it multiple times for different displays that instagram then blocks after multiple requests. The host also sent me links to articles on stackoverflow.

    I’m developing a tool for checking the integrity of links in a web page.

    I’ve noticed that various Instagram URLs will return a HTTP 500 response in cases where if one were to visit the given URL in a browser one would get a HTTP 200 response accompanied by the expected resource.

    This is when requesting regular Instagram URLs as one would do as a browser user and not when using the REST API.

    A typical request/response using cURL:

    curl -v https://instagram.com/p/YKTkxHBA-P/
    * About to connect() to instagram.com port 80 (#0)
    * Trying 54.225.159.246… connected
    > GET /p/YKTkxHBA-P/ HTTP/1.1
    > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
    > Host: instagram.com
    > Accept: */*
    >
    < HTTP/1.1 500 Server Error
    < Cache-Control: no-cache
    < Content-Type: text/html
    < Date: Tue, 15 Oct 2013 08:31:09 GMT
    < Server: nginx
    < Content-Length: 87
    < Connection: keep-alive
    <
    <html><body><h1>500 Server Error</h1>
    An internal server error occured.
    </body></html>
    * Connection #0 to host instagram.com left intact
    * Closing connection #0
    I did for some time get HTTP 200 responses in such cases but am now consistently getting HTTP 500 responses.

    This is all specific to a given host; such URLs, even when sending requests with cURL, will return HTTP 200 responses from other machines.

    Due to this being specific to the host sending the requests I suspect a form of rate limiting or request filtering by IP is going on, however I can find no documentation to the effect.

    Will Instagram officially return a HTTP 500 response as above due to a given IP being denied access?

    instagram internal-server-error
    share|improve this question
    asked Oct 15 ’13 at 8:42

    Jon Cram
    5,64253767

    I’m having the same problem. Is it what you (we) are supposing? Aka when your IP gets “banned” you get 500s? – kitsched Nov 6 ’13 at 7:02
    3
    @kitsched Yes, I’m assuming that a banned IP gets HTTP 500 responses. That’s the only conclusion I can come to with the information I have available to me. I admit the information I have may well be incomplete. – Jon Cram Nov 7 ’13 at 12:28

    Same here, about the suppositions, I mean. I submitted a request / question to them, asking for my IP to be unbanned. I’m curious if anything will happen. Thanks for your answer. – kitsched Nov 7 ’13 at 16:11

    @JonCram Same problem here. Did you find the real reason of this error? I can reproduce this error on individual server. All API requests work fine on other servers. It looks like a ban from Instagram, but they didn’t notify about the ban. And sometimes I’m able to make successful request to Instagram API, but it works very rarely… – Michael M. Kalygin Mar 19 at 16:47

    I am now suddenly getting this also. It appears it may be an error on Instagram’s side now. I find it odd that it works in my web browser but not on my server though. Using the same URL. – Francis Pelland Mar 19 at 19:34
    show 7 more comments
    2 Answers
    activeoldestvotes
    up vote
    -2
    down vote
    I’m almost 100% sure this happens because the domain/IP address is blocked from the Instagram API.

    Reason:

    Works to get the JSON in the browser. Doesn’t work to get with cURL from webservice.
    I copied my exact application from my primary domain (were the application doesn’t work) to another domain. Same application worked.
    The strange thing is that you get a “500 Internal Error” back and not a message “Your IP is blocked”.

    share|improve this answer
    answered Mar 27 at 16:35

    Kim
    268114
    1
    But how to explain that sometimes the request is working from the same ip and sometimes not. Moreover, what is the exact criteria for banning?? :-/ – ivicaa Mar 29 at 16:10
    add comment

    up vote
    -2
    down vote
    This is an IP rate limit. If you want to skip the part where you contact Instagram and wait for the monkey crew they have working over there to fix the problem, simply assign 1000 IPs to your server and loop through them randomly for your requests. You won’t see anymore 500’s.

    Cheers.

    share|improve this answer
    answered Mar 31 at 22:04

    user3482950
    11

    Lots of people start getting these 500’s when you’re testing API integration. Because you’re most likely requesting the same Instagram page data over and over again during testing, Instagram thinks its a bot and promotes the IP address, this is where you start to see 1/10th of your requests being accepted. I stand behind my given answer, it is the easiest way around this issue, as their API is a pile of sh*t with no real support that is ready and willing to help you. – user3482950 Apr 3 at 19:38
    add comment

    They claim there is nothing wrong on their end. I am not buying it. I am having the same problem with every instagram plugin I try.

    The only error in the log is this:

    [07-Apr-2014 01:12:17 UTC] WordPress database error Table ‘peaktkd0_wp767.wp_wfPerfLog’ doesn’t exist for query select count(*) as cnt from wp_wfPerfLog made by do_action_ref_array, call_user_func_array, wordfence::dailyCron, wfDB->querySingle

    I have tried Yakadada and Justified Image Grid. All 3 are having the same problem. I have the site host checking on the problem and will let you know what they find.

    Having the same issue. Paypal is working fine.

    Thread Starter wildcatjrotcbooster

    (@wildcatjrotcbooster)

    I reviewed the donations area and can see other information if I click on an individual record, but not in the screen view for donations. The Tribute information does not get exported with the other information. Neither the Honoree notification or the Entity notification are working, but the donor receipt notification email does work.

    Thread Starter wildcatjrotcbooster

    (@wildcatjrotcbooster)

    The name of the honoree also does not show up in the donations area. The name of the honoree is also not on the email receipt (the email that works to the donor – not the notification receipt that does not work at all)

    The peaktkd.net site is hosted on Siteground, but has the same 500 code.

    It looked awesome when it was working. Have been trying to fix for several hours. Have reset secret. Deleted user, etc, still not working. Very sad as it looked awesome for a while.

    I am having the same problem. I just installed this week and it worked fine for a short time. When it stopped working, I tried method 2 and still have an error. https://peaktkd.net/instagram/

    ‘Load from the Instagram feed

    P0, UTC:3:6:4.3575, Start plugin.
    P1, UTC:3:6:4.3591, Enqueue styles and scripts
    P2, UTC:3:6:4.3594, Retrieve Photos
    P3, UTC:3:6:4.3597, Check cache
    P4, UTC:3:6:4.3607, Using get_transient()…
    P5, UTC:3:6:4.3646, No cache found
    P6, UTC:3:6:4.3646, Check for access_token
    P7, UTC:3:6:4.3648, Try accessing Instagram feed
    P8, UTC:3:6:4.3648, Use wp_remote_get() (cURL) to make request
    P9, UTC:3:6:13.4979, Request complete
    P10, UTC:3:6:13.4980, An error occured.
    P11, UTC:3:6:13.4980, Code: 500
    P12, UTC:3:6:13.4980, Message: Internal Server Error
    P13, UTC:3:6:13.4981, Failed using wp_remote_get()
    P14, UTC:3:6:13.4981, Check your Instagram feed. If the feed is empty, then the problem is with Instagram. If you see a full page of text, then the problem is with the Alpine plugin or your web server.
    P15, UTC:3:6:13.4982, Check Results
    P16, UTC:3:6:13.4984, Loading complete
    Output

    Load from cache

    P0, UTC:3:6:13.4995, Start plugin.
    P1, UTC:3:6:13.5011, Enqueue styles and scripts
    P2, UTC:3:6:13.5014, Retrieve Photos
    P3, UTC:3:6:13.5017, Check cache
    P4, UTC:3:6:13.5019, Using get_transient()…
    P5, UTC:3:6:13.5024, No cache found
    P6, UTC:3:6:13.5024, Check for access_token
    P7, UTC:3:6:13.5026, Try accessing Instagram feed
    P8, UTC:3:6:13.5026, Use wp_remote_get() (cURL) to make request
    P9, UTC:3:6:22.6506, Request complete
    P10, UTC:3:6:22.6507, An error occured.
    P11, UTC:3:6:22.6507, Code: 500
    P12, UTC:3:6:22.6507, Message: Internal Server Error
    P13, UTC:3:6:22.6507, Failed using wp_remote_get()
    P14, UTC:3:6:22.6507, Check your Instagram feed. If the feed is empty, then the problem is with Instagram. If you see a full page of text, then the problem is with the Alpine plugin or your web server.
    P15, UTC:3:6:22.6509, Check Results
    P16, UTC:3:6:22.6509, Loading complete
    Output’

    Thread Starter wildcatjrotcbooster

    (@wildcatjrotcbooster)

    Can this be done from inside wordpress or do I need to access from the server?

    Thread Starter wildcatjrotcbooster

    (@wildcatjrotcbooster)

    Sorry for the caps in the subject, didn’t realize they were on until I reviewed my post.
    I worked around the ordering by using the shortcode multiple times in the order I needed. I am still having a problem with the ordering in the email contact form though. Since this website is for a JROTC Battalion & booster club, they take their rank ordering very seriously. Right now I just have the instructors and booster club directors. If I display all, the last 5 or so are out of order in the form, but show in the correct order in the manager. I have even had the same problem using types and selecting them in the correct order. The errors don’t show now, but when school starts I would like to have all the contacts listed. List using work around https://wildcatbattalionjrotc.org/leadership/ adnd contact form https://wildcatbattalionjrotc.org/contact-form/

    Thread Starter wildcatjrotcbooster

    (@wildcatjrotcbooster)

    Tried to use a blank field instead of a dropdown list so that the donor can write a comment to show who they are sponsoring. On the admin side I can see both my dropdown and the text field, on the front side the fields do not show. I see there is a way to add donations on the admin side, it would be great if there was the same comment box on the front side facing the world. Also, on the admin side, I tried using 3 names in the dropdown data section, for some reason only the second and third data fields show in the dropdown selector and on the admin side only.

Viewing 12 replies - 1 through 12 (of 12 total)