-
Notifications
You must be signed in to change notification settings - Fork 111
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
Remote connection to localhost iso address of the remote server #591
Comments
Looks like i forgot to resolve the external uri. |
Try again with v2.14.13. It should already resolve a better URI from the start and try to connect. If the devtools server does not connect yet, you can try to enable the "Devtools - Internet" option in the settings. |
I have tried with v2.14.13, but unfortunately it still opens with localhost. |
Do you have repro steps for this issue? The current solution relies on the port forwarding that gets put in place automatically when using WSL/Codespaces. I am not sure yet how to support this scenario. Could you open the connect page JavaScript console and look at the error messages? If the icon does not load, it sounds like the jacdac-docs page failed to be downloaded. |
We use |
Started remote tunnel session. Mixed Content: The page at 'https://microsoft.github.io/jacdac-docs/tools/devicescript-connect/?dark=1&devtools=ws%3A%2F%2F192.168.0.126%3A8081%2F#0.564602934302401' was loaded over HTTPS, but requested an insecure font 'http://themes.googleusercontent.com/static/fonts/rosarivo/v1/OGdIq-p0tOtBN2VMVvO9W_esZW2xOQ-xsNqO47m55DA.woff'. This request has been blocked; the content must be served over HTTPS. |
I have started a Chromebook remote tunnel session again and in the console I run: devs devtools src/main.ts --internet -s. |
BTW: if one enters a special character e.g. "?" in the filter field it returns: Something went wrong. Please reload the page. |
(? ... there seems to be some parsing issues in the console ui) I suspect that since you are not going through vscode and using the cli directly, the port forwarding is not put in place. |
I have also used the vscode extension, but then only the url: localhost:8081/connect is supported. It will not find e.g. 192.168.0.126:8081/connect |
Did you try to enable the "internet" flag in the developer tools settings in vscode? It should add the --internet flag when starting the devtools server |
Used command: devs devtools src/main.ts --internet -s |
Now I can open url: 192.168.0.126:8081/connect, but the "Connect" button is missing |
What browser are you using? Is there any error in the JavaScript console? |
At my chromebook Chrome. At my latop Edge. Unrecognized feature: 'vr'. |
With Chromebook Chrome browser I do get after starting devs devtools ....... the error: |
I have started from a chromebook a remote tunnel session to my pc "louis" with ip-address 192.168.0.126.
Using the Devicescript extension I want to connect to my mcu-board connected to my chromebook.
As a result it opens a web-site with URL: localhost:8081/connect?dark=1
I assume it should be something like: 192.168.0.126:8081/connect?dark=1
If I replace localhost with 192.168.0.126 it doesn't connect. It looks like the localhost:8081 webserver is opened with "localhost" iso "internet"
The text was updated successfully, but these errors were encountered: