I started to install MOPIDY on a "Centos 7"-Virtual Machine.
Everything works fine, I also installed a Web client named "Iris".
I can connect to Spotify, but the "Pusher" (i think "iris"!?) connects and disconnects again and again and again. I don't know why and I also get some errors in my terminal. I don't know where to look to fix the Problems, maybe you have any tips Guys?
I think this are not the Iris you are looking for ?
http://scitools.org.uk/iris/
Related
Background - using a windows machine, Windows 10/11, connected to the internet through ethernet cable. Using python's websocket-client module, on pycharm.
Problem - one fine day, out of the blue, I am no longer able to connect to FTX's websocket wss://ftx.com/ws/ on my local windows machine and kept getting the error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
I tried on my VPS, a linux machine, with the same exact code and it works fine.
Attempts to fix the problem were:
A full reformat of computer, windows 10 > windows 10, and reinstall python 3.10 and pycharm.
Then upgrading windows 10 > windows 11.
Made sure all drivers are up to date, and also reinstalling them.
Resetting network settings from Windows
Tested the websocket connection with other end point and it worked fine. eg wss://api.gemini.com/v1/marketdata/BTCUSD
None of the above worked.
My websocket connection is in a while loop something like this
while True:
try:
ws.run_forever()
time.sleep(0.2)
except:
pass
So it would keep retrying.
There was a weird behavior when, from windows, I disable, and re-enable the network adapter, the websocket connection would suddenly be successful. And if I were to disable and re-enable the network adapter again; sometimes it would continue to fail, or sometimes the connection would be successful again. Note this is while the code is still executing in the while loop.
And, if I were to stop and re-run the code, it would never work, and the error WinError 10060 would arise.
At this point I am stumped and have no clue how to solve this problem as it was totally random and out of the blue. Looking for help and advise please..!
I have a brand new Django setup on my computer, I ran the command runserver, and I get an ERR_CONNECTION_REFUSED in chrome.
localhost is added to allowed_hosts and I get no error in django, when I check for the port it is not active.
I am running Django in wsl and accessing chrome from windows on the same machine
I have tried adding to my IP, changing browser, adding to allowed hosts, I initially had this issue in another project and I set up this new project to see if the problem would resolve, it didn't and the new project is completely clean no way something could be messed up there.
I tried running the server in windows and finally got an error
Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
I ran it with a whole lot of different port numbers which I am sure is not in used but no luck.
Any help would be greatly appreciated
edit 3: lol a simple restart of my computer did the trick, I guess it was a port blocking which is really weird because I tried dozens of ports and it didn't show up in use when I used netstat
I am currently working on a code in micropython using the esp32, and getting an error messeage that says "OSError:118". if anyone is familiar with the problem I,d be happy to get help. I'm using pycharm and the socket library.
im creating a very basic client-server connection. the server runs on python, the client is the esp32. when I ran the code with two computers it worked.
Your network/wifi is not connected. Make sure you have a successful connection to the device as it is not active.
I try to make a script logging on to a website, and I think my code is correct, but gets the following error code: "Could not connect because the destination computer actively denied it"
Is it possible to make a website that can refuse access for Selenium?
I have inserted the entire error code here, sorry that the last part is in Danish:
Shell Error message
It is TCP error code 10061: No connection could be made because the target machine actively refused it.
It's possible that the website has no services listening on the specified port, or there is a firewall stopping you.
When trying to install PyDev on eclipse I get the following error message:
An error occurred while collecting items to be installed session context was: (profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev_2.6.0.2012062818.jar.
Read timed out
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev.jython_2.6.0.2012062818.jar.
Read timed out
I don't know what that means, can someone elaborate please?
Thanks.
Just that Eclipse can't reach the site to fetch that JAR. You can check it manually by entering the name into the browser address bar:
http://pydev.org/updates/plugins/org.python.pydev_2.6.0.2012062818.jar
Possible causes:
server overload
DNS failure
company firewall refusing to download (had this happen to me)
connectivity problems