Bug 6981

Summary: Toaster lsupdates should follow environment proxy settings
Product: [Build System, Metadata & Runtime] Toaster Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu
Version: 1.8   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

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