Suport » Probleme și soluții » An unexpected error occurred. Something may be wrong with WordPress.org or this

  • I have the latest version, the error is: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/admin/web/url.ro/public_html/wp-admin/includes/translation-install.php on line 59
    Please help i don’t know what to do! or where the problem comes from..

Vizualizare 15 răspunsuri - 1 la 15 (din 15 în total)
  • Inițiator fir de discuții gumbai

    (@gumbai)

    This is what is on the folowing lines (58-62):
    if ( $ssl && is_wp_error( $request ) ) {
    trigger_error( __( ‘An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.’ ) . ‘ ‘ . __( ‘(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)’ ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE );

    $request = wp_remote_post( $http_url, $options );
    }

    Inițiator fir de discuții gumbai

    (@gumbai)

    P.S. I can’t use templates or plugins with this install!

    If the problem is happening when you search plugins or themes its probably because your connected to a proxy and you need to configure it on your wp-config.php

    /** EXAMPLE - proxy settings */
    define('WP_PROXY_HOST', 'proxy.url.com');
    define('WP_PROXY_PORT', '1234');
    define('WP_PROXY_USERNAME', '');
    define('WP_PROXY_PASSWORD', '');
    define('WP_PROXY_BYPASS_HOSTS', 'localhost');

    Also check in your website settings the site url setting, if it’s not correct/blank fix it and try again.

    Inițiator fir de discuții gumbai

    (@gumbai)

    No it’s not that, i might add that the back-end(administration) works very slow. and i most certainly say that it has nothing to do with the server. I should add that i use vestapanel, but is the firs time this has happened, and is not the first time i use this configuration, it might be something with the last update of wp …

    EDIT: I also use nginx before the VestaPanel as a reverse proxy. I sincerely can’t understand why is this happening, it just shouldn’t, because i already used this configuration and worked well …

    Inițiator fir de discuții gumbai

    (@gumbai)

    Look all some other errors: Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/admin/web/url.ro/public_html/wp-includes/update.php on line 295

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/admin/web/url.ro/public_html/wp-includes/update.php on line 457
    Wordpress is just so fun to play with it, it keeps giving you errors, just because he cans!

    All the pasted errors are pointing on the same direction: Something may be wrong with WordPress.org or this server’s configuration.

    That is why I also suggest contacting your host.

    Each WordPress update has it’s own requirements as PHP version MySQL version and the Server has to comply with them in order to run WordPress.

    This requirements and Upgrades are necesarry to keep WordPress safe.

    This errors are comming from the WordPress core functions which are tested in production on a lot of websites so I don’t think they are buggy. But I don’t know your exact configuration…
    You can try to deactivate all your plugins and switch to a WordPress developed theme to see if you have the same issue… if you do then there is only one option from what I know: contact the host.

    Try the steps above and let me know if you have other news about this.

    Inițiator fir de discuții gumbai

    (@gumbai)

    Thanks for the answer. I’m my own host provider, and it’s all freshly installed, from the ubuntu 14.04 server, VestaPanel, wordpress. I’ve reinstalled them after i got the same error with the website i already had. I have the latest stable updates and so on!

    Inițiator fir de discuții gumbai

    (@gumbai)

    I have a question, if someone could explain how a secure connection to WordPress.org is establish, please do so. Or pinpoint me to the wright documention, not some general things that i keep finding, something more detailed. Thanks!

    I’ve always wanted to dig in WordPress to see how the connection for updates and theme/plugin download is made but hadn’t time/motivation/??? till now, I’ll check and get back.
    Until then, can you check the time and date on your server? let us know if it’s correct or if it has difference of days/months/years….

    Inițiator fir de discuții gumbai

    (@gumbai)

    vineri 6 martie 2015, 15:40:15 +0200

    It’s perfect!

    Yup it’s the right one.
    I’ve asked arround what can cause the error you got and I was suggested to check if the host computer can make cURL requests to wordpress.org in command line? and also if you can make sure that port 443 is oppend…

    I’m still reading the core to see the exact connection WordPress makes when installing plugins/themes from wordpress.org…

    Inițiator fir de discuții gumbai

    (@gumbai)

    root@vestap:~# ping wordpress.org
    PING wordpress.org (66.155.40.250) 56(84) bytes of data.
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=1 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=2 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=3 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=4 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=5 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=6 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=7 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=8 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=9 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=10 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=11 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=12 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=13 ttl=52 time=238 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=14 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=15 ttl=52 time=237 ms
    64 bytes from wordpress.org (66.155.40.250): icmp_seq=16 ttl=52 time=237 ms
    ^C
    --- wordpress.org ping statistics ---
    17 packets transmitted, 16 received, 5% packet loss, time 20315ms
    rtt min/avg/max/mdev = 237.332/237.957/238.332/0.496 ms

    It connects, but has some lag!
    And the 443 for now is closed, i did not need it, but i don’t see why this wold have anything to do with this problem, because i use non-ssl connection to wordpress, it could be possible to establish the secured connection with wordpress.org to use ssl even for my server to be bidirectional, but i don’t think so, as far as i know to download packages it uses ftp. So if the connection to wordpress wold be ssl encrypted it wouldn’t need to connect back to my server through ssl, and wold even have another problem, because wordpress.org wold not trust the certificate if where to be self-signet, and based on past experiences i don’t believe this could be cause of my problem.
    P.S. Plugins i can install, only the themes i can’t, but even i can install plugins i still get that error.

    The issue you are having is outside my knowladge right now … I’m checking the code of WP to see how exactly it gets packages from wp.org but it will take some time so I’d suggest you create a thread on the English WordPress forum (since you speak English) this way more eyes will see your issue and maybe someone has experience with this before I figure this out…

    Sorry I don’t have a fix for you right now …

    Inițiator fir de discuții gumbai

    (@gumbai)

    Thanks!

    I’ve just got a link to an article that has some extra info, I was thinking you can have a look at it while waiting for answers: http://www.allscoop.com/wordpress-plugin-install-failing.php

Vizualizare 15 răspunsuri - 1 la 15 (din 15 în total)
  • Subiectul „An unexpected error occurred. Something may be wrong with WordPress.org or this” este închis pentru răspunsuri noi.