Twitch user payload failing - not on local server

Since a day, after some Twitch login issues a permanent fail happens on user information.

On my local server, a helix api call returns the user information when requesting an API call.
On the production server it fails. No json payload returned.

The local server has another url than the production server.
Nothing changed, same code.

Any idea? Additional info required to fix this?

Then you have an issue with the server.

A JSON payload is always returned from helix.
Either the data request or an object describing an error.

Whats the fail?

We found out it has todo with CURL SSL. Thats why it worked on localhost and not on the server. We fixed it. Thankx Agn Barry!