Issue with docker of compute.rhino.appserver Online

Hello,

I’m working with compute.rhino.appserver since few month, this is great !

I’m working with it both local & and deployed on heroku.

I want to deploy my own architecture so I builded a docker with the dockerfile.

I do not succeed to make it work from the dockerfile …
The error I have is :

"TypeError: Only absolute URLs are supported"

This is happening when compute server is calling for definition on appserver,
And the url is like this : definitionPath : http://myipAddress:3003/definition/b25a0f8457e1030bf3069501f2f21974

So I tried it :

  • With redirection DNS
  • without redirection
  • on different port on the machine
  • the firewall are correctly configured to work between the rhinoCompute server and the appserver

This is the same code working on heroku … and not working with a docker on a server …

Would you have an idea from where I have to look now ? I’m out of creativity to debug that …

Thank’s a lot

Okay I found the solution :

In my docker-compose file I defined the env variables with double quotes like this :

environment:
- RHINO_COMPUTE_URL=“http://myrhinocomputeURL

And it should’n have double quotes but no quotes at all

Sorry for the noise

It work’s well

1 Like