Page 1 of 1
Api Profitability issue?
Posted: Wed Oct 25, 2017 6:30 am
by backwerd
ive subscribed via wamp protocol to profitability updates channel but it not getting any events
all other channels seem to work just fine
is there an issue with this api function?
heres the debug output below
Code: Select all
/prohashing# node app.js
AutobahnJS debug enabled
trying to create WAMP transport of type: websocket
using WAMP transport type: websocket
[ 1,
'mining',
{ roles:
{ caller: [Object],
callee: [Object],
publisher: [Object],
subscriber: [Object] },
authmethods: [ 'wampcra' ],
authid: 'web' } ]
[ 5, 'Q81EmPt5ZvJ6RiylPP1CprCU37HQdLQWdNeXiEsoHZM=', {} ]
[ 48, 5064584368919518, {}, 'f_all_profitability_updates' ]
Connected to Prohashing WAMP
[ 32, 4523087202897478, {}, 'profitability_updates' ]
^C
Re: Api Profitability issue?
Posted: Wed Oct 25, 2017 7:15 am
by Steve Sokolowski
backwerd wrote:ive subscribed via wamp protocol to profitability updates channel but it not getting any events
all other channels seem to work just fine
is there an issue with this api function?
heres the debug output below
Code: Select all
/prohashing# node app.js
AutobahnJS debug enabled
trying to create WAMP transport of type: websocket
using WAMP transport type: websocket
[ 1,
'mining',
{ roles:
{ caller: [Object],
callee: [Object],
publisher: [Object],
subscriber: [Object] },
authmethods: [ 'wampcra' ],
authid: 'web' } ]
[ 5, 'Q81EmPt5ZvJ6RiylPP1CprCU37HQdLQWdNeXiEsoHZM=', {} ]
[ 48, 5064584368919518, {}, 'f_all_profitability_updates' ]
Connected to Prohashing WAMP
[ 32, 4523087202897478, {}, 'profitability_updates' ]
^C
I'll tell Chris to look into this issue. It says "ERROR: INSECURE RESPONSE" in the Chrome console, and I was unable to determine what that means. Everything seems to be functioning normally and no code changes have been made.
Re: Api Profitability issue?
Posted: Wed Oct 25, 2017 2:11 pm
by Steve Sokolowski
This issue has been resolved. The SSL certificate had expired, so Chris renewed it. Thanks for your patience.
Re: Api Profitability issue?
Posted: Wed Oct 25, 2017 5:37 pm
by backwerd
that doesnt seem to be the issue as it shows connected and all other channels subs are getting updates except profitability
Re: Api Profitability issue?
Posted: Wed Oct 25, 2017 5:56 pm
by backwerd
im using
https://github.com/KaptainKrayola/prohashing
its was last commited about 5 months ago
has something changed that would cause it not to work correctly
Re: Api Profitability issue?
Posted: Wed Oct 25, 2017 7:26 pm
by AppleMiner
try:
https://pas.ma/prohash/
as a test, someone else posted it in another thread.
And I thought the API was altered recently in the past month, so more recently than 5 months ago.
Re: Api Profitability issue?
Posted: Thu Oct 26, 2017 4:05 am
by backwerd
yeah i have tried that pas.ma site but it doesnt show profitability updates either
so maybe they have an issue getting those as well?
Re: Api Profitability issue?
Posted: Thu Oct 26, 2017 4:07 am
by backwerd
the api documentaion seems to be the same and it seems to me the app is connected and subscribed to the channel just not getting any thing sent to it
Re: Api Profitability issue?
Posted: Thu Oct 26, 2017 4:39 am
by backwerd
i figured it out the issue not with channel or the profitability function it is with the client i was using i downloaded from github
i have added the code needed to make it work thanks for the help