This repository was archived by the owner on Jul 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Consol Service Registration Fails With Post #56
Comments
Same here, I changed to PUT and it Worked. |
Same Issue with DeregisterServiceAsync (was using GETAsync), Changed to PutAsync and worked |
Same here, could you please merge the pullrequest? |
@robgeurden after several months and no answer I created another project to use with it, check my repo called Megaphone |
@thiagoloureiro Thx will check it out! |
@thiagoloureiro, just tried it, Only thing is I've got .net core web api projects. Perhaps a port to .net standard? |
@robgeurden I will create a new branch today to migrate to .net standard 2.0, let's see how it goes. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Looks like consul now does not like POST requests to it's api and it seems PUT should now be used instead. Cluster.RegisterService now fails due to this as it's POSTing to the endpoint.
[ERR] http: Request POST /v1/agent/service/register, error: method POST not allowed
The text was updated successfully, but these errors were encountered: