elfPy icon indicating copy to clipboard operation
elfPy copied to clipboard

HTTP Error 400: Bad Request

Open okram999 opened this issue 8 years ago • 1 comments

Was working till last week.

check point
Traceback (most recent call last):
  File ".\elf.py", line 239, in <module>
    download_elf()
  File ".\elf.py", line 115, in download_elf
    access_token, instance_url = login()
  File ".\elf.py", line 97, in login
    res = urllib2.urlopen(req)
  File "C:\Python27\lib\urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 397, in open
    response = meth(req, response)
  File "C:\Python27\lib\urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python27\lib\urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request

okram999 avatar Oct 09 '17 17:10 okram999

Fixed ..

Implemented the SSL Context as TLS1.0 was disabled on the server

okram999 avatar Oct 10 '17 19:10 okram999