• Resolved jarjrdeveloper

    (@jarjrdeveloper)


    Hello Smush team,

    I recently launched a site for a client who wishes to use the Smush app for lazy-load and image optimization – the lazy-load works fine but we are hitting an issue with the API not being accessible. Here is the error we see when trying to optimize an image:

    (Error posting to API: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to smushpro.wpmudev.org:443)

    I have done some digging and it seems that in the past this has either been an issue serverside from Smush directly, or an issue with permissions on the site-side with the host not allowing access. I believe our usecase is the latter as this clients hosting solution is rather outdated. Their IT/Infra departments have agreed to whitelist whatever IP is needed to allow the API connection if I can be provided the following:

    • The IP address(es) to be whitelisted
    • Any documentation that is publicly available for the API

    Would someone from the plugin dev team be able to provide this information to me so we can whitelist and verify whether this is the issue or not? I searched previous forum entries and could not find this information (please feel free link to it if you have it in another thread somewhere!)

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jarjrdeveloper

    I hope you’re well today!

    You’ll find our IPs related to our plugins and services here:

    https://wpmudev.com/docs/getting-started/wpmu-dev-ip-addresses/

    You’d need to allow those that are listed under Smush section. Once that’s done, make also sure to clear all caches on site/server (if there is any cache active) and additionally:

    – go to “Smush -> Settings -> Data & Settings” page
    – click on ‘Update API Status” button there
    – and once it’s finished, click on “Save settings”.

    If the issue is indeed related to our IPs/API access being blocked in some way, it should help. Otherwise, we’ll need to investigate it further.

    Aside from that, let me know please where/when exactly in the plugin are you getting those errors?

    Best regards,
    Adam

    Thread Starter jarjrdeveloper

    (@jarjrdeveloper)

    Hi @wpmudev-support8 ,

    In passing this info along to the IT team attempting to whitelist the plugin, they are saying that the call seems to resolve to different IP addresses than those listed for Smush in the documentation you’ve provided.

    The documentation says they should resolve to the following IPs:

    165.227.251.117

    165.227.251.120

    What I am hearing from IT is that they are resolving to these IPs:

    140.82.60.49

    45.63.10.140

    Can you please advise on which is correct, and if it is the latter, could you make an internal request to update the documentation for future use?

    Thanks in advance!

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @jarjrdeveloper

    We pinged our developers to verify which IP we are using at this moment but the shared ones seem valid. we are running some infrastructure updates that may change the IP indeed, we will keep you posted.

    Best Regards
    Patrick Freitas

    Thread Starter jarjrdeveloper

    (@jarjrdeveloper)

    Thanks @wpmudevsupport12

    I will have them whitelist the IPs provided and follow the previous steps for now, and report back whether this resolved our issues or not.

    Any updates on your end from the dev team about IP changes?

    Thanks again!

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jarjrdeveloper

    Yes, it’s been confirmed that currently all four IPs should allowed for Smush. It is important becuase they may be used interchangeably.

    So the current set of IPs for Smush is:

    165.227.251.117
    165.227.251.120
    140.82.60.49
    45.63.10.140

    This has also been already reflected in our docs here:

    https://wpmudev.com/docs/getting-started/wpmu-dev-ip-addresses/

    Best regards,
    Adam

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @jarjrdeveloper

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error posting to APi / IP Whitelisting’ is closed to new replies.