PyFunceble icon indicating copy to clipboard operation
PyFunceble copied to clipboard

BUG | «Fatal Error: 'epoch'» at seemingly random during scans.

Open DandelionSprout opened this issue 1 month ago • 0 comments

What is the problem you are experiencing?

(...)
jinjililotah.cyou                                                                                    ACTIVE      WHOIS
jiprgfzcpdjmp.online                                                                                 ACTIVE      WHOIS
jipvtxdxtrnsh.website                                                                                ACTIVE      WHOIS
jiquezkmdgqny.website                                                                                ACTIVE      WHOIS
jiraisansezap.net                                                                                    INACTIVE    STDLOOKUP
ppm-pyfunceble_tester_worker-4 | An exception was raised. Stopping worker.
Traceback (most recent call last):
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 1109, in run
    result = self.target(consumed)
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\cli\processes\workers\tester.py", line 287, in target
    .query_status()
     ~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 164, in wrapper
    return func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 189, in wrapper
    result = func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\domain_and_ip.py", line 138, in query_status
    result = query_object.query_status()
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 164, in wrapper
    return func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 189, in wrapper
    result = func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\domain.py", line 163, in query_status
    self.try_to_query_status_from_whois()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\base.py", line 765, in try_to_query_status_from_whois
    known_record = whois_object[self.subject]
                   ~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\dataset\whois\csv.py", line 87, in __getitem__
    for row in self.get_content():
               ~~~~~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\dataset\whois\csv.py", line 103, in get_content
    row["epoch"] = float(row["epoch"])
                         ~~~^^^^^^^^^
KeyError: 'epoch'
jitanvlw.com                                                                                         ACTIVE      WHOIS
pyfunceble_tester_worker-manager | Worker 'ppm-pyfunceble_tester_worker-4' raised an exception:
Traceback (most recent call last):
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 1109, in run
    result = self.target(consumed)
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\cli\processes\workers\tester.py", line 287, in target
    .query_status()
     ~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 164, in wrapper
    return func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 189, in wrapper
    result = func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\domain_and_ip.py", line 138, in query_status
    result = query_object.query_status()
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 164, in wrapper
    return func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\base.py", line 189, in wrapper
    result = func(self, *args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\domain.py", line 163, in query_status
    self.try_to_query_status_from_whois()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\checker\availability\base.py", line 765, in try_to_query_status_from_whois
    known_record = whois_object[self.subject]
                   ~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\dataset\whois\csv.py", line 87, in __getitem__
    for row in self.get_content():
               ~~~~~~~~~~~~~~~~^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\dataset\whois\csv.py", line 103, in get_content
    row["epoch"] = float(row["epoch"])
                         ~~~^^^^^^^^^
KeyError: 'epoch'

Fatal Error: 'epoch'
jitgibmibpayc.online                                                                                 ACTIVE      WHOIS
ppm-pyfunceble_producer_worker-1 | An exception was raised. Stopping worker.
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 328, in _recv_bytes
    nread, err = ov.GetOverlappedResult(True)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
BrokenPipeError: [WinError 109] Datakanalen er avsluttet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 946, in run
    if self.global_exit_event.is_set():
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\managers.py", line 1103, in is_set
    return self._callmethod('is_set')
           ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\managers.py", line 831, in _callmethod
    kind, result = conn.recv()
                   ~~~~~~~~~^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 337, in _recv_bytes
    raise EOFError
EOFError
ppm-pyfunceble_tester_worker-1 | An exception was raised. Stopping worker.
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 328, in _recv_bytes
    nread, err = ov.GetOverlappedResult(True)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
BrokenPipeError: [WinError 109] Datakanalen er avsluttet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 1125, in run
    self.push_to_output_queues(result)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 574, in push_to_output_queues
    output_queue.put(to_send)
    ~~~~~~~~~~~~~~~~^^^^^^^^^
  File "<string>", line 2, in put
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\managers.py", line 831, in _callmethod
    kind, result = conn.recv()
                   ~~~~~~~~~^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 337, in _recv_bytes
    raise EOFError
EOFError
ppm-pyfunceble_tester_worker-2 | An exception was raised. Stopping worker.
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 328, in _recv_bytes
    nread, err = ov.GetOverlappedResult(True)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
BrokenPipeError: [WinError 109] Datakanalen er avsluttet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 1125, in run
    self.push_to_output_queues(result)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\Users\imree\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\PyFunceble\ext\process_manager\worker\core.py", line 574, in push_to_output_queues
    output_queue.put(to_send)
    ~~~~~~~~~~~~~~~~^^^^^^^^^
  File "<string>", line 2, in put
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\managers.py", line 831, in _callmethod
    kind, result = conn.recv()
                   ~~~~~~~~~^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\connection.py", line 337, in _recv_bytes
    raise EOFError
EOFError
PS R:\(...)>

How can we reproduce the problem?

To reproduce the problem:

  1. Open PowerShell 7.5.4 in Windows Terminal.
  2. Run PyFunceble -f [A locally stored .txt file with a lot of domains, without these brackets]
  3. Sporadically and inconsistently encounter errors related to epoch. Sometimes the errors are non-fatal and the scan continues, but other times the error is fatal and the scan ends.

Do you have a screenshot?

Screenshot Image

What did you expect to happen?

That the error does not occur.

Is there a workaround?

None that I know of.

How did you configure PyFunceble?

(The .PyFunceble.overwrite.yaml file on my end is entirely empty as far as I can tell and is listed in File Explorer as being 0 bytes large.)

Which Operating System did you use?

Windows 11

Which Python Version did you use?

3.13

Which PyFunceble Version did you use?

4.3.0

Additional context

I was scanning a pretty large file at the time, with approximately 30,000 domains.

DandelionSprout avatar Dec 09 '25 09:12 DandelionSprout