mehtadone / PTFeeder

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

Error whilst trying PT endpoint http:\localhost:8081/settingsapi/config/list? #326

Closed gbrottman closed 6 years ago

gbrottman commented 6 years ago

If your getting this error when updating PT-Feeder to V.1.5.1.685 I had to change two things:

2018-05-06 04:05:00.084 -04:00 [Debug] Ping Profit Trailer endpoint http:\localhost:8081 2018-05-06 04:05:00.096 -04:00 [Debug] Error whilst trying PT endpoint http:\localhost:8081/settingsapi/config/list?license=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2018-05-06 04:05:00.105 -04:00 [Error] Error occured whilst sending to PT settings api: System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)

1 - "ProfitTrailerApiEndPoint1": "https:\localhost:8081" change https to http 2 - "ProfitTrailerApiEndPoint1": "http:\localhost:8081" change \ to //

Should look like "ProfitTrailerApiEndPoint1": "http://localhost:8081"

mehtadone commented 6 years ago

It seems like this is working now. If not, please re-open the issue