pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
295 stars 34 forks source link

Error Occured: Failed to call api method #165

Closed AncientEntity closed 2 months ago

AncientEntity commented 2 months ago

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.

pmp-p commented 2 months ago

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.

AncientEntity commented 2 months ago

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

AncientEntity commented 2 months ago

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