FHIR Chat · Connectathon 29 - January 2022 · subscriptions

Stream: subscriptions

Topic: Connectathon 29 - January 2022


view this post on Zulip Gino Canessa (Jan 10 2022 at 16:17):

Hi all, just realized that I had not started this thread yet. I'm finishing updating recorded content today, since updating the RI took a bit longer than expected due to syncing the R4B changes into R5. I'm hoping to have everything published before the connectathon actually opens later today.

But in the meantime, if you have any questions/comments/etc., please let me know.

Cheers and happy connecting!

view this post on Zulip Quintonn (Jan 10 2022 at 18:11):

Hi, I am trying to create a Subscription.
I am getting a 201 created response, but when I query the Subscription it's status is set to Error.

I have now basically copied the request from the https://subscriptions.argo.run/ page to see what I'm doing wrong, but I don't have any difference other than the endpoint.

My endpoint is not being called it seems.
Any way I can debug this or any ideas?

view this post on Zulip Gino Canessa (Jan 10 2022 at 18:15):

Looking at logs, I'm seeing:

SubscriptionManagerR5.TryNotifySubscription <<< attempting to send 0416b8aa-8bf5-45cf-8983-8f8510394db2 event 0 via http://terminology.hl7.org/CodeSystem/subscription-channel-type#rest-hook...
SubscriptionManager.TryNotifyRestHook <<< request to https://3.15.34.68:29846/subscriptions/test1 caused exception: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
 <<< Subscription 0416b8aa-8bf5-45cf-8983-8f8510394db2 set to active!
 <<< added Subscription: 6319b104-8372-4f03-9afa-3ea9c6216149 (rest-hook, id-only)
...

Trying it from my computer, I can see that the SSL cert at that address in invalid. You'll need to either put a valid certificate there or change the connection to be http.

view this post on Zulip Quintonn (Jan 10 2022 at 18:15):

thanks, i'll give that a try

view this post on Zulip Gino Canessa (Jan 10 2022 at 18:16):

I will also see if I can disable certificate checking in the RI, but it'll need to be after I finish the content recordings.

view this post on Zulip Quintonn (Jan 10 2022 at 18:16):

where do you see the logs?

view this post on Zulip Gino Canessa (Jan 10 2022 at 18:17):

They're not public right now - I'll add it to my list to see if I can add a page that shows them (I'm looking at console output from the k8 cluster to see them right now).

edit: or, I'll try to get to the item on my list that correctly adds them to the subscriptions =)

view this post on Zulip Quintonn (Jan 10 2022 at 18:20):

thanks.
I got my Subscription created with an active status now

view this post on Zulip Quintonn (Jan 10 2022 at 19:32):

i managed to create a subscription on R5, have it call my endpoint for the handshake, heart beat and send a notification when a new encounter is created.

If anyone has a server implementation and looking for a client to test, I'd be happy to help

view this post on Zulip Gino Canessa (Jan 10 2022 at 22:55):

Alright! With the connectathon kicked-off, I have updated links on the Track Page. Of note:

Our first meeting is scheduled for 9:00 AM Central on Tuesday the 11th. Cheers!

edit: adding link to ConMan

view this post on Zulip Daan Sieben (Jan 11 2022 at 20:52):

So, trying to get this flow to work: http://build.fhir.org/ig/HL7/fhir-subscription-backport-ig/channels.html#websockets. It seems I'm connecting properly, but getting nothing more then keepalive's.... Am I missing some key thing?
image.png

(using the token I get from https://server.subscriptions.argo.run/r4/Subscription/185c4d47-73fd-4034-94c6-3e6792245531/$get-ws-binding-token)

view this post on Zulip Gino Canessa (Jan 11 2022 at 20:59):

Let me take a peek - I can see the server trying to send the notification

view this post on Zulip Daan Sieben (Jan 11 2022 at 21:01):

I run a local socket proxy to work around CORS issues, might be causing trouble, although I would also not expect the keepalive to work.

view this post on Zulip Gino Canessa (Jan 11 2022 at 21:02):

Hmm.. testing locally appears to work here - let me check after this next session.

view this post on Zulip Daan Sieben (Jan 11 2022 at 21:03):

sure, thx


Last updated: Apr 12 2022 at 19:14 UTC