stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.85k stars 155 forks source link

Remix Starter: 'Upgrade Required' #488

Closed msquinn closed 2 years ago

msquinn commented 2 years ago

Describe the bug

Just ran the remix starter and the client loads on port 3000. However, the server on 8002 just throws a error code 426 'Upgrade required' when requests are made to it. I haven't touched the code in the starter.

Link to the blitz that caused the error

https://stackblitz.com/edit/node-vrpklr

Steps to reproduce

  1. Open remix starter
  2. Open Network tab
  3. See all requests to server erroring out with 426 'Upgrade required'

Expected behavior

Expect server calls to succeed and app to function as intended.

Screenshots

Screen Shot 2021-12-14 at 9 35 02 AM

Platform

Browser name  = Chrome 
Full version  = 96.0.4664.110
Major version = 96
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 96152271,
  "usedJSHeapSize": 93456983,
  "jsHeapSizeLimit": 4294705152
}
Hash = 731360fb19d99dfc563f19370095b1e3465a14ed

Additional context

No response

tony19 commented 2 years ago

Duplicate of #435

jrvidal commented 2 years ago

@msquinn Does the comment in https://github.com/stackblitz/webcontainer-core/issues/341#issuecomment-936290408 clarify things? Do you observe the site being rendered correctly after waiting enough?

jrvidal commented 2 years ago

:wave: It seems this issue has been sitting for a while without new info. I'm closing this, but please feel free to open a new one if you still encounter this problem.

elix1er commented 1 month ago

still