04-11-2014 11:47 AM
Please help me in getting over throug this.It''s very urgent.
I think it''s realted to HTTPS.I am having the same problem in below thraed link.
As it was not loading webworks.js oven an HTTPS url.
So, i have tried to include webworks-184.108.40.206.js from Webworks SDK.
BlackBerry 10 WebWorks SDK 220.127.116.11\Framework\clientFiles
However it is working fine on HTTP local url.But seems to be have an issue with HTTPS.Below are the logs for same:
[blocked] The page at https://test.com/testing/html/bb10_attachments.htm
We are testing it on to 10.2 Device.
04-14-2014 07:15 PM
Is/was your WebWorks application <content> element being hosted externally at this URL?
In that case, the issue is likely stemming from the difference in protocols (https vs. local) - local being where webworks.js is being hosted, which is not secure (i.e. not an HTTPS protocol.)
It's the same in the second case; making HTTPS load HTTP content goes against the security model. If your content is hosted on HTTPS, then it's best that the resources it is accessing are as well. Mixing local/remote and http/https/local is going to cause issues.
With the failing (https) PDF file, is it very small in size when it gets to your device? It could be that the response is actually an error message (similar to what you've shown) and that error message is being written to a file with extension PDF, thus when you try to open it, it is seen as invalid.
You *may* be able to get around this temporarily by disabling web security.
But even that may not suffice. The best practices approach would be to ensure your content isn't jumping between protocols when using HTTPS (HTTP does not have this same security model.)
04-15-2014 11:07 AM
I am also facing the same problem while trying to access my web application using HTTPS url.
Webworks.js is getting blocked.
Does it mean that we can't include webworks.js in a secure application that is hosted on HTTPS url?
04-17-2014 07:26 PM
04-18-2014 03:17 PM - edited 04-18-2014 03:23 PM
Yes. I tried to put webworks.js in js folder of application hosted on HTTPS url and gave the path of js folder but It didn't work. We are still getting the blocked content error for webworks.js.
Copied webworks.js from webworks sdk folder.
Facing this issue in 10.2 OS. In 10.0 it is giving warning for blocked content but app works. However in 10.2 it is blocking the content and app doesn't work.
04-21-2014 07:19 PM
Can you please share the full error message when webworks.js is hosted at an HTTPS URL and is attempting to be loaded?
Can you also please share the full URL that you are using in your <script> element to access the webworks.js file?
If you prefer to not share those values publicly, feel free to email me directly (email@example.com) or mask the sensitive components of the URL. If you mask the content, please do not change the structure of the URL, keeping all components intact.