Closed rista404 closed 3 months ago
UPDATE: Immediately after reporting, I saw that I was accessing http://localhost:8789
when getting the errors, but upon trying http://127.0.0.1:8789
everything seems to be working.
I still think this is a bug because one would think that localhost
should work, right?
I've tried with both localhost
and 127.0.0.1
and get the same error.
Thanks very much for reporting this! Would you be able to provide a minimal reproduction so that we can investigate?
I just saw this error in production using wrangler 3.53.1
{
"error": "Imported HMAC key length (0) must be a non-zero value up to 7 bits less than, and no greater than, the bit length of the raw key data (0)."
}
What does this mean?
We haven't heard from you in while so I'm going to close this issue for now. @rista404 If you're still running into problems feel free to comment with more details & a reproduction, and we can investigate further.
for future travelers my error was related to env vars not being around and trying to use an empty secret to hash, so check your env vars
Which Cloudflare product(s) does this pertain to?
Pages, Workers Runtime, Miniflare
What version(s) of the tool(s) are you using?
3.17.0 [Wrangler]
What version of Node are you using?
21.2.0
What operating system are you using?
Mac
Describe the Bug
When running a Remix app that used to work well, now I'm getting the following error:
The same error occurs on Node LTS, and even on
wrangler
v3.8.0
. That's the version I've used previously that worked so I tried to revert but the issue is still there it just has a different error message in the console:Not sure what caused the issue, was it the upgrade to the latest version or something else? If it is of any help I'm using Remix v2.0.1 but I'm not sure that is related.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response