block=False gives me "ERR_CONNECTION_REFUSED"
See original GitHub issue** block=False gives me “ERR_CONNECTION_REFUSED”** I want to call JS function from python but i get “ERR_CONNECTION_REFUSED” error whenever i use “block=False”
Python Backend
import eel
eel.init("web")
@eel.expose
def on_load():
print("Application running")
eel.start(
'index.html',
block=False,
mode="chrome"
)
while True:
returned_value = input("Send message to frontend: ")
eel.pythonMessage(returned_value)
JavaScript Part
function pythonMessage(message) {
console.log(message);
}
eel.expose(pythonMessage);
- I know that if I don’t provide sample code that allows someone to quickly step into my shoes, I may not get the help I want or my issue may be closed.
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version Latest Eel and Chrome V10
0
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
How to Fix the ERR_CONNECTION_REFUSED Error in Chrome
The ERR_CONNECTION_REFUSED error is sometimes caused by a server-side problem, rather than an issue with your individual attempt at connection.
Read more >ERR_CONNECTION_REFUSED: What It Is and 11 Ways to Fix It
There can be a variety of causes, such as incorrect proxy configuration, caching errors, or the web server blocking the proxy and the...
Read more >How to Fix ERR_CONNECTION_REFUSED Error in Chrome?
The ERR_CONNECTION_REFUSED error message appears on Google Chrome when the user tries to search for something on the browser and the browser ...
Read more >How to Fix the ERR_CONNECTION_REFUSED Error in Chrome
9 Simple Ways to Fix the ERR_CONNECTION_REFUSED Error in Chrome · Solution 1: Check the Website Status · Solution 2: Restart Your Router...
Read more >ERR_CONNECTION_REFUSED | How to fix the error - IONOS
The ERR_CONNECTION_REFUSED error is a client-side problem that can be caused by incorrect firewall, system or browser settings, but also by ...
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
Thank you so much! I didn’t want to create a new thread and your solution works perfectly.
@vimevim
Its magic)