-
Notifications
You must be signed in to change notification settings - Fork 337
Preview throws Server Error: 502 Bad Gateway #423
Comments
hi @grempe ! sorry you are running into this! can you tell me what sort of project this was? the preview service works on a basic js project for me- so it's possible you ran into something that was related to your script specifically- so any details around that would help me debug! |
Hmmm. Well, that seems like a pretty critical miss after the most recent release of official support for k/v in wrangler. It would certainly be better for developers if the preview service did support k/v. Even if it was mocked. Just declining to send k/v config (and adding conditional code for k/v as the PR seems to imply) doesn't seem like the right long term solution IMHO. |
I agree that is not the correct long term solution. We have a few, more robust ideas around how to improve Wrangler's interactions with the preview service, however they are not slated for work this quarter. I'll write up the start of the RFC and link it here so you can track its progress. For now, to unblock folks, the fix in the above PR is our short term solution. |
Excellent.
|
π Bug Report
Environment
rustc -V
:node -v
:wrangler -V
:Steps to reproduce
Run
wrangler preview
What did you expect to see?
Clean build and display of preview.
What did you see instead?
FYI, running
wrangler build
, orwrangler publish
runs cleanly and works as expected.The text was updated successfully, but these errors were encountered: