Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to keep the HTTP-connection alive in order to keep the authentication session alive #1

Closed
Borewit opened this issue Jan 27, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@Borewit
Copy link
Owner

Borewit commented Jan 27, 2019

Description:

It looks like posting though the user/bot form API fails because the HTTP connection is not kept alive.
The prescribed way to keep it alive for Axios, the underlying HTTP-client does not seem to work: axios/axios#1981.

Workaround:

Use Fiddler as proxy in-between:

const Fiddler = {
  host: '127.0.0.1',
  port: 8888
};

const config = {
  proxy: Fiddler,
  //...
}

Fiddler will keep the connection to MusicBrainz alive.

@Borewit Borewit added the bug Something isn't working label Jan 27, 2019
@Borewit
Copy link
Owner Author

Borewit commented Jan 29, 2019

Fixed in v0.2.0

@Borewit Borewit closed this as completed Jan 29, 2019
@Borewit
Copy link
Owner Author

Borewit commented Jan 29, 2019

Made mistake in the comment. I fxed it using request
Also tried Needle as well, but is had the same issue as Axio: tomas/needle#271.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant