Skip to content

Currently, I get two different(!) urllib errors for my two devices #51

@Wikinaut

Description

@Wikinaut

Hi, after some years, I came back to your software, but unfortunately I got these error messages now:
(running the lastest version d7cd5b0 )

Perhaps you have an idea, how to overcome or to identify the probems.

MFC-9342CDW

/oh-brother.py 192.168.xxx.xxx
You may need to check the following in the printer's configuration:
  - SNMP service is enabled (for fetching model and versions)
Press Ctrl-C to exit or Enter to continue...
Getting SNMP data from printer at 192.168.xxx.xxx
done

    serial = xxxxx
     model = MFC-9342CDW
      spec = 0503
   firmwares
    category = MAIN, version = P1811191522:CE45
    category = SUB1, version = 1.05
    category = SUB2, version = Q1811192000


Updating MAIN version P1811191522:CE45
Looking up printer firmware info at vendor server...
Traceback (most recent call last):
  File "/home/benutzer/projekte/Brother Firmwareupdater/oh-brother/./oh-brother.py", line 296, in <module>
    update_firmware(entry['cat'], entry['version'])
  File "/home/benutzer/projekte/Brother Firmwareupdater/oh-brother/./oh-brother.py", line 213, in update_firmware
    response = urllib.request.urlopen(req)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 504: Gateway Time-out

ADS-2600We

./oh-brother.py 192.168.xxx.yyy
You may need to check the following in the printer's configuration:
  - SNMP service is enabled (for fetching model and versions)
Press Ctrl-C to exit or Enter to continue...
Getting SNMP data from printer at 192.168.xxx.yyy
done

    serial = yyyyy
     model = ADS-2600We
      spec = 0103
   firmwares
    category = MAIN, version = J1812251155:885A
    category = SUB2, version = D16082214


Updating MAIN version J1812251155:885A
Looking up printer firmware info at vendor server...
Traceback (most recent call last):
  File "/home/benutzer/projekte/Brother Firmwareupdater/oh-brother/./oh-brother.py", line 296, in <module>
    update_firmware(entry['cat'], entry['version'])
  File "/home/benutzer/projekte/Brother Firmwareupdater/oh-brother/./oh-brother.py", line 213, in update_firmware
    response = urllib.request.urlopen(req)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions