Azure setup with access control

I have…

  • [ ] Checked the logs and have provided uploaded a log file and provided a link because I found something suspicious there.

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ X ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

When attempting to limit access to internal ip’s in azure the site fails

Expected behavior

We can limit access to internal ip’s only

Minimal reproduction of the problem

See notes below. If you need more information let me know.


  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ X ] Self hosted with other version (azure)
  • [ ] Cloud version

Version: [VERSION]


  • [ X ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge


Hi Sebastian,

I have squidex running in an Azure web app using the Squidex 3.0.0 Docker Image. I added an access restriction rule in the networking setting for the web app to limit access to our internal IP. Squidex works as expected in Azure, but when I enable this rule I get this error when trying to access Squidex “Failed to load apps. Please reload.”

The browser console displays this error.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ERROR Error: Uncaught (in promise): ErrorDto({“statusCode”:500,“message”:“Failed to load apps. Please reload.“,”details”:[],“displayMessage”:“Failed to load apps. Please reload.“})
at I (shims.js?789d84cec682b014f0b4:2)
at I (shims.js?789d84cec682b014f0b4:2)
at shims.js?789d84cec682b014f0b4:2
at r.invokeTask (shims.js?789d84cec682b014f0b4:2)
at Object.onInvokeTask (app.js?789d84cec682b014f0b4:2)
at r.invokeTask (shims.js?789d84cec682b014f0b4:2)
at n.runTask (shims.js?789d84cec682b014f0b4:2)
at m (shims.js?789d84cec682b014f0b4:2)
at u.invokeTask [as invoke] (shims.js?789d84cec682b014f0b4:2)
at i (shims.js?789d84cec682b014f0b4:2)

I also see an exception in the logs for “System.InvalidOperationException”. Do you have any insight into this, would something external be trying to make a request to Squidex outside my IP?

I can PM you the logs if that would help.


Squidex makes an request to itself, that might be the problem, but not sure.

That was our problem. Thanks!