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

ResponseError with code UnkownError shows up once Activity starts #56

Open
drori200 opened this issue Dec 1, 2022 · 2 comments
Open

Comments

@drori200
Copy link

drori200 commented Dec 1, 2022

I've implemented and modified the activity example for my needs and so far it works great. Everything runs and behaves like it should.

Issue is, when starting up my RPC I receive these lines:

[ERROR] ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." }

[ERROR] Failed to configure networking: ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unlo
aded, etc." }

The program doesn't crash and even still runs fine but this kind of concerns me. Below is my activity file:
https://gist.github.com/drori200/a61284adeffc26117f087aee045620ff

@letorbi
Copy link
Contributor

letorbi commented Dec 21, 2022

I have experienced the same issue, when I use the current release (0.5.5), which uses the official Discord Games SDK binary. However, no ResponseError occurs, when I am using the java-impl branch instead.

The java-impl branch is a pure-java implementation, which does not use the Discord Games SDK binary internally. The branch is currently experimental, but it should be usable once PR #61 has been merged.

@Robatortas
Copy link

Yeah, I think it's a library issue, since it just suddenly stopped functioning for me too.

And also the error is not even as a System.err.println error, sooo I guess it's the library itself...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants