Support

Account

Home Forums ACF PRO ACF Pro Cannot Connect to Update Server

Solved

ACF Pro Cannot Connect to Update Server

  • OVH answered me, but to be able to investigate, they need the exact functions that are used to connect to ACF. The ACF server address would be helpful to.

  • The address:

    http://connect.advancedcustomfields.com/index.php

    After the index.php are usually arguments for what info is to be grabbed. For example, the get-info call (for checking the version):

    http://connect.advancedcustomfields.com/index.php?a=get-info&p=pro

    The function used to grab this data from a remote server is:

    wp_remote_post()

    (this function is called in ‘advanced-custom-fields-pro/pro/api/api-pro.php’, and is located in ‘wp-includes/http.php’)

    wp_remote_post() is a WordPress function. As Hube2 said, it creates a WP_Http object, going through a chain of functions, eventually resulting in either cURL or streams being used.

    The Wp_Http class is available to browse here:
    https://github.com/WordPress/WordPress/blob/master/wp-includes/class-http.php

    This file contains all the actual functions for handling any sort of remote connection.

    Inside the file, the 2 possible options (curl or streams) have classes associated with them.

    The class WP_Http_Curl handles the cURL session, setting up options and handling errors. This class contains all of the functions ran (stuff like curl_init, curl_setopt, curl_exec).

    If cURL isn’t used, then the class WP_Http_Streams handles the connection. This class contains all of the functions ran for the connection (stuff like stream_context_create, stream_socket_client ).

  • @wilirius thank you very much for the resume, I’ll try to find out with OVH where the issue is…

  • Sounds good, let us know.

    When I discussed it with Rackspace they said that cURLing to the server resulted in 403 forbidden errors when attempting to connect to http://connect.advancedcustomfields.com/index.php?a=get-info&p=pro :

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /index.php
    on this server.</p>
    <p>Additionally, a 403 Forbidden
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    <hr>
    <address>Apache Server at connect.advancedcustomfields.com Port 80</address>
    </body></html>

    and when trying to access http://assets.advancedcustomfields.com/add-ons/add-ons.json:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /add-ons/add-ons.json
    on this server.</p>
    <p>Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    <hr>
    <address>Apache Server at assets.advancedcustomfields.com Port 80</address>
    </body></html>
  • Hello to all,

    I had a response from OVH. They did some request in curl from their servers. Here are the results :

    ~$ curl -i http://connect.advancedcustomfields.com/index.php
    400 Bad Request
    nothing is returned

    ~$ curl -i http://connect.advancedcustomfields.com/index.php?a=get-info&p=pro
    There are some data returned but it ends with a HTTP/1.1 400 Bad Request

    ~$ curl -i http://assets.advancedcustomfields.com/add-ons/add-ons.json
    HTTP/1.1 200 OK
    Everything is fine.

    I did those test in my terminal and get the same results. On OVH point of view the problem comes from ACF server.

  • Did this get resolved? I’m having the same issue on sites hosted at Tsohost in the UK.

  • Same problem for me with Gandi hosting.

  • I haven’t been able to get any response in any form for support after purchasing ACF Pro. Either something tragic has happened, or the product has been abandoned.

  • I wanted to update everyone in this thread on a solution I found to the activation error problem. Obviously it might not apply in every case, but it’s worth trying to make sure it’s not easily fixable.

    I have the same activate issue described in several posts (before trying to activate and another error after trying to activate). This was on a site that was previously activated and functioning fine. Upon further inspection, I also noticed that my Gravity forms Developer license would not activate either (similar symptoms). This let me know it most likely wasn’t only an ACF issue, but something was effecting both plugin activation methods.

    My Solution:
    After about 2 hours of trying to figure out a solution, I ended up downloading the newest core files from wordpress.org and re-uploading them to the site (be careful not to overwrite your wp-content folder). This instantly fixed the issue for both plugins. I made no other changes to the site files. It was the same version of WP that was installed already (so no a version issue).

    My only guess is that there was some sort of error in the core WP files from an incomplete WP update that was effecting the activation calls. I wasn’t getting any PHP errors, so I can’t pin down exactly what was happening.

    If you’re having issues, I would suggest trying a re-install of the core files for a quick attempt at fixing the problem. Hopefully it will help some of you.

  • @Joe, thank you for your message.

    I just did a try, re-uploading wordpress core but it didn’t solve the problem on my config. Then I tried to upload again ACF Pro, but it is still impossible to reach the server.

    Did anybody else tried this ?

  • You may have already tried this, but have you downloaded it to a local machine (MAMP setup) or other hosting to confirm that it is indeed an issue with your specific host? I’m not discounting that it’s an ACF issue, but it’s at least something to try so you can gather the most info possible about what is going wrong.

  • Hi there,

    this seems to be connected to some kind of server settings on some hosting environments. I have just discovered that two sites hosted on Strato (strato.de) are affected by the connection issues and won’t let me install my license and update accordingly. Did anybody come up with some kind of fix? I presume it is something on the hoster’s end and we cannot do much about it, but it would be good if we could point out what the actual problem is. ACF support was kind, but has no clue, since it seems server related.

  • No progress with 5.2.0

  • And I forget to answer @Joe, yes I already work with ACF Pro on localhost with Mamp and everything works perfectly. I also work on site on another web host where there is no problem.

    What I can’t understand, is that everything was working fine, until something changed on some providers or on ACF side. The fact that it occurs on different providers at the same time let me think that something should have changed on ACF hosting.

  • Hi guys

    Thanks for all your help debugging this issue.

    I’ve been in touch with my host and have potentially fixed the issue.

    Can you please try again and let me know how you go?

    Thanks
    E

  • Hello @elliot ,

    Thank you for your answer.
    I just did a try, but it doesn’t seems to work.

    My host is the french/european host OVH (ovh.com).

    Let me know if you need further test or detail.

    Thanks

  • Hi @elliot ,
    Thanks for your concern : )
    My host is also OVH (in France) and it still doesn’t work with this provider.
    Cheers.

  • Hi @elliot ,

    same here. Tried to solve it with the hoster via e-mail tickets for weeks, no dice, and still not working since you changed your hosting stuff, unfortunately 🙁 .

    Cheers²

  • @elliot, no difference here. Hosting within Rackspace’s Cloud Sites.

  • Hi guys

    Thanks for the feedback. I’m really not sure what the issue is, but I’ll see if my host can think of anything else.

    Thanks
    Elliot

  • Hi guys

    We have made another change, can you please test again and let me know?

    Thanks
    E

  • Also having this problem on strato.de. Definitely something new as some of the sites have been using ACF5 for a long time with no problems.

  • Yeah, and Strato has no idea and crappy support, no way of solving this, @frances .


    @elliot
    still not working, sorry.

  • No luck with Rackspace Cloud Sites at 12:28pm GMT.

Viewing 25 posts - 76 through 100 (of 134 total)

The topic ‘ACF Pro Cannot Connect to Update Server’ is closed to new replies.