Error "At least one of the fields specified requires a secure callback_url (HTTPS)" raised while starting the BW process which starts with BW Facebook Plug-in RealTimeListener activity

Error "At least one of the fields specified requires a secure callback_url (HTTPS)" raised while starting the BW process which starts with BW Facebook Plug-in RealTimeListener activity

book

Article ID: KB0077010

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Facebook 6.x

Description

BW process which starts with BW Facebook Plug-in RealTimeListener activity failed to get started with the error information like below:

TIBCO-BW-CORE-500050: The BW process <Process_Name> instance faulted, JobId [bw0a100], ProcessInstanceId [bw0a100], ParentProcessInstanceId [-], Module <Module_Name>, Application [Application_Name].  
   <CausedBy> TIBCO-BW-CORE-500062: ProcessStarter or SignalIn activity [nRealTimeListener] fault.  
   <CausedBy> com.tibco.bw.palette.facebook.runtime.fault.FBEventSourceException: TIBCO-BW-PALETTE-FACEBOOK-500021: The RealTimeListener start failed,Error message:Plugin exception in executing real time method. Message = Fail to get message from Facebook response for real time service:
{"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_subcode":1929001,"is_transient":false,"error_user_title":"Could Not Subscribe","error_user_msg":"At least one of the fields specified requires a secure callback_url (HTTPS).","fbtrace_id":"ABm8TBcDpBSAPL19CbNFFxX"}}-{ProcessStarterActivityName=nRealTimeListener, ProcessName=facebook.Notification, ModuleName=Facebook}

The issue is due to SSL connection was not enabled on the internally used Jetty http server. When using RealTimeListener activity the secured http protocol (https) must be used for the data exchange between Facebook and BW Facebook Plug-in via the Http connector assigned.

This information can also be found in the BW Facebook plug-in document as below:
=====
Note: You have to use Secure Sockets Layer (SSL) to secure the data exchange between the plug-in and Facebook when configuring the HTTP connector. See TIBCO ActiveMatrix BusinessWorks™ Bindings and Palettes Reference for more details.
=====
 

Issue/Introduction

Error "At least one of the fields specified requires a secure callback_url (HTTPS)" raised while starting the BW process which starts with BW Facebook Plug-in RealTimeListener activity

Environment

All Supported Platforms

Resolution

Enable SSL on the Http Connector which is referred by the RealTimeListener activity in the BW project.

Additional Information

RealTimeListener, OAuthException, SSL