Giter VIP home page Giter VIP logo

Comments (5)

conqp avatar conqp commented on August 26, 2024

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.

MeesMeijer avatar MeesMeijer commented on August 26, 2024

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.

conqp avatar conqp commented on August 26, 2024

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.

MeesMeijer avatar MeesMeijer commented on August 26, 2024

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.

conqp avatar conqp commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.