Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

invalid session id when starting the example in a docker env #86

Description

@owen2345
Message: invalid session id: session deleted as the browser has closed the connection
from disconnected: not connected to DevTools
...
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=59889): Max retries exceeded with url: /session/0dcbf61fd78743768e434faf5340b413/window (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x2aaad5087350>: Failed to establish a new connection: [Errno 111] Connection refused'))

The example I used is:

import asyncio
from talkingheads import PiClient

async def main():
    chathead = PiClient()
    await chathead.start()
    response = await chathead.interact("Where do you find some tasty cheese in Paris?")
    print(response)

# Run the async function
asyncio.run(main())

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions