Opened 9 years ago

Closed 8 years ago

#10719 closed Bug Report - General (Fixed)

Theme download using ftp:// fails when http_proxy is set

Reported by: pmhahn@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: Services - Theme Downloads Version: 0.25-fixes
Severity: medium Keywords: qt proxy ftp
Cc: Ticket locked: no


When I try to download the Arclight theme in the ThemeDownload?, I just see something popup for just some micro seconds and then I'm back to the list of themes. Only running "mythfrontend --loglevel debug -v file,network" shows the following failure:

2012-05-13 08:56:24.977495 D  DownloadManager: queueDownload('', '/home/pmhahn/.mythtv/tmp/', 140443762908032)
2012-05-13 08:56:24.977664 D  Checking cache for
2012-05-13 08:56:24.977839 D  DownloadManager: downloadError 103 No suitable proxy found
2012-05-13 08:56:24.977851 D  DownloadManager: downloadProgress(0, 0) (for reply 12024880)
2012-05-13 08:56:24.977865 D  DownloadManager: downloadProgress: to /home/pmhahn/.mythtv/tmp/ is at 0 of 0 bytes downloaded
2012-05-13 08:56:24.977877 D  downloadProgress( sending event to caller
2012-05-13 08:56:24.977898 D  DownloadManager: downloadFinished(12024880)
2012-05-13 08:56:24.977903 D  DownloadManager: redirectUrl()
2012-05-13 08:56:24.977909 D  downloadFinished(140443794297232): COMPLETE:
2012-05-13 08:56:24.978000 D  downloadFinished(140443794297232): COMPLETE:, sending event to caller

That "No suitable proxy found" comes from Qt <>, but all downloads using ftp:// seem to fail. I have http_proxy=http://localhost:80 configured to use my local apache as proxy, which has only proxy_http but not proxy_ftp enabled. Unsetting http_proxy makes it work (even thou I have to select a theme twice to get it activated; it seems to be downloaded twice?)

MythTV should at least provide a more prominent hint on what went wrong.

Change History (2)

comment:1 Changed 9 years ago by Brendan Shanks <mrpippy@…>

I had the same problem on Windows with 0.25-fixes when an HTTP proxy is set.

comment:2 Changed 8 years ago by cpinkham

Resolution: Fixed
Status: newclosed

The easiest solution to this is to just use to download themes rather than I have modified the theme packaging script and regenerated the themeinfo.xml files and index files on the server. The FTP proxy issue should not be a problem anymore. The Theme Chooser (via MythDownloadManager?) should now use your HTTP proxy to get to the themes packages.

Note: See TracTickets for help on using tickets.