pygame-web/pygbag

Error Occured: Failed to call api method

Closed this issue · 3 comments

When building and testing a pygbag game I'm currently getting this error popup: "Error occurred: Failed to call api method: could not connect to provider anyweb-to-anyweb-unprivileged-api-v1"

I wasn't getting it before, and the build was working, then i went ahead and rebuilt it since I haven't touched it in a few months and I get this error. I also build an empty file and got the error too.

Sorry we cannot support external api you are using in your games if you do not provide full source,assets + some credentials for those api services.

Sorry we cannot support external api you are using in your games if you do not provide full source,assets + some credentials for those api services.

Doesn't matter what I try building, If I build the example main.py in the README.md of pygbag I get the same issue. Is it possible something with my installed python packages could be causing the issue? I have 2 versions of python installed 3.11/3.12 maybe they're conflicting? (Pygbag only installed for 3.11) But I did try in a virtual environment and still had issues.

Code I attempted to build: main.txt

Turns out it was a chrome extension freaking out about localhost websites. Have disabled it and everything looks good