Unable to send launch to remote URL ...

172 views
Skip to first unread message

DP Bhatt

unread,
Mar 15, 2022, 10:58:20 AM3/15/22
to Sakai Development
Hi,

When I click on an external tool link in a course, I am receiving an alert dialogue with the message "Unable to send launch to remote URL ...". which is attached with the email.

When I click on the "OK" in the dialogue, the tool works normally.

I don't want the dialogue every time I click on the external tool link in a course. 

Why am I receiving the alert?
Is there a way to remove the alert?


Kind regards,
DP Bhatt
Sakai alert.png

Charles Severance

unread,
Mar 15, 2022, 12:51:11 PM3/15/22
to DP Bhatt, dev sakai
So that message  generally comes out if the page that is being launched refuses to allow itself to be launchd in an iframe.  Sakai has code that waits a few seconds and looks into the iframe to see if the iframe loaded and if not puts up that message and lets you launch in a new window.

You can sometimes debug this by looking at the browsers console while you launch the link - sometimes it was say “blah blah prohibited by blah blah” in red.

Hope this helps.

/Chuck

--
You received this message because you are subscribed to the Google Groups "Sakai Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/86b75409-7eb5-4036-aacb-12d003b9e74fn%40apereo.org.
<Sakai alert.png>

DP Bhatt

unread,
Mar 15, 2022, 1:36:18 PM3/15/22
to Charles Severance, dev sakai
Hi Chuck,


Our LTI tool scans the course for the files and it might take a few seconds depending on the number of course files. If the course has only a few files, the tool renders immediately and in that case, a user doesn't see the alert. But when there are a lot of course files, the tool takes a few seconds and in that case, the alert box appears. When a user clicks on the "OK" button, the tool renders on the iframe.


Is there a way to bypass/avoid the alert dialogue so that when our tool finishes course content scanning, it renders all the files in the iframe? In my case, maybe if the alert appears after a long time such as a minute or two would also solve the problem because, at that time, course scanning would finish.

I look forward to you.

Kind regards,
DP Bhatt


Sam Ottenhoff

unread,
Mar 15, 2022, 1:47:45 PM3/15/22
to DP Bhatt, Charles Severance, dev sakai
From the tool perspective: I would recommend immediately rendering the
LTI tool content and then if long-running processing needs to occur,
it should be streamed to the already-rendered page.

--Sam
> To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/CAHLC8fzrAzdbqJkbEDycohyVUWcOMz1h63SVCJrem55wk2kYMQ%40mail.gmail.com.

DP Bhatt

unread,
Mar 15, 2022, 3:29:34 PM3/15/22
to Sam Ottenhoff, Charles Severance, dev sakai
Hi Sam,

Thank you so much for the recommendation.

Our tool has been running in many other LMS (Blackboard Learn, Canvas, Desire2Learn and Moodle) and the application flow is similar in all the LMS including Sakai.

Making a change as you told may take a bit of time and that's why we want to run the tool as it is. I think appearing the alert dialogue after a certain time around in 5 seconds was not present in the earlier version of Sakai (especially Sakai 19) or even if it was there we/our clients had not noticed it.

I think there is not a similar time limit to load the content on the iframe in other LMS that we have implemented. If there is not a similar choice in Sakai, we would restructure the tool according to your recommendations. In fact, we had developed the tool with Sakai 19.

Kind regards,
DP Bhatt
Reply all
Reply to author
Forward
0 new messages