Skip to content

Sample helloworld application not able to execute the workflow #298

Open

Description

@anandthegreat

The sample helloworld application is able to create the greetings workflow, but throws "404: No static resource api/workflow/execute/greetings/1" while executing:

2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO     created worker with name=greet and domain=None
2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO     TaskHandler initialized
2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO     Starting worker processes...
2025-07-01 08:23:15,123 [74067] conductor.client.automator.task_handler INFO     Started 1 TaskRunner process
2025-07-01 08:23:15,123 [74067] conductor.client.automator.task_handler INFO     Started all processes
2025-07-01 08:23:15,124 [74067] conductor.client.automator.task_runner INFO     Polling task greet with domain None with polling interval 0.1
Traceback (most recent call last):
  File "/Users/anand/Desktop/conductor-python-sdk/helloworld.py", line 38, in <module>
    main()
  File "/Users/anand/Desktop/conductor-python-sdk/helloworld.py", line 30, in main
    workflow_run = workflow_executor.execute(name=workflow.name, version=workflow.version, workflow_input={'name': 'Anand'})
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/workflow/executor/workflow_executor.py", line 79, in execute
    return self.workflow_client.execute_workflow(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/orkes/orkes_workflow_client.py", line 53, in execute_workflow
    return self.workflowResourceApi.execute_workflow(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api/workflow_resource_api.py", line 225, in execute_workflow
    (data) = self.execute_workflow_with_http_info(body, request_id, name, version, **kwargs)  # noqa: E501
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api/workflow_resource_api.py", line 316, in execute_workflow_with_http_info
    return self.api_client.call_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 337, in call_api
    return self.__call_api(resource_path, method,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 68, in __call_api
    return self.__call_api_no_retry(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 153, in __call_api_no_retry
    response_data = self.request(
                    ^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 382, in request
    return self.rest_client.POST(url,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/rest.py", line 156, in POST
    return self.request("POST", url,
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/rest.py", line 115, in request
    raise ApiException(http_resp=r)
conductor.client.http.rest.ApiException: (404)
Reason: 
HTTP response headers: {'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Date': 'Tue, 01 Jul 2025 02:53:13 GMT', 'Keep-Alive': 'timeout=60', 'Connection': 'keep-alive'}
HTTP response body: {"status":404,"message":"No static resource api/workflow/execute/greetings/1.","instance":"f89803fb6888","retryable":false}

Activity

  1. IgorChvyrov-sm commented on Jul 16, 2025

    @IgorChvyrov-sm
    Contributor

    Hi @anandthegreat

    Thanks for reporting this issue! To help us investigate, could you please share:

    1. The version of the conductor-python library you're using
    2. The version of Conductor you're running
  2. anandthegreat commented on Jul 19, 2025

    @anandthegreat
    Author

    Hi @IgorChvyrov-sm,

    1. conductor-python==1.1.10
    2. I'm starting conductor with docker compose
      docker compose -f docker/docker-compose.yaml up
  3. IgorChvyrov-sm commented on Jul 21, 2025

    @IgorChvyrov-sm
    Contributor

    Hi @anandthegreat

    I’m currently looking into this issue and will get back to you soon with an update. Thanks for your patience!

  4. IgorChvyrov-sm commented on Jul 22, 2025

    @IgorChvyrov-sm
    Contributor

    Hi @anandthegreat

    Thank you for your patience! Please try running Conductor using the Docker image from the README:
    docker run --init -p 8080:8080 -p 5000:5000 conductoross/conductor-standalone:3.15.0

    Let us know if you encounter any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions