Skip to content
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

Blank Page and Rethinkdb Proxy #2

Open
xell66 opened this issue Jul 29, 2017 · 12 comments
Open

Blank Page and Rethinkdb Proxy #2

xell66 opened this issue Jul 29, 2017 · 12 comments

Comments

@xell66
Copy link

xell66 commented Jul 29, 2017

With your script I get a blank page at localhost:3200/auth/mock.
Do I need to change something?
I tried to look into the stf logfiles but i dont know how I can find it inside the docker container.
And isnt the rethinkdb-proxy-28015.service required?
Thank You for the nice skript anyways!

@rahul0698
Copy link
Collaborator

rahul0698 commented Jul 29, 2017

In the script file replace this line

IP_ADDRESS=$(ifconfig ${NETNAME}|grep "inet "|awk -F: '{print $2}'|awk '{print $1}')

with
IP_ADDRESS = (your ip_address)

and a line below it where it is written IP_ADDRESS=$1, replace it with also your IP address.

and rethinkdb-proxy-28015 is not needed. because we are using it rethinkdb in network host mode

If still, the error comes then please attach logs and also console of the browser.

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

I changed the IP part but the browser console still gives me still the error that
http://127.0.0.1:3200/static/app/build/entry/commons.entry.js" and
http://127.0.0.1:3200/static/app/build/entry/authmock.entry.js returning a 404
I am not sure how the get the logfiles.

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

I think I missed the nginx part, so I need create a nginx.conf file in /etc/nginx/ folder right?
But the nginx docker is not running even with the file in /etx/nging

@rahul0698
Copy link
Collaborator

Do you have nginx installed locally? I have not installed anything locally because everything is pulled from an image file and you do not need to put any nginx.conf file in etc/nginx. First, remove nginx that is installed locally.

you can take the screenshot of your terminal. Can you send the screenshot of your terminal running your script file, and also the screenshot of sudo docker ps -a command in your terminal.

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

I dont installed nginx locally.
image
image
The OS is running inside a VM.
Thanks for your help!

@rahul0698
Copy link
Collaborator

rahul0698 commented Jul 29, 2017 via email

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

Nginx
image

@rahul0698
Copy link
Collaborator

can you just remove the env.ok file that was created by the script and then stop all the containers by typing the command

sudo docker rm -f $(sudo docker ps -a -q)

after doing this run your script file. And then see what is the error coming.

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

Now all containers are running
image

But there is still the Blank page at http://localhost:3200/auth/mock/
image

@xell66
Copy link
Author

xell66 commented Jul 29, 2017

Ok, wrong port. Its 3100. Seem to work now! Thank you! Is it possible to add a second provider server to extent device capacity?

@Slavianin
Copy link

@xell66 Hi, I have same problem with commons.entry.js and authmock.entry.js , when I open http://127.0.0.1:3200/auth/mock/ I can see 404 for this files. How you can fix it ?

@xell66
Copy link
Author

xell66 commented Mar 3, 2019

Not sure but maybe try http://127.0.0.1:3100/auth/mock/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants