Opened 13 years ago

Closed 13 years ago

#9970 closed Bug Report - Crash (fixed)

http_server prevents start up

Reported by: brian@… Owned by:
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by sphery)

If one has a proxy configured in the http_proxy environment variable, current master will not start. A log of a start up with an environment variable set such as:

http_proxy=http://proxy:3128/

is attached.

Attachments (1)

mythbackend.log (3.7 KB) - added by sphery 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by sphery

Description: modified (diff)

Moving log to ticket so it won't be lost on pastebin expiry.

Changed 13 years ago by sphery

Attachment: mythbackend.log added

comment:2 Changed 13 years ago by beirdo

Please attach the debug log rather than the console log. I see a couple odd messages in there that I would like to look into fixing as well.

comment:3 Changed 13 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: newclosed

Fix HTTP Proxy usage.

When we setup the http proxy, we were using as a type HttpProxy?, when it should have been HttpCachingProxy? (as we are using it *only* for HTTP requests). This allowed when we did a listen that it would try to proxy the incoming connections as far as I can tell.

Also, to be absolutely sure, when we use a MythServer? or the HTTPServer, we now set the connection's proxy to NoProxy? before calling the listen. This keeps it from even trying.

Fixes #9970

Branch: master Changeset: e5784de119e06c8c21fdead0fd728fe773f7f6f0

Note: See TracTickets for help on using tickets.