TypeError: Only HTTP(S) protocols are supported
See original GitHub issueUsing Nextjs on vercel, using the guide as described here: https://docs.upstash.com/redis/quickstarts/vercel
(btw, these key names ‘UPSTASH_REDIS_REST_URL’, ‘UPSTASH_REDIS_REST_TOKEN’, no longer correlate with what you get in the details tab so it’s a source of confusion.)
results in the error:
TypeError: Only HTTP(S) protocols are supported
Both locally and on vercel.
My Nextjs was generated using the create-next-app.
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
How do I make an http request with fetch in node? node-fetch
Check if you've passed a url with a protocol. Error "Only HTTP(S) protocols are supported" means that there's neither HTTP nor HTTPS ......
Read more >TypeError: Only HTTP(S) protocols are supported
TypeError : Only HTTP(S) protocols are supported. 5806 views.
Read more >Error: Only HTTP(S) protocols are supported When Running ...
when executing await remoteFile.download({ destination: originalFile }); it should download the original file. This code is exactly the same as ...
Read more >ApolloError: Only HTTP(S) protocols are supported (error with ...
I'm writing a unit test that requires me to send a mutation via the apollo client to my http server (created using nestjs)....
Read more >Only HTTP(S) protocols are supported-node.js - appsloveworld
[Solved]-Tensorflow Node-js, TypeError: Only HTTP(S) protocols are supported-node.js ... I think tfjs-node is for NodeJS, and tfjs is for the web browser. You ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 I’ll update the docs to make it clearer and we’ll think about merging the connection options at some point.
@chronark The cause was dotenv serving an old version. But I figured it might be worth documenting that there was some confusion on my part.
I very much appreciate the quick help!