Here is a counterexample for which $f$ has some "problems", since it is defined on an incomplete space.
We take $X = \ell^1$, but we equip it with the norm from $\ell^2$, i.e.,
$$
\|x\|_X := \left( \sum_{n=1}^\infty x_n^2 \right)^{1/2}.$$
Now, we define $f(x) := \| x \|_{\ell^1} = \sum_{n=1}^\infty |x_n| \in \mathbb R$ for all $x \in X$.
Then, $f \colon X \to \mathbb R$ has the following properties:
convex (clear), lower semicontinuous (using, e.g., Fatou's lemma)
but
discontinuous everywhere (rather straightforward).
Moreover, one can show (recall that $X^*$ can be identified with $\ell^2$)
$$
\partial f(x) =
\{ y \in \ell^2 \mid y_n \in \partial |\cdot|(x_n) \;\forall n \in \mathbb N\}
$$
and this, in particular, yields
$$
\partial f(x) \ne \emptyset
$$
if and only if $x \in c_c$ (subspace of finite sequences).