I don't know how to solve this quest. I ran in to the spider before i knew what to do, i didn't kill it but know i've done what i should have done before finding it, the spider it stays hostile.

How can i solve this quest without killing the spider?

Anybody?