xmlrpc() error: (-1001) unable to parse URL during Drush command I have an odd error coming from Drush when I perform module updates and other commands (it's most consistently comes from module updates). Near the end of the command execution this message pops up:


  xmlrpc() error: (-1001) unable to parse URL


Some cursory Googling produces that its likely an error popping up in drupal_http_request. I'm not sure where however since I'm not too familiar with the Drush code base. 

I ran drush with the --debug switch for more information but that didn't tell me much other than this message typically pops up after the drush_cache_command_clear() being executed.

What is causing this error?
Turns out the issue was the APC module. After some testing I was able to isolate the issue during cache clear.

[shawnconn@host www]$ drush cc all
'all' cache was cleared.                                                                                                                                                                                                                                 [success]
xmlrpc() error: (-1001) unable to parse URL                                                                                                                                                                                                              [error]
[shawnconn@host www]$ drush dis apc
The following extensions will be disabled: apc
Do you really want to continue? (y/n): y
apc was disabled successfully.                                                                                                                                                                                                                           [ok]
You need to enable the APC module for remote cache clearing to work. Run drush pm-enable apc.                                                                                                                                                            [error]
[shawnconn@host www]$ drush cc all
'all' cache was cleared.                                                                                                                                                                                                                                 [success]
[shawnconn@host www]$