Clicked on coupon and it gives SSLError

When I click on Coupons in Ecommerce then I get an Error SSLError.
the Url for this is https://medace.pk:18130/coupons/

** Here are the logs ***

Apr 26 15:08:57 ip-172-31-0-255 [service_variant=ecommerce][ecommerce.extensions.api.v2.views.catalog] ERROR [ip-172-31-0-255 2489] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/v2/views/catalog.py:104] - Failed to retrieve course catalogs data from the Discovery Service API.
Traceback (most recent call last):
File “/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/v2/views/catalog.py”, line 102, in course_catalogs
results = get_course_catalogs(site=request.site)
File “/edx/app/ecommerce/ecommerce/ecommerce/courses/utils.py”, line 80, in get_course_catalogs
response = endpoint(resource_id).get()
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/slumber/init.py”, line 155, in get
resp = self._request(“GET”, params=kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/slumber/init.py”, line 97, in _request
resp = self._store[“session”].request(method, url, data=data, params=params, files=files, headers=headers)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/requests/adapters.py”, line 514, in send
raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host=‘medace.pk’, port=18381): Max retries exceeded with url: /catalogs/ (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘ssl3_get_record’, ‘wrong version number’)],)”,),))
Apr 26 15:08:57 ip-172-31-0-255 [service_variant=ecommerce][django.request] ERROR [ip-172-31-0-255 2489] [/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/exception.py:135] - Internal Server Error: /api/v2/coupons/
Traceback (most recent call last):
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/utils/decorators.py”, line 185, in inner
return func(*args, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/viewsets.py”, line 90, in view
return self.dispatch(request, *args, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/oscar/apps/checkout/session.py”, line 71, in dispatch
request, *args, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/views.py”, line 489, in dispatch
response = self.handle_exception(exc)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/views.py”, line 449, in handle_exception
self.raise_uncaught_exception(exc)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/views.py”, line 486, in dispatch
response = handler(request, *args, **kwargs)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/mixins.py”, line 45, in list
return self.get_paginated_response(serializer.data)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/serializers.py”, line 739, in data
ret = super(ListSerializer, self).data
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/serializers.py”, line 263, in data
self._data = self.to_representation(self.instance)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/serializers.py”, line 657, in to_representation
self.child.to_representation(item) for item in iterable
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/serializers.py”, line 501, in to_representation
ret[field.field_name] = field.to_representation(attribute)
File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/rest_framework/fields.py”, line 1755, in to_representation
return method(value)
File “/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/serializers.py”, line 717, in get_code
if is_custom_code(obj):
File “/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/serializers.py”, line 58, in is_custom_code
return not is_enrollment_code(obj) and retrieve_quantity(obj) == 1
File “/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/serializers.py”, line 62, in is_enrollment_code
benefit = retrieve_voucher(obj).benefit
AttributeError: ‘NoneType’ object has no attribute ‘benefit’
Apr 26 15:08:57 ip-172-31-0-255 [service_variant=ecommerce][django.request] ERROR [ip-172-31-0-255 2489] [/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/handlers/exception.py:135] - Internal Server Error: /api/v2/coupons/
Traceback (most recent call last):