My Oracle Support Banner

ERROR During Execution <type 'exceptions.AttributeError'> (Doc ID 2545058.1)

Last updated on JANUARY 30, 2020

Applies to:

Oracle API Platform Cloud Service - Version 15.3.3 to 15.3.3
Information in this document applies to any platform.

Symptoms

When we was trying to check the status of API Gateway using the command python "APIGateway.py -f gateway-props.json -a status", I'm getting below exception.

Please enter user name for weblogic domain,representing the gateway node:

<USERNAME>
Password:
Actions:
install: SUCCESSFUL
detail: {}
patch: not_attempted
configure: SUCCESSFUL
detail: {}
creategateway: not_attempted
join: SUCCESSFUL
detail: {"status": "JOIN_COMPLETED"}

2019-05-22 04:44:17,778 ERROR Error during execution <type 'exceptions.AttributeError'>
Traceback (most recent call last):
File "APIGateway.py", line 3490, in processSystemArguments
checkStatus(data)
File "APIGateway.py", line 2982, in checkStatus
if isalive(<URL>, data,False):
File "APIGateway.py", line 2885, in isalive
sslContext = createSSLContextForDevMode()
File "APIGateway.py", line 2128, in createSSLContextForDevMode
ctx = ssl.create_default_context()
AttributeError: 'module' object has no attribute 'create_default_context'
2019-05-22 04:44:17,782 INFO Execution complete.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.