You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't know on which of all those issues to respond so I am opening this one here to give my hint:
It's about having code-server and platformIO running in a container on a server and accessing it from a client machine and not getting the PlatformIO Home getting loaded in a tab.
I stumbled over an message in developer tools in Chrome browser which indicated that Chrome was trying to access the PlatformIO Home on host 0.0.0.0 and port 443, no matter how the settings were set in the User / Workspace / Remote setting.
So no matter if the host was set to 127.0.0.1 or 0.0.0.0 and port to 8008 or 0 or something else it doesn't work. The console tab in the developer tools in Chrome browser keeps indicating that Chrome is trying to access PlatformIO Home on 0.0.0.0 and port 443.
Once I had set the container settings to use the host network and configured platformio-ide.pioHomeServerHttpPort in User / Workspace / Remote settings to use port 443, the PlatformIO got loaded and shown in its tab on the website of the remote code-server instance.
I hope this hint helps to fix that issue so that it's possible to use other ports than 443.
Edit:
Additional info:
I just tested if it makes a difference how @id:platformio-ide.pioHomeServerHttpHost is set.
Having that set to 0.0.0.0 doesn't work neither. It has to be set to the IP of the server, on which the container is running on.
Another edit and info:
This is the message that keeps popping up in the Chrome dev tools console:
I didn't know on which of all those issues to respond so I am opening this one here to give my hint:
It's about having code-server and platformIO running in a container on a server and accessing it from a client machine and not getting the PlatformIO Home getting loaded in a tab.
I stumbled over an message in developer tools in Chrome browser which indicated that Chrome was trying to access the PlatformIO Home on host 0.0.0.0 and port 443, no matter how the settings were set in the User / Workspace / Remote setting.
So no matter if the host was set to 127.0.0.1 or 0.0.0.0 and port to 8008 or 0 or something else it doesn't work. The console tab in the developer tools in Chrome browser keeps indicating that Chrome is trying to access PlatformIO Home on 0.0.0.0 and port 443.
Once I had set the container settings to use the host network and configured platformio-ide.pioHomeServerHttpPort in User / Workspace / Remote settings to use port 443, the PlatformIO got loaded and shown in its tab on the website of the remote code-server instance.
I hope this hint helps to fix that issue so that it's possible to use other ports than 443.
Edit:
Additional info:
I just tested if it makes a difference how @id:platformio-ide.pioHomeServerHttpHost is set.
Having that set to 0.0.0.0 doesn't work neither. It has to be set to the IP of the server, on which the container is running on.
Another edit and info:
This is the message that keeps popping up in the Chrome dev tools console:
mainThreadExtensionService.ts:78 [platformio.platformio-ide]connect ECONNREFUSED 0.0.0.0:443
The text was updated successfully, but these errors were encountered: