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
Discovery service: getting an error because of the protocol mismatch #4
Comments
Hi, azangru
thanks. |
Hey @monster-mj, Regarding this part of your question:
Are you asking, whether I am trying to connect to Samsung’s discovery service server over The previous version of the As for this part of your question:
Could you please let me know what information about my development machine you are interested in? |
Sorry, I'm late. first of all, I ask one thing. |
The TV device name is not displayed in the browser when I open index.html When I tried to reproduce the error today, I could not even get the TV to be detected by Samsung’s discovery service. Here are the relevant parts of the code
The |
Ok, this time the discovery service could detect my TV, so I can update my information with the original problem I was experiencing. So here goes:
Because of this, the browser/mobile version of the HelloWorld app running in the browser cannot detect the TV version of the app running on the TV. |
I'm sorry that I only have tested my Mac with Safari, it's working well. |
I am getting this error when running SmartViewSDKHelloWorld/HelloWorld_js_mobile_tv: |
The discovery service at
multiscreen.samsung.com
is working now. Which is great!But I am having a different problem now. I am trying to run SmartView HelloWorld application in the browser on my development machine, and here is what is happening, step by step:
main.js
script is started and runs thesearch
function of themsf
library;search
function creates aniframe
pointed to Samsung’s discovery service: (https://multiscreen.samsung.com/discoveryservice/v2/discover);At this point, a request from the discovery service iframe (at https://multiscreen.samsung.com/discoveryservice/v2/discover) is being sent to my TV’s local server (at http://10.18.0.123:8001/api/v2/), which is obviously blocked, because XHR requests can’t be sent from https to http. As a result of this error, the HelloWorld application fails to find the TV.
Is there a solution for this problem? Could you please help? @monster-mj ?
The text was updated successfully, but these errors were encountered: