• Resolved SteveTPearce

    (@stevetpearce)


    I’m running a WP multisite install behind a school’s firewall, accessible from the outside via a reverse proxy. Pretty much everything works.

    However, when I try and install plugins, going to Add New and clicking (say) the “Featured” link generates a “An unexpected error occurred. Something may be wrong…”

    AFAIK the proxy is configured correctly in wp-config.ini – I’ve tested is using wget from the server running WP and it works fine. I actually have access to two proxies – one that goes through a content filter and one that doesn’t – neither work.

    Can anyone suggest where to start troubleshooting? I’ve been trying to resolve the issue for a couple of weeks without any success…

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried manual uploading of plugins?

    Thread Starter SteveTPearce

    (@stevetpearce)

    I can install them manually which works fine – but this issue also seems to be preventing other things being downloaded such as importing media using the WordPress Importer plugin for instance.

    It just seems WordPress is unable to download any content from the outside world…

    Thread Starter SteveTPearce

    (@stevetpearce)

    For anyone struggling with this – here’s what I had to do to fix the issue:
    1) install php5-curl (e.g. apt-get install php5-curl)
    2) add the line extension=curl.so to /etc/php5/apache2/php.ini
    3) restart Apache (e.g. service apache2 restart)

    Once done, all update notifications work, plugins are listed properly and the WordPress Importer can do its thing.

    This was the big clue:
    https://core.trac.wordpress.org/ticket/28630
    although I had to look elsewhere for step 2).

    Hope this helps someone out there…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not downloading plugins via proxy’ is closed to new replies.