Project Information
Repository: https://github.com/stoodkev/SteemPlus/
Project Name: SteemPlus
Publisher: @stoodkev
Expected behavior
When visiting my wallet I should be able to filter and search my transaction history. It should look like this:
Actual Behaviour
When visiting my wallet, the filter options, search or min Steem/SBD/SP amounts are not shown. A mixed content error is provided.
Pre-Requisite
- Wallet History should be enabled within settings.
Steps to reproduce
From a fresh install download SteemPlus here
- Complete the on-boarding flow and sign in via SteemConnect
- You will be redirected to Steemit.com (if you're already on the site, refresh to ensure the SteemPlus extension is working as expected).
- Navigate to your wallet
- Note that the wallet history doesn't load.
Environment
- Browser: Google Chrome (Version 65.0.3325.162 (Official Build) (64-bit))
- Device: MacBook Pro (Retina, 15-inch, Late 2013)
- Operating system: MacOS HighSierra Version 10.13
- Application Version of Testing: 2.20.0.3
Although this issue as originally tested on 2.20.0.3, this issue is still present on 3.0.0.1 and will be resolved in the next release of the extension.
Error & Resolution
The following error is provided in the console:
The area effected is line 605 of wallet.js
within getLastBlockID()
, this can be seen below:
function getLastBlockID()
{
return new Promise(function (resolve, reject) {
$.ajax({
type: "GET",
beforeSend: function(xhttp) {
xhttp.setRequestHeader("Content-type", "application/json");
xhttp.setRequestHeader("X-Parse-Application-Id", chrome.runtime.id);
},
url: 'https://steemplus-api.herokuapp.com/api/get-last-block-id',
success: function(response) {
resolve(response[0]['block_num']);
},
error: function(msg) {
resolve(msg);
}
});
});
}
This can be resolved by adjusting
url: 'http://steemplus-api.herokuapp.com/api/get-last-block-id',
to
url: 'https://steemplus-api.herokuapp.com/api/get-last-block-id',
Recording of issue
The following video shows this issue in more detail:
Proof of work
My GitHub account: https://github.com/tobias-g1
The issue has been reported here: https://github.com/stoodkev/SteemPlus/issues/153
Following this report, the issue has now been resolved and can be found within the following commit:
https://github.com/steemplus/SteemPlus/commit/20ef8541bc8098d53e6727a7f3a000e336bcfadf