mehtadone / PTFeeder

Official GitHub for ProfitTrailer's best buddy, PT Feeder. Be sure to visit their GitHub too.
https://wiki.ptfeeder.co/
183 stars 33 forks source link

[SUGGESTION] Change the "ProfitTrailerApiEndPoint1" example at hostsettings.json #325

Closed ingmvillegas closed 6 years ago

ingmvillegas commented 6 years ago

The text that explains "// this is where the api is to be found from PT to save your settings. For example, https://localhost:8081"

Should be replaced for "// this is where the api is to be found from PT to save your settings. For example, http://localhost:8081"

The http should be used instead of https, It could get an error like this:

Error occured whilst sending to PT settings api: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.RendezvousAwaitable1.GetResult() at System.Net.Http.WinHttpHandler.d105.MoveNext() --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at System.Net.Http.HttpClient.d58.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ?.MoveNext()

zwarbo commented 6 years ago
Yoda2019 commented 6 years ago

+1 fixed my problems