thoeve / ptnotifications

41 stars 2 forks source link

New version issue #48

Closed FerHen1981 closed 6 years ago

FerHen1981 commented 6 years ago

Hi,

I just upgraded to the latest version and doesn't seem to be able to read the data in http://localhost:XXXX although is working on the previous version with te same settings.

Could this be an error?

thoeve commented 6 years ago

Nothing in the code change that handles the connection with PT. So that's weird. Are you sure your PT is running and the api_token's match up?

FerHen1981 commented 6 years ago

The new version:

Set to the number of PT instance you are adding

profitTrailer_instances = 1

profitTrailer_address_1 = http://localhost:8096 profitTrailer_license_key_1 = xxxxxxxxxxxxxxxxxxxxxxxxxxx

Make sure it matches the server.api_token variable in application.properties of your PT instance

profitTrailer_instance_api_token_1 = xxxx And a copy paste of the PT settings server.port = 8096 server.api_token = xxxx

thoeve commented 6 years ago

Can you try it without the space in your api tokens?

FerHen1981 commented 6 years ago

Done that and now it's running! Great, thanks a lot!