Error: Could not connect to Anvil

Whenever I access the “Python versions” submenu of “Settings”, I get the
“Error: Could not connect to Anvil”

As a result (at least I assume…), the button “Build now” seems not to work.

And I need to rebuild the environment because a library needs to be updated.

Am I doing something wrong?

Thanks and BR

Please could you send us a screenshot of the error? I’m not sure where it is happening, so it’s hard to offer useful advice! As far as I can tell, the Custom Package installation system is currently working just fine.

Hello @daviesian
here’s the screenshot:


as soon as I click on “Python versions” I get the error.
I dismiss it and try to click “Build now” but nothing happens.

Thank for replying.
BR

Interesting. We’re not seeing that here, even from inside your account, so I suspect it is related to your network connection. Please can you try from another device and Internet connection and let us know whether that makes any difference? Thanks!

Hello @daviesian
trying from home pc with home connectivity did not raise the error.
So this is something I have to investigate on my company’s network side.
Can you share some clues in order to point my IT dept in the right direction? Ports/protocols to check?

Thank you for the support.

Hi @a.ercolani

Thanks for the update! That particular feature uses websockets to get live build updates, and so it is probably the websocket connection that is failing. That’s where I would start looking - the dev tools in your browser will also likely help you identify which connection is failing.