I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Exchange rates do not show via wiget or shortcode.

dashed-slug.net Forums General discussion Exchange rates do not show via wiget or shortcode.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9178
    Anonymous
    Inactive

    Not sure if anyone else has this issue in the community however im trying to debug this issue and if anyone else has the same problem any info would be appreciated.

    The following attachments shows the exchange rates wiget not properly working, the coin icons or the fiat value.

    The 2nd attachment shows the shortcode used, however in this case the cryptocurrency icons shows as expected yet the value just shows a line –

    I have deactivated all plugins, changed my php-fpm from 7.4.9 back to php-fpm 7.4.5
    Then tried just php version 7.4.5 however the issue remains. I’m pretty confident it’s not a php version conflict.
    I made sure the default fiat was set.
    I’m at a loss where to look next.
    I believe it stopped working after the last wordpress update since issues with jQuery was reported.

    Attachments:
    You must be logged in to view attached files.
    #9185
    Anonymous
    Inactive

    Upon further inspection i noticed this error.
    PHP curl returned error while pulling rates: Failed connect to 127.0.0.1:9050; Connection refused

    #9186
    Anonymous
    Inactive

    Solved the issue.

    Having more time to troubleshoot the issue i noticed i also had a connection refused using port 9150 when i changed ports. so i guess this may be an issue with my nginx because i proxy apache through it so since nginx is used as a reverse proxy i unticked *Use tor to pull exchange rates*

    After doing so the error mentioned in the post above this is gone.

    However the same problem with exchange rates not showing in the front end was still there.

    From here i had to take a look at the Exchange rates providers 1 by 1 and make sure api was correct for the one’s that needed it.

    Turns out the only provider’s that work for me are
    Coingecko
    Coincap
    Cryptocompare
    (I don’t use fixer or neither have i tested it during this troubleshoot)

    Using any of those 3 provider’s the rates now show as expected on the front end.

    Not sure if anyone else had this issue however if anyone does hopes this helps.

    #9204
    alexg
    Keymaster

    Hello,

    Glad that you resolved the issue.

    The error regarding port 9150 means that the plugin cannot connect to your local tor service. Are you running tor on your web server? If not, then it won’t work.

    Using the three exchange rate providers that you mentioned should be more than enough. In general you should be using the least amount of providers that covers all of your coins. You only need fixer.io if you need the exchange rates against fiat currencies.

    with regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.