New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of required "Site address" settings #698

rubendel opened this Issue Jan 29, 2018 · 1 comment


None yet
1 participant

rubendel commented Jan 29, 2018

This setting is a cause of much confusion. It would make deployment a lot easier if this settings was not required.

Webclients should find another way to determine the server's API address (for example detect the "/apps/" part of the URL).

To test:


This comment has been minimized.


rubendel commented Nov 23, 2018

This setting is also used for the base address for links that are put into emails, so for this reason alone the setting should stay.

I think most of the problems would be fixed by making embed both BIMsurfer and the BIMserverJavaScript API during the build. Also this would make the webmodules cleaner (no more issues about BIMsurfer not working from people clicking on the BIMsurfer webmodule...)

Also used in:

  • When creating a BCF (ClashDetection, IfcValidator), reference links are built up using the SiteAddress (they are however invalid, but in the future this would be required non-the-less)
  • When sending notifications, the SiteAddress is used as the base address for (returning) API calls
  • OAuth uses it to determine resourceUrl etc...
  • A few more places, for example the internal BIMserver client uses it to determine checkin/download URL etc...

So in short, the setting itself should not go, but for all those people getting the " is loading" message (forever), we could make it better by creating an embedded build so that it always works. However this would fix the js dependencies of, but the next thing it will fail on are the API calls (where to send them to?) Maybe this could all be fixed by giving better error messages, for example: could not connect to the BIMserver at http://localhost:8080, is your SiteAddress configured correctly?

@rubendel rubendel added this to the Next major release milestone Nov 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment