Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11739 (closed)

Opened 8 years ago

Closed 8 years ago

WEB doesn't recognize qa host prefix

Reported by: atarkowska Owned by: atarkowska
Priority: blocker Milestone: 5.0.0-rc1
Component: Web Version: 4.4.9
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

It seems that WEB doesn't recognize QA host prefix and it always assume is HTTP

2013-11-21 11:20:01,437 ERROR [          omeroweb.feedback.sendfeedback] (proc.17684) send_comment:135 Feedback could not be sent.
2013-11-21 11:20:01,437 ERROR [          omeroweb.feedback.sendfeedback] (proc.17684) send_comment:136 Traceback (most recent call last):
  File "/Users/ola/OMERO/openmicroscopy/dist/lib/python/omeroweb/feedback/sendfeedback.py", line 126, in send_comment
    conn.request("POST", "/qa/initial/", params, headers)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 955, in request
    self._send_request(method, url, body, headers)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 989, in _send_request
    self.endheaders(body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 951, in endheaders
    self._send_output(message_body)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 811, in _send_output
    self.send(msg)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 773, in send
    self.connect()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 754, in connect
    self.timeout, self.source_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno 8] nodename nor servname provided, or not known

2013-11-21 11:20:01,437 ERROR [          omeroweb.feedback.sendfeedback] (proc.17684) send_comment:141 [Errno 8] nodename nor servname provided, or not known
2013-11-21 11:20:01,437 ERROR [                 omeroweb.feedback.views] (proc.17684) send_comment:107 handler500: Feedback could not be sent
2013-11-21 11:20:01,437 ERROR [                 omeroweb.feedback.views] (proc.17684) send_comment:108 Traceback (most recent call last):
  File "/Users/ola/OMERO/openmicroscopy/dist/lib/python/omeroweb/feedback/views.py", line 105, in send_comment
    sf.give_comment(comment, email)
  File "/Users/ola/OMERO/openmicroscopy/dist/lib/python/omeroweb/feedback/sendfeedback.py", line 198, in give_comment
    self.send_comment({"email": email, "comment":comment, "app_name": 6, "app_version": omero_version, "env":env})
  File "/Users/ola/OMERO/openmicroscopy/dist/lib/python/omeroweb/feedback/sendfeedback.py", line 142, in send_comment
    raise x
gaierror: [Errno 8] nodename nor servname provided, or not known

Change History (3)

comment:2 Changed 8 years ago by atarkowska

comment:3 Changed 8 years ago by Aleksandra Tarkowska <A.Tarkowska@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [b81f56c19cc57b2bff8518617c5bc0e3bbde2b84/ome.git] on branch develop) adjusting HTTP connection to make sure feedback will be sent to host with ssl on and off, close #11739

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66419 sec.)

We're Hiring!