Chainlit with Flowise

I’ve hit a snag with the last steps. I’ve successfully cloned the Chainlit with flowise repository and entered all the data for authentication, but I’m encountering an error. If you have time to take a look, I’d be very grateful.

2024-02-10T19:07:28Z info: Deployment: 1ada58aa-5ae5-4681-a33f-3d8f297d23a6
2024-02-10T19:07:28Z info: Build: 69db0b82-2b6a-48d3-950d-6ef16404d877
2024-02-10T19:07:28Z info: Connecting to builder
2024-02-10T19:07:30Z info: Builder connected
2024-02-10T19:07:30Z info: Installing packages
--> poetry env list --full-path

2024-02-10T19:07:30Z info: Skipping Build as no Build command set
2024-02-10T19:07:30Z info: Pushing pid1 binary layer...
2024-02-10T19:07:32Z info: Created pid1 binary layer
2024-02-10T19:07:33Z info: Skipping Python layer creation
2024-02-10T19:07:33Z info: Skipping Node layer creation
2024-02-10T19:07:33Z info: Pushing Repl layer...
2024-02-10T19:07:33Z info: Pushing hosting layer...
2024-02-10T19:07:33Z info: Retrieved cached nix layer
2024-02-10T19:07:33Z info: Created hosting layer
2024-02-10T19:07:42Z info: Created Repl layer
2024-02-10T19:07:42Z info: Pushed image manifest
2024-02-10T19:07:43Z info: Pushed soci index manifest
2024-02-10T19:07:50Z info: Creating Autoscale service
starting up user application
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/runner/1ada58aa-5ae5-4681-a33f-3d8f297d23a6/.pythonlibs/lib/python3.10/site-packages/chainlit/cli/", line 153, in chainlit_run
  File "/home/runner/1ada58aa-5ae5-4681-a33f-3d8f297d23a6/.pythonlibs/lib/python3.10/site-packages/click/", line 1688, in invoke
    return self.main(*args, **kwargs)
    return ctx.invoke(self.callback, **ctx.params)
Traceback (most recent call last):
    def auth_callback(username: str, password: str) -> Optional[cl.AppUser]:
exec [sh -c chainlit run] error=exec: already started
  File "/home/runner/1ada58aa-5ae5-4681-a33f-3d8f297d23a6/.pythonlibs/lib/python3.10/site-packages/chainlit/", line 337, in load_module
2024-02-10T19:08:18Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on and a staff member will take a look

Welcome to the forums, @caulead!
Does your program run a web server?

1 Like