Skip to content

Conversation

@gwbischof
Copy link
Contributor

@gwbischof gwbischof commented Apr 12, 2025

I was getting this error when running the tests in the dev-container

ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 127.0.0.1, port = 48874, uri=http://127.0.0.1:1236/api/v4/site

This change fixed the error for me.
I was planning on experimenting with generation of the api using the openapi spec from lemmy-js-client.

My intention for the file v4_test.dart was to make a test that loops through all of the endpoints defined in the openapi spec and does a basic test for each endpoint. I'm not sure how well that will work yet. Currently v4_test is passing so someone could use it to make sure the containers are working correctly.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant