fixed problem with starting Cowboy
turns out the crypto app has to be started first