Skip to content

Moonboard Login not working anymore "Remote end closed connection without response" #75

@sp4tzel

Description

@sp4tzel

In this and in other Moonboard API using projects I found that the login to Moonboard API is not working anymore. I did not use any of the projects before, but I assume recently the API was changed by Moonboard.

I already tried to debug and played around with the HTML POST Header data (in this project https://github.com/drhanfastolfe/moonboard-logbook-visualizer) and found that the parameter "User-Agent" is now apperently mandatory. I also tried other parameters, but only this one leads to loss of connection.
Here is an example:

Image

I noticed the same behavior in this project and also saw your recent post in the open pull request regarding login-issue, hence I wanted to inform.
#73 (comment)

Unfortunately I don't have much background on POST and GET or HTML API in general. I will still try to create a PR with a proposed fix.

Error message on accessing logbook for moonboard:
Traceback (most recent call last): File "c:\test\.venv\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "c:\test\.venv\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "c:\test\.venv\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\User\AppData\Local\Programs\Python\Python314\Lib\http\client.py", line 1450, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\User\AppData\Local\Programs\Python\Python314\Lib\http\client.py", line 336, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\User\AppData\Local\Programs\Python\Python314\Lib\http\client.py", line 305, in _read_status raise RemoteDisconnected("Remote end closed connection without" " response") http.client.RemoteDisconnected: Remote end closed connection without response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions