Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Using traceback library to give call stack#1969

Merged
danmoseley merged 1 commit into
dotnet:masterfrom
Anipik:traceback
Mar 20, 2018
Merged

Using traceback library to give call stack#1969
danmoseley merged 1 commit into
dotnet:masterfrom
Anipik:traceback

Conversation

@Anipik
Copy link
Copy Markdown

@Anipik Anipik commented Mar 19, 2018

Fixes dotnet/corefx#28225 (comment)
Earlier Version

Traceback (most recent call last):
  File "src\Microsoft.DotNet.Build.CloudTestTasks\PackageFiles\DumplingHelper.py", line 131, in <module>
    main(sys.argv)
  File "src\Microsoft.DotNet.Build.CloudTestTasks\PackageFiles\DumplingHelper.py", line 113, in main
    install_dumpling()
  File "src\Microsoft.DotNet.Build.CloudTestTasks\PackageFiles\DumplingHelper.py", line 34, in install_dumpling
    print("An unexpected error was encountered while installing dumpling.py: " + sys.exc_info()[0])
TypeError: cannot concatenate 'str' and 'type' objects

New Version

An unexpected error was encountered while installing dumpling.py: Traceback (most recent call last):
  File "src\Microsoft.DotNet.Build.CloudTestTasks\PackageFiles\DumplingHelper.py", line 21, in install_dumpling
    response = urllib2.urlopen(url)
  File "C:\Python27\lib\urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 429, in open
    response = self._open(req, data)
  File "C:\Python27\lib\urllib2.py", line 447, in _open
    '_open', req)
  File "C:\Python27\lib\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 1241, in https_open
    context=self._context)
  File "C:\Python27\lib\urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "C:\Python27\lib\httplib.py", line 1042, in request
    self._send_request(method, url, body, headers)
  File "C:\Python27\lib\httplib.py", line 1082, in _send_request
    self.endheaders(body)
  File "C:\Python27\lib\httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "C:\Python27\lib\httplib.py", line 882, in _send_output
    self.send(msg)
  File "C:\Python27\lib\httplib.py", line 844, in send
    self.connect()
  File "C:\Python27\lib\httplib.py", line 1263, in connect
    server_hostname=server_hostname)
  File "C:\Python27\lib\ssl.py", line 363, in wrap_socket
    _context=self)
  File "C:\Python27\lib\ssl.py", line 611, in __init__
    self.do_handshake()
  File "C:\Python27\lib\ssl.py", line 848, in do_handshake
    match_hostname(self.getpeercert(), self.server_hostname)
  File "C:\Python27\lib\ssl.py", line 286, in match_hostname
    % (hostname, dnsnames[0]))
CertificateError: hostname 'dumpling.azurewebsites.net' doesn't match 'dumpling.int-dot.net'

@danmoseley danmoseley merged commit d072652 into dotnet:master Mar 20, 2018
@danmoseley
Copy link
Copy Markdown
Member

@DrewScoggins the underlying issue described by the message remains:
CertificateError: hostname 'dumpling.azurewebsites.net' doesn't match 'dumpling.int-dot.net'
What needs to change to fix that?

@danmoseley
Copy link
Copy Markdown
Member

Should @Anipik update this:
url = "https://dumpling.azurewebsites.net/api/client/dumpling.py"

@danmoseley
Copy link
Copy Markdown
Member

Ie is that the permanent URL

@danmoseley
Copy link
Copy Markdown
Member

I'm guessing dumpling.dot.net is going to be the permanent URL and we might as well update this preemmptively right?

@DrewScoggins
Copy link
Copy Markdown
Member

Yes, this is the permanent new address.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants