-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Studio Code Server stopped to launch #586
Comments
Add-on version 5.5.4 nor HA Core upgrade did not solve this problem.
|
Same issue here |
Same issue after last update. Home Assistant 2023.3.5 |
It seems that every time to trying access this add-on from sidebar error will be generated in the HA log: |
Unfortunately, the latest version 5.5.5 did not justify my hopes and did not solve this issue - the same errors in the logs continues and the add-on crashes when accessing it. |
Experienced the same issue moving from 5.5.2 to 5.5.3 (and 5.5.5). Downgrading to 5.5.2 resolves the issue. Current environment is a Raspberry Pi 64bit 8gb running... Expected behaviour (as occurs in 5.5.2)...
Error message experienced in 5.5.5...
|
I have the exact same issue, logs in the spoiler. I'd like to downgrade, how do I do it on HASSOS?
|
This comment was marked as abuse.
This comment was marked as abuse.
That is not an acceptable solution @artlov And possibly breaking. I strongly recommend not advising that to anybody. You are creating a mismatch/version conflict doing that. I've marked your comment as abuse for that reason; as you potentially are breaking other people's systems with that comment. A downgrade can be done using backups. That is what is offered on each add-on upgrade each time. |
OK, I removed my advise. Is there any right solution coming soon? |
Thank you, great advice!! I didn't think about it! I restored the 5.5.2 version via Backups, and now it's working. :) |
Same issue here with 5.5.5. Fixed by downgrading to 5.5.2 |
Same issue with 5.5.6. What is going on? |
For those who does not have 5.5.2 backup, any other workaround? |
If you using a proxy server in front of Home Assistant, you should look at this thread |
I am not.
Em ter., 4 de abr. de 2023 às 12:01, thor0215 ***@***.***>
escreveu:
If you using a proxy server in front of Home Assistant, you should look at
this thread
#584 <#584>
—
Reply to this email directly, view it on GitHub
<#586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATTUX7R4QBBCRGZG4DQRIVDW7QZTRANCNFSM6AAAAAAV2SKZDY>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Fabio Costa
*email: ***@***.***
*twitter:* @fabiorcosta
*skype:* fabiorcosta
|
I am using NGINX Home Assistant SSL proxy. but I don't know if I am supposed to make those changes. I do not want to break the container. |
Well, thanks @thor0215 for the hint. Indeed, I using ngnix proxy at front of HA and Code Server works with http on port 8123 within the local network. I've changed host configuration for HA in nginx proxy and it restored my Studio Code Server functionality (v.5.5.6). |
@artlov Technically this is not an issue with vscode server addon as this new header security check was added to the vscode implementation. Reverting that change would require the addon to use a forked version of vscode. The fix should really be in the NGinx Proxy Manager default proxy.conf file. They should include the X-Forwarded-Host in that file. I've opened a bug for NGinx Proxy Manager to see if they will fix it. |
Any guess how could I proceed to overcome this issue. I don’t use any
proxy. As far as I know.
Em ter., 4 de abr. de 2023 às 13:59, thor0215 ***@***.***>
escreveu:
@artlov <https://github.com/artlov> Technically this is not an issue with
vscode server addon as this new header security check was added to the
vscode implementation. Reverting that change would require the addon to use
a forked version of vscode. The fix should really be in the NGinx Proxy
Manager default proxy.conf file.
https://github.com/NginxProxyManager/nginx-proxy-manager/blob/67208e43cc41f659ae2e68baa58a181a4d5f465b/docker/rootfs/etc/nginx/conf.d/include/proxy.conf#L1-L7
They should include the X-Forwarded-Host in there.
—
Reply to this email directly, view it on GitHub
<#586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATTUX7R33XM6X7MZ6SULGALW7RHPJANCNFSM6AAAAAAV2SKZDY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Fabio Costa
*email: ***@***.***
*twitter:* @fabiorcosta
*skype:* fabiorcosta
|
@fabiorcosta Can you better explain your setup and maybe post the log from your vscode addon? |
I am really a newbie. I even dont know how to get the logs. But I installed
Studio Code straight forward on HA. Not sure if it automatically install
any proxy.
Em ter., 4 de abr. de 2023 às 14:24, thor0215 ***@***.***>
escreveu:
… @fabiorcosta <https://github.com/fabiorcosta> Can you better explain your
setup and maybe post the log from your vscode addon?
—
Reply to this email directly, view it on GitHub
<#586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATTUX7RFTSEKHNAPJYWPCJLW7RKONANCNFSM6AAAAAAV2SKZDY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Fabio Costa
*email: ***@***.***
*twitter:* @fabiorcosta
*skype:* fabiorcosta
|
I've just replaced my microSD card with an SSD on a Raspberry Pi4 and taken the opportunity to go from 32 bit to 64 bit. I have VSC on another Home Assistant that works fine. However, on this one it never fully starts. I've Googled around and see several people have a similar issue. I can't tell if it's related to what's discussed here but to try and summarise my situation. HA fully up to date (2023.4.2 and VSC 5.5.6). I've set the log level for VSC to debug but I get no extra logging information (I've pasted the last few lines below as they're otherwise the same as normal). It's as though the add on hangs waiting for something that never completes. The red dot never goes green and clicking on the icon in the sidebar gives a message that VSC hasn't started. I don't know where else to look to find more information.
|
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Problem/Motivation
It happened after last update of HA Core 2023.3.4. At least I discovered this after last update.
Expected behavior
Add-on should to be started and working
Actual behavior
Steps to reproduce
Upgrade and try to start addon
The text was updated successfully, but these errors were encountered: