Closed serdar- closed 2 years ago
Hi Serdar,
Did you try to use the port 8843?
Another quick workaround is to change the docker-compose file and use:
ports:
- "8443:8443"
- "8080:8080"
Given that these ports are not already in use.
The last solution is to create a volume for your Opal service and make sure that the port numbers match the ones in your docker-compose:
Once the Opal container is created and running, go to Opal volume and under /conf
folder edit the file `opal-config.properties and update the ports as follows:
# Port number for HTTP(s) connections
# Default: 8080 (http), 8443 (https)
# Uncomment the following line(s) to set a different value (set to -1 to disable)
org.obiba.opal.http.port=8880
org.obiba.opal.https.port=8843
Make sure to restart the container:
cd <docker-compose-folder>
docker-compose restart opal
My suggestion is to use the quick solution and use the default ports (8443,8080) if those ports are free.
Best,
Dear @kazoompa, thanks for your quick response!
I tried your suggestions. Apparently there is a problem with port forwarding, at the moment port 8080
does work but 8443
does not.
Did you try the 8443 with https
?
Yes, 8443
works with https
! Thanks! I thought browser would automatically open the https
page but apparently I had to write it explicitly. Although I still wonder why the port forwarding fails...
I used the docker compose file provided in the documentation, which is as follows:
However, when I try to login after composing the image (using port
8880
because8443
does not work at all), I getAuthentication failed
error. The response from server is:{"code": 500,"status": "UnhandledException","arguments": ["NotAllowedException","No resource method found for GET, return 405 with Allow header"]}
When I check the logs I see the following:
First of all, do you have any clue on why port
8443
does not work at all? Could this be caused by the fact that I try to login using the port8880
?Many thanks in advance for your input!