Closed (outdated)
Project:
Update Status
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2007 at 10:47 UTC
Updated:
27 Jun 2018 at 12:26 UTC
Jump to comment: Most recent
Comments
Comment #1
biohabit commentedYeah this just assume a direct connection to the internet and fails. PLEASE include support for specifying a proxy server and port number.
Comment #2
dwwYou can set the 'update_status_fetch_url' variable to the URL you want to fetch from instead. There's no UI for this, but you could set it via:
A) previewing a php filtered page as an admin that contains:
B) In the $conf array in your settings.php files.
That changes where update_status tries to fetch its results from. The default URL is 'http://updates.drupal.org/release-history'. Is that all you need? I confess I'm not too familiar with different kinds of proxy servers and what configuration they require. Please let me know if this is all you're asking about. Thanks.
Comment #3
agentrickardThis is actually an issue with drupal_http_request() and the use of fsockopen, I believe, and might be best served by a bug report against Drupal core.
http://api.drupal.org/api/function/drupal_http_request/6
See also this post.
Comment #4
thememex commentedAlso try: Get me past my proxy server (http://drupal.org/node/7881).
I haven't been able to get Update Status to successfully check, but at least the admin pages load quickly. You can also turn off the Update Status module and ignore the Drupal warnings until Proxy support has been added to the core.
(Version: Drupal 6.0).
Comment #5
yellek commentedI have managed to get this working in 6.x by changing the update_fetch_url variable (not update_status_fetch_url as suggested in #2) by adding the following to my settings.php:
and then using a combination of the following apache rules:
and using a cntlm (http://cntlm.sourceforge.net/) service running on port 4444 of the server box to authenticate with an IIS proxy firewall.
Note that my server is running on port 8888, adjust the URL in settings.php accordingly for your installation.
Comment #6
dww@yellek re: #5: that's great, thanks for sharing. in 6.x the variable name changed when the module was renamed on its way into core, but the same solution should work in either version with the right variable name.
It'd be nice to document this somewhere beyond this issue -- for 5.x I could put it in the README.txt and update the FAQ on the project page. not sure where it'd have to go for 6.x since it's now in core and there's no module-specific README.txt. Probably a handbook page somewhere. If anyone has specific suggestions or wants to just document themselves, please do. Thanks.
Comment #7
arhak commentedsubscribing
Comment #8
Leeteq commentedSubscribing.
Comment #9
robertgarrigos commentedsolution #2 doesn't seem to work with an authenticated access to the proxy :-(
Comment #10
kenorb commentedDuplicated: #349375: Sometimes update_help() execute ages, Drupal freezing
Comment #11
kenorb commentedDrupal 5 is no longer officially supported. If you think this issue is still relevant in 7.x and beyond, feel free to re-open.