-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
POST request hanging #1150
Comments
It turns out node v15.5.0 was the issue. I downgraded to node v15.4.0 and it works as expected for POST. |
Thanks @JackFazackerley, you've saved me such a headache! Should this issue not remain open though? As it's quite a breaking bug, and a notice should at least be added to the readme file to spare anyone else having issues with this. |
@scottenock I'm glad it helped! I guess it should actually, got ahead of myself at the time! Will reopen. |
Encountered this after a fresh install on a new machine. Very frustrating. Thanks for this. |
Only v15.5.x is not working. Please upgrade/downgrade Node version to solve this issue. |
Running Node v.16.0.0 here, and I have this problem. |
1 similar comment
Running Node v.16.0.0 here, and I have this problem. |
Works well on Node 15.14.0. Tested. Managing it via NVM |
I have a similar issue with Node v16.1.0. |
I am using Node v16.2.0 and I also have this problem. |
I am using Node v16.2.0 just like @mcgalcode and have this problem as well |
getting the same |
Adding to this, node 16.3.0 also broken(As is probably expected) |
i have the same issue my get request is working fine but my post method is not working |
just uninstall version 16 and install v10 node it works |
Works well on Node v14.17.0 |
Works well on Node v14.7.0 |
Not working with Node 16.0.0 and NPM 7.10.0 |
Not working with Node 16.4.0, Downgraded to 15.4.0 and worked! Thank you @JackFazackerley |
Related to #1151 |
Not working with 14.17.2 on linux (debian) |
not working with v16.4.2 (homebrew)
|
Not working on v14.17.0 on linux (ubuntu) |
Works on 14.15.5 just make sure that the below items 2 and 3 items are the same.
|
Why are tickets being closed? Reverting to node 14 is not the solution and all ticket just refer to each other with no 'official' response. Are you at least thinking about suporting the new node? Thanks. |
@malkaviano: Because it's been fixed. See #1235 and https://github.com/dherault/serverless-offline/releases/tag/v8.0.0. |
I still have this issue with v16.10.0 Just to confirm downgrading to v15.4.0 fixed this issue, clearly this issue still exists |
@slatermorgan: Which version of serverless-offline are you using? It works fine for me with node v16.10.0 and serverless-offline v8.2.0. |
@trygveaa ! |
@slatermorgan: None of those are the version of serverless-offline. |
I tried making a post request with node version 16.11.1 and serverless-offline version 6.8.0 and got a hanging request. Then I tried with node version 15.4.0 and serverless-offline version 6.8.0 and the request went through. Then I upgraded serverless-offline to version 8.2.0 and changed back to node version 16.11.1 and the request went through. So the updated version of serverless-offline fixed the problem for me |
With node version 16.9.0 and serverless-offline version 7.1.0 i had the same error. Then I upgraded serverless-offline to version 8.2.0 and it resolve the problem :) |
Yes sorry, silly me! Upgrading my serverless-offline fixed this issue |
Thanks for the solution! Spent many hours searching just about anything. |
Confirming upgrading worked for me as well (node v16.13.0, serverless 7.0.0 -> 8.3.1) |
Same issue on Node 16.3. Reinstall serverless and serverless-offline to latest versions. |
I also faced the same issue on nodejs v 16.4 LTS and in latest 17 version, downgraded my local node to 15.4 and every post request is running as it should |
The easy solution is just updated dependencies.
Mainly this issue due to 2 reasons
|
Issue still does not seem to be fixed with node v17.7.2. I had to downgrade to v 15.14 to make it work. |
Please don't keep posting here without making sure you use the most recent version of serverless-offline. The fix is in serverless-offline, not in node. |
Still happens with node v18.3.0. Downgraded to v15.4.0 worked for me, using n. Remove node installed with |
closing this issue as it's quite old. if this is still a problem for anyone, please open a new issue and provide repro steps. |
You saved my time. Thanks @JackFazackerley |
Yep, not working with the latest node too...had to downgrade it |
ANy solution to this beside downgrade which i can not do, as have other things that need latest version. |
@amanprak @samartomar #1150 (comment) literally nothing is gonna happen otherwise |
Bug Report
Current Behavior
Making POST requests to serverless-offline hangs forever but GET requests work as expected.
Expected behavior/code
Should be able to POST. I have tried with other handlers other than Go and the result is the same.
Environment
serverless
version: 2.16.1serverless-offline
version: 6.8.0node.js
version: v15.5.0OS
: macOS 10.15.7go
version: v1.15.6The text was updated successfully, but these errors were encountered: