# Connection problems

Source: https://timetick.io/docs/troubleshooting/connection

Fix an OCPP simulator or a real charger that doesn't connect, with the usual log messages, what they mean and what to change.

Most connections fail for one of a few reasons: the address, the identity, the password or the OCPP version.

## A simulator does not connect

Open the simulator, power it on and read its **Logs** tab.

| In the log | What to do |
| --- | --- |
| `non-existing domain` | Check the address. `localhost` and private addresses can't be reached from the cloud: use a public address or a tunnel |
| `HTTP 401` or `HTTP 403` | Check the [password](https://timetick.io/docs/security/basic-auth). The username is the simulator's name |
| `HTTP 404` | Check the path, and that your CSMS knows this identity |
| `Connection closed during the handshake` | Check that your CSMS accepts this identity and password |
| A TLS error | Use a publicly trusted certificate on your CSMS |
| `The CSMS does not support OCPP ...` | Choose the OCPP version your CSMS uses at this address |
| `BootNotification` answered with `Rejected` | Accept this charger in your CSMS |

If the address in the log already ends with the simulator's name, remove it under **Systems**. The simulator adds it.

If the simulator switched itself off, turn off **Auto Power-Off** or set a longer time.

## A charger does not connect

- **Address:** copy it again from TimeTick, exactly as shown.
- **Identity:** it must match **Serial Name** in TimeTick.
- **OCPP version:** the charger and the TimeTick system must use the same one.
- **Network:** the charger needs internet access. Check the SIM card and the firewall.
- **Restart:** many chargers use a new address only after a restart.

## Still stuck?

Ask your [AI agent](https://timetick.io/docs/ai/connect):

```text
My TimeTick simulator CP-BERLIN-01 doesn't connect. Read its log
and tell me what to change.
```

Or write to [support@timetick.io](mailto:support@timetick.io) with the name of your project and simulator.
