Skip to content

Getting socket hang up issue #441

@paritosh-apexon

Description

@paritosh-apexon

When I try with multiple phases, I am getting socket hang up error on Postman. Actually I have created app,py file on top of run.py and using Flask like

On each phase I am giving responsibility to create multiple files based on my requirement.

app = Flask(__name__)

@app.route('/generate_project', methods=['POST'])
def run_endpoint():

    try:
        # Only pass the required parameters and use defaults for the rest
        result = run_chat_chain(app_name=app_name, other_detail: details
        )
        return jsonify(result), 200
        # return result, 200
    except Exception as e:
        return jsonify({"status": "error", "message": str(e)}), 500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions