Case 1: $y^2=0 \mod{3}$ \begin{align*} & y^2 = 3b \quad (b=3k^2) \implies x^3=3a +2 \\ & 3b = 3a + 2 + 2017 \implies b-a = 673 \\ & k^2 = \frac{a-2}{3} + 225 \\ \end{align*} Then I just took $a =2$ since 225 is already a perfect square. Thus I got the solution $(x,y) = (2,\pm 45)$. This is the only solution I was able to get.
I tried to do the second case, i.e, $y^2 \equiv 1 \mod 3$ as I did Case 1 but did not have any luck. Here are my proceedings.
Let $y^2 = 3b + 1$ and $x^3 = 3a$ where $a = 9k^3$
Then doing the same thing above we get,
\begin{equation*}
k^3 = \frac{b+3}{9} - 75
\end{equation*}
Now I am stuck, since I cannot find any solutions to the above equation.