The number of supernovae known to be connected with long-duration gamma-ray bursts (GRBs) is increasing and the link between these events is no longer exclusively found at low redshift (z less than or similar to 0.3) but is well established also at larger distances. We present a new case of such a liaison at z = 0.33 between GRB171010A and SN 2017htp. It is the second closest GRB with an associated supernova of only three events detected by Fermi-LAT. The supernova is one of the few higher redshift cases where spectroscopic observations were possible and shows spectral similarities with the well-studied SN 1998bw, having produced a similar Ni mass (M-Ni = 0.33 +/- 0.02 M-circle dot) with slightly lower ejected mass (M-ej = 4.1 +/- 0.7 M-circle dot) and kinetic energy (E-K = 8.1 +/- 2.5 x 10(51) erg). The host-galaxy is bigger in size than typical GRB host galaxies, but the analysis of the region hosting the GRB revealed spectral properties typically observed in GRB hosts and showed that the progenitor of this event was located in a very bright H II region of its face-on host galaxy, at a projected distance of similar to 10 kpc from its galactic centre. The star-formation rate (SFRGRB similar to 0.2 M-circle dot yr(-1)) and metallicity (12 + log(O/H) similar to 8.15 +/- 0.10) of the GRB star-forming region are consistent with those of the host galaxies of previously studied GRB-SN systems.