I am following the tutorial and have tried both standalone and the regular dgraph and both cases I get an error with network access.
I can access the Ratel website, but I can’t do anything.
It says connected, but when you hover over the red it says “network access” and I can’t get through step 3 of the tutorial where you load a schema.
I tried the standalone initially, then switch to the docker common and ran all three terminal sessions.
I changed the dgraph alpha url in the tutorial to the remote host on my local lan.
If I go to the url directly, I get this, so I know it is listening and I can access it.
Dgraph browser is available for running separately using the dgraph-ratel binary
I most likely will end up using slash, but I wanted to setup a local instance for dev to avoid running out of traffic as 1Mb isn’t much for any form of testing.
If I just go to :6080 like suggested by Chewy, I get.
404 page not found
I even did an SSH port forward for (8000, 8080, 6080) so dgraph appeared to be on my local machine to see if it was a bug in the tour in using custom hosts, but I didn’t think so because of this in Ratel.
I can see Ratal launch, but it cannot connect locally either.
As for logs, I don’t see a lot, just seems like normal noise outside of no schema exists (because I can’t connect to add one).
Once it is launched, the logs don’t really change or even acknowledge connections.
This is frustrating, because the tour looks like it would answer some of my questions, but I have been banging my head against this for over a month just trying to do atomic transactions which is stupidly simple in most dbs.
Please, share details of how you have started the cluster. All steps.
But, as you are able to see the state and health. Make no sense you being blocked. Are you using HTTPS on the address instead of HTTP? Share the logs on the Developer tools.
I also did the Docker common version running all three components individually, same end result.
No, if I was I wouldn’t get any response at all.
I don’t know how to do this, I tried to add the logs I see in the console to my previous longer comment but I got a 429 error when they were in the comment, once I removed them it allowed me to comment.
Your docker instance is a “native” installation or is it a Virtual Machine approach?
Why do you have two different IPs?
Is the docker instance remotely?
If so, have you checked the iptables, firewall, and so on from the host of that machine?
If you wish, you can forward the 8080 port via ssh e.g:
Just curious, why you’re not using localhost on your docker instance? In general native installation of the docker runs automatically on localhost. Only VMs runs different IPs(LAN on bridge or a second ethernet card).
Don’t bother with this. Only your public IP matters. If someone tries to attack your home/office they already know your LAN details. And they can just run a “scan” to find devices. If you care about this, you should reboot your modem every 6 hours. So your ISP gives you a new IP.
Again, share the dev tools logs. There might show up what is happening.
There you go. Chrome is blocking your connection. See the last error. As Dgraph runs on HTTPS your docker should be behind HTTPS too. Let me check a solution for this.
Same thing in Chrome (I use Brave), but I have the same issue with Ratel not being able to connect as I showed in my screenshots above. I tried turning shields off in Brave and made no difference.
Oddly all my images disappeared in my above replies.