It sounds like you use crimp on connectors for the wire to SSR terminal connection.
If that is the case, that is the reason for the failure. Most of the common crimp tools do a very poor job of crimping. The connection needs to be soldered as well to prevent failure.
Or buy a better crimp tool.