Is there an example of a finite Galois extension $E/F$ of number fields, such that $G=\mathrm{Gal}(E/F)$ is non-abelian and the order of the cohomology group $H^1(G,U\_E)$ is relatively prime to class number $N$? ($U\_E$ denotes the group of units of $E$.)


(Indeed, I think if $E/F$ is an abelian (or at least is a cyclic) unramified (at all finite places) extension, it is not possible for $\# H^1(G,U\_E)$ to be relatively prime to the class number $N$. Is that true?)



Unramified non-abelian extension and Galois cohomology
If I understand your question correctly, every simple unramified extension of a quadratic number field with class number $1$ is an example. Artin constructed the first such extensions, now there are many examples known; see e.g. 
["Remark on infinite unramified extensions of number fields with class number one" by D. Brink](https://doi.org/10.1016/j.jnt.2009.08.013) and the literature there.


