Overview
If you have an On-Premises vault and you are using a firewall, you can face some limitations when accessing your vault from M-Files Hubshare.
This article will explain what issues you can encounter and how to manage them.
You can face some situations where Hubshare is not able to access a file you are trying to download or preview.
- Previewing files failure, you will get this message:
And if you open your browser console, you should see a WebViewer error message mentioning "No such file or directory)
- Downloading a file fails:
You can face the scenario where the downloaded file is triggered in your browser, but its size will remain 0 kb.
- Browsing through your M-Files widgets throws an error:
Here is a type of error you can get if your firewall is restricting Hubshare API calls to your vault
Solution
The best way to confirm if this is related to your firewall is to try to disable it temporarily for testing purposes, you can quickly see if the firewall is in cause.
Here are some examples of what issues a firewall can cause in Hubshare.
- The firewall has HTTP compression enabled
This will cause the issue where you are not able to preview or download fails, because your firewall is compressing the file Hubshare is trying to access, and we do not manage this extension (most of the time gzip)
- Firewall is modifying our encoded API calls
Hubshare sends API queries with encoded characters (example: / character is %2F) and this can cause issues when browsing around your M-Files widget. Make sure your firewall is not altering those calls.
Anyway, if you run tests without the firewall being activated and everything runs fine, you are confirming that the limitations you encounter on M-Files Hubshare are caused by it.
