-
Notifications
You must be signed in to change notification settings - Fork 135
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
Forwarding issue for Node 22 (SSL error for non-SSL local service) #295
Forwarding issue for Node 22 (SSL error for non-SSL local service) #295
Comments
Hi! I added CI for Node 22 in #296, and in general, the tests seem to pass. Can you provide some steps to reproduce this? |
Hi @AaronDewes These were the steps I took:
The smee-client error pointed to the I did exactly the same steps with nodejs 18.18.0, and other than having to tell Rails to expect |
🎉 This issue has been resolved in version 2.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi all,
I encountered an issue running smee-client under node 22, but this is really a heads-up as I see you don't have that version in your CI test matrix yet.
When using that node version, it seems
fetch
tries to connect via https even when the URL startshttp://
, I assume because of theX-Forwarded-Proto
header, or similar. This then fails because the local service is usually listening via http only.Switching down to node 18 fixed the issue for me so I'm fine with that, but it'll likely become an issue when you start supporting 22.
The text was updated successfully, but these errors were encountered: