HubSpot all-in-one marketing software helps more than 8,000 companies in 56 countries attract leads and convert them into customers. A pioneer in inbound marketing, HubSpot aims to help its customers make marketing that people actually love.
After passing OAuth 2.0 authentication to Hubspot's api all following api calls timeout, "java.net.ConnectException: Connection time out: connect". Looking into this it appears that the connector is trying to access the Hubspot api using the old "http://hubapi.com" base url. Hubspot has changed the base url to "https://api.hubapi.com".
After passing OAuth 2.0 authentication to Hubspot's api all following api calls timeout, "java.net.ConnectException: Connection time out: connect". Looking into this it appears that the connector is trying to access the Hubspot api using the old "http://hubapi.com" base url. Hubspot has changed the base url to "https://api.hubapi.com".
See snippet of log DEBUG below :
DEBUG 2015-07-02 11:18:14,760 [[alans_test].HTTP_Listener_Configuration.worker.01] org.mule.module.hubspot.client.impl.HubSpotClientImpl: Requesting contactById to:http://hubapi.com/contacts/v1/contact/vid/1/profile?access_token=3315553a-54d9-4b21-b463-6cbc786d5d8e ERROR 2015-07-02 11:18:35,798 [[alans_test].HTTP_Listener_Configuration.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy:
Message : Failed to invoke getContactById. Message payload is of type: String Type : org.mule.api.MessagingException Code : MULE_ERROR--2 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html Payload : brian
Exception stack is: