Closed blemke1971 closed 3 years ago
https://github.com/Erudika/scoold/issues/180#issuecomment-652485461 You have to set para.endpoint in scoold-application.conf. Docker Networking is what you've to understand, from what I gathered from your problem.
@blemke1971 check you docker container networking and specifically the exact IP address of your Para container.
I had have hardcoded the para container and scoold container to a static IP within the docker-compose. I can verify that the para endpoint is operational as I have written a .NET client to connect to it to pull some basic data. But the scoold front end just refuses to connect with no good error messages. Is there no flags or additional logging that I can turn on to try to figure out why it cannot connect?
Ok, can you share your docker-compose file or do you use the default one? There's no need to check the logs as the issue is obvious - the Scoold container cannot communicate with the Para container or the app key and secret are incorrect for your Scoold app. You have created a separate app for Scoold rather than using app:para
, correct?
Here is the compose file
`version: '3.2'
services: para: image: erudikaltd/para networks: app_net: ipv4_address: 172.16.238.10 ports:
type: bind source: ./para-application.conf target: /para/application.conf restart: always env_file: para.env
scoold: depends_on:
volumes: paraData: paraLib:
networks: app_net: ipam: driver: default config:
Ok, I'm assuming you have para.endpoint = "http://172.16.238.10:8080"
in your ./scoold-application.conf
file? Have you tried setting para.endpoint = "http://para:8080"
?
Yeah I tried the IP direct and that didnt seem to like things. I have not tried the para address yet.
I was able to run with scoold image, I dont know if there is a problem with scoold-pro but I am sharing all my files. GistLink. [INFO ] Connected to Para backend. Please note that you have to create app through para-cli change the secret key in scoold-application.conf and then run again, this is no reason for no connection to backend (AFAIK).
@blemke1971 Just use para.endpoint = "http://para:8080"
in scoold-application.conf
.
I'm using the same docker-compose YAML file with this configuration for Scoold Pro:
para.env = "development"
para.app_name = "Scoold"
para.endpoint = "http://para:8080"
para.access_key = "app:scoold"
para.secret_key = "secret...."
I tore down the environment and cleared out my local mount points and reconfigured everything from the ground up with a static network in docker and it seems to be working now. Thanks for your time
I am using Scoold Pro and attempting to setup a server in our internal network. I am using docker to spin up the para and scoold images. I have the access and secret key set in the config however my scoold application never finds the para backend. It simply continues to post the message "No connection to Para backend. Retrying connection in". Is there any configuration options to enable to set that can get me some sort of more detailed error about why its not finding the backend?