Net core environment, architecture: ocelot + consul + service cluster
When the ocelot, consul and services are started, for the first time through the ocelot gateway access services, every request returns a 500 error, then second visit would have a normal, to find for a long time did not find the reason, don't know where is wrong, have the same problem friend