Bug 6981 - Toaster lsupdates should follow environment proxy settings
Summary: Toaster lsupdates should follow environment proxy settings
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Alexandru Damian
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-19 11:52 UTC by Ionut Chisanovici
Modified: 2015-12-07 14:24 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ionut Chisanovici 2014-11-19 11:52:50 UTC
Hi,

No layer available in project mode even after running:

$ bitbake/lib/toaster/manage.py lsupdates
EE: could not connect to http://layers.openembedded.org/layerindex/api/, skipping update: [Errno 110] Connection timed out
Traceback (most recent call last):
  File "/home/ionut/work/weekly/poky/bitbake/lib/toaster/orm/models.py", line 597, in update
    apilinks = _get_json_response()
  File "/home/ionut/work/weekly/poky/bitbake/lib/toaster/orm/models.py", line 589, in _get_json_response
    conn.request("GET", parsedurl.path + "?" + parsedurl.query)
  File "/usr/lib/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 791, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 772, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 110] Connection timed out

Cheers,
Ionut C
Comment 1 Alexandru Damian 2015-01-14 17:07:11 UTC
This patch was merged in toaster/master.
Comment 2 Alexandru Roman 2015-12-07 14:24:26 UTC
Verified on : 51246bfae3b0012a5940ce744816de70ccbf1292