Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubicast with Moodle Workplace app error : ERR_BLOCKED_BY_CLIENT #18

Open
jeremycarre38 opened this issue Oct 27, 2023 · 7 comments
Open

Comments

@jeremycarre38
Copy link

Hello,

When using the Moodle Workplace Android or iOS app, the activity returns the error "ERR_BLOCKED_BY_CLIENT".
However, it works on the phone with a regular browser...

Do you have any idea what could be causing this? Should I open a ticket on the Moodle app tracker?

Thanks in advance

@sdiemer
Copy link
Member

sdiemer commented Oct 27, 2023

Hello,

This error means that the request was blocked by the user's browser.

It seems that this can be related to some ad blockers:
https://stackoverflow.com/questions/23341765/getting-neterr-blocked-by-client-error-on-some-ajax-calls

What is the exact URL that is being blocked ?

Regards

@jeremycarre38
Copy link
Author

Thank you for your quick response.

I'm using the Moodle Workplace mobile app, so I don't have an ad blocker. However, I just noticed that the blocked URL in my example is as follows: lib/editor/atto/plugins/ubicast/view.php?course=309&video=v1266672eeb7er3iksyu

I may not have posted my message in the correct repository, but I'm also unable to play other activities.
I don't have any issues with other iframe videos like those from YouTube.

Perhaps the problem is related to the mobile app ?

@sdiemer
Copy link
Member

sdiemer commented Oct 31, 2023

Hello,

For what I have tested previously, the mobile app is redirecting to a real browser to open LTI content because the mobile app doesn't support embedding of such elements.
My previous tests were made about 2 years ago and the mobile app may have evolved since then. I will do some new tests to check if I get the same behaviour and I will let you know if I find something to fix this issue.

Regards

@sdiemer
Copy link
Member

sdiemer commented Oct 31, 2023

I have tested right now and I didn't see any problem.
I tested a video integrated with an activity of mod_ubicast (which opens the link with the browser) and a video in a text area integrated with atto_ubicast (which doesn't open the browser). Both integrations did work in my test.

My environment :

  • Android 10 (moto g8 plus)
  • Firefox 119 (with ad blocker uBlock origin)
  • Moodle app up to date (June 9, 2023)
  • Moodle 4.2.2 with all plugins up to date

I also tested with Chrome on an iPhone 12 without the Moodle application, and I didn't see any problem. I cannot install the application on this iPhone because it is handled by a remote testing service (browserstack).

Could you let me know what your environment is ?

Regards

@jeremycarre38
Copy link
Author

Hello,

First of all, thank you for the time devoted to this issue.

Our environment is as follows:

  • Moodle Workplace 4.1.6 (20231009) with all plugins up to date
  • Moodle Workplace app up to date (October 5, 2023)

When we use the browser on our phone, it works. We only encounter the blockage with the Moodle Workplace app.

Do you have the ability to test with a Moodle Workplace environment ?

Regards

@Edunao
Copy link

Edunao commented Nov 8, 2023

Hello,

Do you need additional information?
Do you have any leads?

Thank you in advance.

@sdiemer
Copy link
Member

sdiemer commented Nov 8, 2023

Hello,

I didn't had the time to do further tests and I think that I will not be able to test in the same conditions.
I will let you know when I will have the time to do more on this issue.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants