linux - Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported - Stack Overflow
Loading…
your communities
more stack exchange communities
company blog Join Stack Overflow to learn, share knowledge, and build your career.
Sign up with email Sign up Sign up with Google Sign up with GitHub Sign up with Facebook
Teams
Stack Overflow for Teams – Collaborate and share knowledge with a private group.
Create a free Team What is Teams?Teams
Create free Team
“Stack Overflow for Teams is a private, secure spot for your organization’s questions and answers.”)
Collectives on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported
Asked 1 month ago
Active 1 month ago
Viewed 935 times
Report this ad
This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
I am setting up hardhat in Linux. I have set up the react app first using these commands.
npx create-react-app react-dapp
cd react-dapp
Then I have installed some hardhat dependencies using this command.
npm install ethers hardhat @nomiclabs/hardhat-waffle \
ethereum-waffle chai \
@nomiclabs/hardhat-ether
This all done correctly. Then I have created the hardhat configs and setup.
npx hardhat
Then I have edited the hardhat.config.js file. I have places this.
module.exports = {
solidity: "0.8.4",
paths: {
artifacts: './src/artifacts',
},
networks: {
hardhat: {
chainId: 1337
}
} }; After that I have created the node.
npx hardhat node
I got this error:
Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported
linux api blockchain metamask hardhat
Share a link to this question
Copy linkCC BY-SA 4.0
Follow
Follow this question to receive notifications
asked Oct 21 at 9:41
[
](/users/14673713/enstazao)
enstazaoenstazao
944 bronze badges
2 Answers 2
This answer is useful
6
This answer is not useful
Show activity on this post.
Had the same problem. Using Node 17.x and it has an updated openssl that is a a breaking change.
This worked for me because I’m using yarn.
export NODE_OPTIONS=--openssl-legacy-provider
You could also try just using the --openssl-legacy-provider
switch on node.
Share a link to this answer
Copy linkCC BY-SA 4.0
Follow
Follow this answer to receive notifications
answered Oct 22 at 5:37
[
](/users/17216955/lenifoti)
lenifotilenifoti
6111 bronze badge
This answer is useful
1
This answer is not useful
Show activity on this post.
I ran into this exact problem just now, however since I have nvm, my cheap work around is to used node v16 for now.
Share a link to this answer
Copy linkCC BY-SA 4.0
Follow
Follow this answer to receive notifications
answered Oct 28 at 4:38
[
](/users/11416326/ogbee)
OgbeeOgbee
2133 bronze badges
1
- As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
– Community Bot
Oct 28 at 7:10
Your Answer
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Draft saved
Draft discarded
Sign up or log in
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Submit
Post as a guest
Name
Required, but never shown
Post Your Answer Discard
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Not the answer you’re looking for? Browse other questions tagged linux api blockchain metamask hardhat or ask your own question.
The Overflow Blog
Featured on Meta
Expert Java Engineer, Marketing (f/m/x)
AUTO1 Berlin, Germany
RemoteRelocation
javaspring
“Expert Java Engineer, Marketing (f/m/x) at AUTO1. Click to learn more.”)
dismiss this job
Java/Spring Developer (Remote)
Soshace LLC No office location
$50k - $96kRemote
javaspring
“Java/Spring Developer (Remote) at Soshace LLC. Click to learn more.”)
dismiss this job
Lead Platform Engineer
Tessian London, UK
£95k - £129kRemoteRelocation
dockeramazon-web-services
“Lead Platform Engineer at Tessian. Click to learn more.”)
dismiss this job
Senior Java + Spring Boot Developer
Napptilus Tech Labs Barcelona, Spain
Remote
javadocker
“Senior Java + Spring Boot Developer at Napptilus Tech Labs. Click to learn more.”)
dismiss this job
Senior Backend Engineer f/m/x
HeavenHR Berlin, Deutschland
€60k - €85kRemoteRelocation
javaspring
“Senior Backend Engineer f/m/x at HeavenHR. Click to learn more.”)
dismiss this job
Backend Engineer (Hong Kong)
Mox Bank Hong Kong
javascala
“Backend Engineer (Hong Kong) at Mox Bank. Click to learn more.”)
dismiss this job
REMOTE Lead (Senior) Kotlin & Java Engineer (m/f/x) High-Load Search-Engine
AVANTGARDE - “Creating Fans” No office location
€80k - €95kRemote
javakotlin
“REMOTE Lead (Senior) Kotlin & Java Engineer (m/f/x) High-Load Search-Engine at AVANTGARDE - “Creating Fans”. Click to learn more.”)
dismiss this job
Kotlin Developer To Work on Articles (remote, part-time)
Baeldung No office location
Remote
springkotlin
“Kotlin Developer To Work on Articles (remote, part-time) at Baeldung. Click to learn more.”)
dismiss this job
[
View more jobs on Stack Overflow
](https://stackoverflow.com/jobs?so_medium=Ad&so_source=JobAd&so_campaign=GenericBlue)
Linked
[
0
](https://stackoverflow.com/q/69717140?lq=1 “Vote score (upvotes - downvotes)”)Chainlink Hackathon 21 Hardhat problem deploying node
Related
[
400
](https://stackoverflow.com/q/11990708?rq=1 “Vote score (upvotes - downvotes)”)error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
[
0
](https://stackoverflow.com/q/50254856?rq=1 “Vote score (upvotes - downvotes)”)Monero and JSON-RPC
[
4
](https://stackoverflow.com/q/56514352?rq=1 “Vote score (upvotes - downvotes)”)i get an error: “MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc error with payload”
[
0
](https://stackoverflow.com/q/62801265?rq=1 “Vote score (upvotes - downvotes)”)Metamask returns RPC Error: Error: [ethjs-rpc] rpc error with payload {“id”:5715960965837,”jsonrpc”:”2.0”,”params”:
[
0
](https://stackoverflow.com/q/62866404?rq=1 “Vote score (upvotes - downvotes)”)Testing Server for JSON-RPC
[
0
](https://stackoverflow.com/q/65217985?rq=1 “Vote score (upvotes - downvotes)”)Error: Invalid JSON RPC response: undefined
[
0
](https://stackoverflow.com/q/66924776?rq=1 “Vote score (upvotes - downvotes)”)MetaMask RPC error? ‘MetaMask - RPC Error: Internal JSON-RPC error.’
[
0
](https://stackoverflow.com/q/68760210?rq=1 “Vote score (upvotes - downvotes)”)Returned values aren’t valid, did it run Out of Gas? web3 1.5.0 and sol-0.5.15
[
0
](https://stackoverflow.com/q/68812343?rq=1 “Vote score (upvotes - downvotes)”)Metamask Error: Internal JSON-RPC error. while confirming on metamask mobile
Hot Network Questions
- How are five murder charges used for each defendant in the Arbery case?
- Seeking a maths formula to determine the number of coins in a treasure hoard, given hoard value
- How to deal with impatient drivers
- Using tikz to draw arrows in text
- What is Artificial Nipple Dilation?
- Study of supercell after creating vaccum
- How can Hermione cast a spell without using her wand in this scene?
- How can I “zero out” velocity in an arbitrary direction?
- Are there countries where politicians and senior government officials are forced to have skin in the game?
- What is this type of SSD called?
- Proof that for 2n nodes of +1 and -1 position doesn’t count
- Can a non-spell-casting player determine if an item is magical?
- Resignation from a postdoc without appropriate notice period (UK)
- What condition could cause chronically reddened sclera?
- How can I patch a hole on the inside of an inner tube?
- For countries requiring vaccination (especially USA) is there any allowance for an antibodies test, demonstrating natural immunity?
- Can I pour a concrete foundation in multiple pieces?
- Can a US physician prescribe meds to non-US residents?
- The character table of the symmetric group modulo m
- Solving for a unique set of solutions
- Is there a reason why giant mechs have optics the size of a person instead of ‘normal’ sized ones?
- What is the largest amount of stabilizers a pure state can have?
- Amtrak: checking bags before the station opens
- 1st Law of Thermodynamics in a Filament
Subscribe to RSS
Question feed
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Stack Overflow
- Questions
- Jobs
- Developer Jobs Directory
- Salary Calculator
- Help
- Mobile
- Disable Responsiveness
Products
Company
[Stack Exchange
Network](https://stackexchange.com)
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.11.26.40833
https://stackoverflow.com/questions/69659558/error-hh604-error-running-json-rpc-server-error0308010cdigital-envelope-rout