EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field.

ExpressionEngine.com licenses:

  • If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Perform License Valdiation in the Browser

Status Resolved
Add-on / Version Publisher 3.2.2
Severity
EE Version 5.2.3

Elli Pratt

Feb 10, 2021

We previously submitted this ticket for a way to disable version checking (almost 4 years ago).
https://boldminded.com/support/ticket/1443

In our network stack, our apache servers are unable to contact the internet and http requests will just hang until timeout.
In the newest version of Publisher, there is new license validation check that executes a `curl` command on the server.
This caused “gateway timeout” errors when accessing the CP intermittently.

I know some addons perform license validation in the browser.
Is there a way to move the check to the browser instead of using `curl` on the server?

We had to comment out the check, so we quickly get our internal updates to prod.
However, we do not want to keep that line commented out.

#1

BoldMinded (Brian)

Feb 10, 2021

Elli, with the changes come to the EE.com store, I’ll be looking into things, but I won’t be rushing into it any time soon. If your server is blocking curl requests (which is rather odd and restrictive IMO b/c curl is pretty common) then you’ll need to continue commenting out those lines of code.

#2

BoldMinded (Brian)

Feb 10, 2021

Rushing into making any changes I mean. It’ll be awhile before I make any sweeping changes to the license validation.

#3

Elli Pratt

Feb 12, 2021

It’s not that is blocking `curl` itself. For security reasons our apache servers are in a zone that doesn’t allow for inbound or outbound requests to the internet. Only intranet requests are allowed with our firewall.

We’ll keep making the code change for now. We mainly wanted to bring it to your attention.
Thanks!

Login to reply