# Error when trying to start the housekeeper within the Relay

**URL:** https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796
**Category:** Relays
**Tags:** question
**Created:** [December 11, 2023, 12:04pm UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796 "2023-12-11T12:04:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kosala](https://collective.flashbots.net/letter_avatar_proxy/v4/letter/k/8491ac/32.png) [@Kosala](https://collective.flashbots.net/u/Kosala)
#### Post date: [December 11, 2023, 12:04pm UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796/1 "2023-12-11T12:04:11Z")

</div>

I need to deploy the flahbots Relay on my local environment.  
I followed the flashbots Relay Readme file and tried the following command to start the housekeeper of the Relay. $\> go run . housekeeper --network sepolia --db postgres://postgres:postgres@localhost:5432/postgres:sslmode=disable. However, this gives an error as follows - FATA[2023-12-11T11:28:36Z] Failed to connect to Postgres database at localhost:5432/postgres:sslmode=disable error=“pq: SSL is not enabled on the server” service=relay/housekeeper version=dev. Any help is appreciated. Thanks.

---

<div class="post-metadata">

### Author: ![metachris](https://collective.flashbots.net/user_avatar/collective.flashbots.net/metachris/32/6_2.png) [@metachris](https://collective.flashbots.net/u/metachris)
#### Post date: [December 12, 2023, 8:39am UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796/2 "2023-12-12T08:39:48Z")

</div>

what’s all the steps you run?

is postgres running and you can connect to it?

---

<div class="post-metadata">

### Author: ![Kosala](https://collective.flashbots.net/letter_avatar_proxy/v4/letter/k/8491ac/32.png) [@Kosala](https://collective.flashbots.net/u/Kosala)
#### Post date: [December 12, 2023, 9:03am UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796/3 "2023-12-12T09:03:45Z")

</div>

> [@Kosala](#):
>
> :sslmode

Thanks for asking. I could fix the connection to postgres using the following command - used “backslash and ?” instead of “:”  
go run . housekeeper --network sepolia --db postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable

Now I am getting "error=“beacon node is syncing or unavailable” . I am trying to setup a synced beacon node. Thanks.

---

<div class="post-metadata">

### Author: ![Kosala](https://collective.flashbots.net/letter_avatar_proxy/v4/letter/k/8491ac/32.png) [@Kosala](https://collective.flashbots.net/u/Kosala)
#### Post date: [December 12, 2023, 12:49pm UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796/4 "2023-12-12T12:49:38Z")

</div>

Thanks, I could get the housekeeper running successfully.

---

<div class="post-metadata">

### Author: ![derekl](https://collective.flashbots.net/user_avatar/collective.flashbots.net/derekl/32/1565_2.png) [@derekl](https://collective.flashbots.net/u/derekl)
#### Post date: [December 12, 2023, 2:41pm UTC](https://collective.flashbots.net/t/error-when-trying-to-start-the-housekeeper-within-the-relay/2796/5 "2023-12-12T14:41:40Z")

</div>

Hey @Kosala! Glad to hear you got the housekeeper up and running in the end.

I am from Kurtosis and wanted to let you know that we have something called the [etheruem-package](https://github.com/kurtosis-tech/ethereum-package) which will bring up a private ethereum devnet with mev-boost, the relayer, housekeeper, etc in a single line over Docker or Kubernetes. This is being used for teams testing PBS workflows locally - thought this might be useful to you!

Here’s a handy guide I wrote if you are interested: [How to launch a private Ethereum testnet with Flashbot's MEV Boost implementation of Proposer Builder Separation (PBS) | Kurtosis Docs](https://docs.kurtosis.com/how-to-full-mev-with-ethereum-package)

Cheers!
