Author Message
Json
Joined: May 22, 2018
Messages: 38
Offline
I tried to publish a custom event to the eventing framework url but it doesn't work. I publish an event from a workflow and another workflow will initiate, but when I publish from postman to this url

https://mybreezeclusterIP/services/EventingConnector/events

with the body

family: CustomEvent
type: CustomAlert
version: 1
eventBody: {"ID":"123","CreatedDate":"01/01/2019","MessageBody":"this is a message"}

postman returns
Could not get any response
There was an error connecting to https://xx.xx.xx.xx/services/EventingConnector/events.

what am i doing wrong?
GChagnon
Joined: Jan 11, 2017
Messages: 34
Offline
Good morning,

Check the following Breeze/Configuration/HTTP Security.

I believe that the default is NOT to permit external HTTP(s) access to Breeze unless the server/Postman is on the Whitelist. I changed mine so I do not know what is the default configuration.

Regards,

Gabriel
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Thanks Gabriel, but that's not quite right. The default security policy in Breeze is:
* HTTP access disabled: HTTPS must be used
* Any client can access any HTTPS URL

Both IP whitelist and client certificate challenge (Mutual TLS) are disabled by default.

This looks to me to be a basic networking issue. Have you verified that you can ping the myBreezeClusterIP address from the machine where you are running Postman?
GChagnon
Joined: Jan 11, 2017
Messages: 34
Offline
Thanks for the correction Joel!

Edit - Or he forgot that he enabled Whitelist...
Go to:   
Mobile view