GrenderG / GrenderG/goshawk

MHGEN EU invalid literal for int Error

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
35
Forks
5
PR merge metrics
No merged PRs in 30d

Description

when using dnsmasq and a proxy to attempt to download the DLC for MHGEN I am getting this error.

ERROR:root:invalid literal for int() with base 10: b'{\x1b\xd8\xb1\xcc#\xe2\x8a2\n\xcf)\x08\x02\xef\xf5\x0b\xa1\xffy\xcd\x14\xf9\xb6Od\x05\xf4eo\xcf\xed(e\xa0\x13'
127.0.0.1 - - [20/Jun/2026 09:10:19] "POST /SSL/3ds/mhx/login_eu.cgi HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [20/Jun/2026 09:10:19] "POST /SSL/3ds/mhx/login_eu.cgi HTTP/1.1" 200 -

I am assuming this is pretendo having a different token format but I am not experienced in networking.
Any help is appreciated either with fixing this or any other methods for patching the dlc files into mhgen

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the MHGEN EU DLC request and trace the handler for /SSL/3ds/mhx/login_eu.cgi. Inspect how the response token is parsed and compare the observed byte value with the expected format. Done means the request no longer raises the integer-conversion error and the DLC download flow completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.