i was making pipeline for my python fastapi project and i am encountering this error again and agian and the error was this.
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 64fef9e4a7f01e7caf401b46, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused')>]>
i have provided you my pipeline code can some one please help me out in this situation.
Hi @Siddhant Pandey!
I see the error 'Connection refused' for localhost:27017.
In case you are using MongoDB, you can make use of the services feature in pipelines.
You can read more about database and services containers in Pipelines here:
More details about MongoDB specifically can be found here:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.