Comments (5)
As always, please provide the entire code with the entire error message that it produces.
Please also provide the version of mcipc you are using.
from mcipc.
error:
Traceback (most recent call last):
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\site-packages\mcipc\query\client.py", line 59, in __enter__
self.connect()
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\site-packages\mcipc\query\client.py", line 50, in connect
self.challenge_token = self.handshake()
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\site-packages\mcipc\query\client.py", line 97, in handshake
response = Response.read(file)
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\site-packages\mcipc\query\proto\handshake.py", line 47, in read
type_ = Type.read(file)
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\site-packages\mcipc\query\proto\common.py", line 100, in read
return cls.from_bytes(file.read(1))
File "C:\Users\meesr\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
version: 2.3.3
from mcipc.
With the partial information that you have provided - I still don't know the code that produces it - all I can assume is, that mcipc works perfectly fine and the remote host, i.e. the server, just lets the connection time out.
This is most likely due to administrative settings of the target query server or the server's firewall.
from mcipc.
That is strange because with all other options (sites) it just works. This problem started when I upgraded all my modules.
I know it's not my server
from mcipc.
Well, I just tried it with my own servers and I can get the Query information without any issues.
As long as we cannot rule the more likely issue on the server side, there's nothing that I can do.
from mcipc.
Related Issues (20)
- use of built in types for Type hints HOT 2
- Can not install via pip "No matching distribution found for mcipc" HOT 3
- I can't run the example program HOT 4
- TypeError: cannot convert 'NoneType' object to bytes HOT 3
- Linux Bug HOT 2
- Client.stats() (as depicted in readthedocs) refuses to work HOT 2
- Converting into dict() HOT 2
- Bedrock? HOT 3
- Python 3.8 HOT 1
- is async supporting? HOT 1
- TypeError: 'TypeVar' object is not callable HOT 2
- Long responses from commands are truncated and break the connection HOT 25
- Parsing NBT HOT 2
- Changes to behaviour of Item HOT 6
- I'm having problems creating the code HOT 1
- ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it HOT 1
- An existing connection was forcibly closed by the remote host HOT 3
- Error while attempting to run a command using RCON on a Minecraft Bedrock Server HOT 2
- Circular import error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcipc.