Encountered "TypeError: port must be an integer" when Deploying Python Application with MySQL Cloud Service on Application Cloud Container

(Doc ID 2362271.1)

Last updated on FEBRUARY 25, 2018

Applies to:

Application Container Cloud - Version N/A and later
Information in this document applies to any platform.

Symptoms

A problem is encountered when deploying a Python application on Oracle Application Cloud Container Service following this tutorial:

Creating a Python Application Using MySQL Cloud Service on Oracle Application Container Cloud Service

At the "Creating the REST Service" portion of the tutorial, the file app.py has the last line:

 

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms