Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Development (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=8)
-   -   Obtain Error messages of Channel (http://www.mirthcorp.com/community/forums/showthread.php?t=217665)

faoc 10-16-2017 05:25 AM

Obtain Error messages of Channel

I want to search for each channel, all the error messages. After that i want to reprocess them.
How can i get search all error messages from channel using user API?

narupley 10-16-2017 03:07 PM

If you're talking about the REST API, the GET /channels/{channelId}/messages endpoint should be able to do what you're looking for.

faoc 10-18-2017 06:28 AM

yes, with rest api i can do that. But how can i call rest api with mirth? i'm getting error with https connection...

faoc 10-18-2017 08:47 AM

I have one destination that is an http sender and i'm trying to call resp api. But i get always and error:

"ERROR: Error connecting to HTTP server [SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target]"

This is an internal network. How can i solve that?

narupley 10-18-2017 09:57 AM

Mirth Connect will auto-generate a self-signed certificate that it uses for HTTPS traffic. I'd suggest replacing that with your own company cert if applicable. There's more information in the user guide.

Or, you can accept the security risk and simply add the self-signed cert to your truststore.

All times are GMT -8. The time now is 03:28 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation