Bug 10578 - Using django>=1.8.16 prevents access from hosts other than localhost
Summary: Using django>=1.8.16 prevents access from hosts other than localhost
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M1
Assignee: brian avery
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks: 10586 10587
  Show dependency tree
 
Reported: 2016-11-01 22:24 UTC by Randy Witt
Modified: 2017-04-28 17:35 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
toaster_web.log (8.48 KB, text/plain)
2016-11-01 22:24 UTC, Randy Witt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2016-11-01 22:24:08 UTC
Created attachment 3519 [details]
toaster_web.log

When the version of Django installed is >= 1.8.16, trying to access toaster will fail. This appears to be because Django became more restrictive starting with that version.

When trying to access the page the error will be "A server error occurred.  Please contact the administrator."

To reproduce run toaster by binding to 0.0.0.0 instead of localhost, and try to connect.

The toaster_web.log is attached, I found it when the toaster container tests were ran.
Comment 1 brian avery 2016-11-02 00:03:48 UTC
Submitted to toaster mailing list.
https://lists.yoctoproject.org/pipermail/toaster/2016-November/005290.html
Comment 2 brian avery 2016-11-02 19:34:23 UTC
sent V2 to list
Comment 4 brian avery 2016-11-21 19:35:06 UTC
in master ->7c3a47ed8965c3a3eb90a9a4678d5caedbba6337