Modify

Ticket #9970 (closed Bug Report - Crash: fixed)

Opened 22 months ago

Last modified 22 months ago

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 mdean) (diff)

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

mythbackend.log (3.7 KB) - added by mdean 22 months ago.

Change History

comment:1 Changed 22 months ago by mdean

  • Description modified (diff)

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

Changed 22 months ago by mdean

comment:2 Changed 22 months 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 22 months ago by Github

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from unknown to 0.25

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.