Closed chieftechdog closed 5 years ago
We are having the same issue. Anyone know what is happening?
I am using the beta version. When using simple authentication i get an error like above with SSL issue.
When i use OAuth its just refreshes and doesnt update or store details.
While NOT a long term solution you can edit the connection config within the connect method of https://raw.githubusercontent.com/solepixel/gravityforms-eloqua/master/api/class.eloqua.api.php to not verify the SSL certificate
public function connect(){
if( $this->init() )
return true;
$type = $this->use_oauth ? 'Bearer' : 'Basic';
$this->connection_args = array(
'headers' => array(
'Authorization' => $type . ' ' . $this->authstring
),
'sslverify' => false, // Temp disable of SSL Verify, this should not be disabled long term
);
I'm currently researching this issue. Thanks @aaronware I just discovered that as well and added it for future versions.
Do we need to update gravity forms to get this to work? Does this have anything to do with any of the emergency maintenance updates eloqua was supposed to do this weekend (I think they were anyway)?
Regards,
Stefanie
On Sun, Mar 11, 2018 at 3:09 PM, Brian DiChiara notifications@github.com wrote:
I'm currently researching this issue. Thanks @aaronware https://github.com/aaronware I just discovered that as well and added it for future versions.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/solepixel/gravityforms-eloqua/issues/22#issuecomment-372140492, or mute the thread https://github.com/notifications/unsubscribe-auth/AG6uempCbHhluLs7q14FNvBGx0_xCrU3ks5tdXaHgaJpZM4SlX6T .
@chieftechdog @DavidWright2018 @aaronware @L01sLan3 Please download 1.6.0-delta and let me know if it resolves your issue. https://github.com/solepixel/gravityforms-eloqua/releases/tag/1.6.0-delta
Also, keep in mind the repo hasn't been updated yet, mainly due to the release notes in 1.6.0-delta. The gravityforms-eloqua-1.6.0-delta.zip file is the one you want to download.
@L01sLan3 It's always a good idea to keep Gravity Forms up-to-date. I'm not sure if the Eloqua maintenance updates are what affected the issue I discovered related to OAuth, but will address any new issues if they come up.
@solepixel 1.6.0-delta version seems to work for us now.
One recommendation I have is to add a field on the settings screen that would let you specify the cURL timeout in seconds. We were often getting WP_Http Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (http_request_failed)
error until we added the following code to gfeloqua.class.php on line 396:
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt( $ch, CURLOPT_TIMEOUT, 10);
Hi Brian,
We started seeing this error last night on one of the sites we are using your plugin for:
Perhaps there's some issue with the app configuration in Eloqua AppCloud or there's an issue with the redirect URI https://api.briandichiara.com/gravityformseloqua/? Any help is greatly appreciated!