SphereCommunity
docker & sphereserver - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: docker & sphereserver (/Thread-docker-sphereserver)



docker & sphereserver - naklma - 02-13-2020 06:40 AM

Hello,

I have a sphereserver in a docker container ..

if I want to log in, the login attempt will show up in the log, but my login freezes ..

I have redirected in iptables.

[Image: r1gaxx]
http://prntscr.com/r1gaxx

[Image: r1gc2f]
http://prntscr.com/r1gc2f

Anyone have awareness, how does communication client <-> server?

I do not know how communication works, otherwise I would modify the iptables or the network adapter container?

After timeout client

[Image: r1gddc]
http://prntscr.com/r1gddc

Thank you

if it runs on a VPS server, everything works fine.

that is, it will be something with the default gateway or forward or ... inside the container


RE: docker & sphereserver - golfin - 02-13-2020 02:22 PM

En: You need to test it without any auxiliary applications. Log without a phoenix and see if you can log in.
It would take a statement from the sphere console. I think you have bad encoding. But I'm not sure.

Cz: Je potřeba to testnout bez pomocných aplikací. Loguj bez phoenixu a uvidíš, zda se Ti podaří přihlásit.
Chtělo by to výpis z konzole sphere. Domnívám se, že máš špatnou encripci. Ale nejsem si jistý.


RE: docker & sphereserver - Coruja - 02-13-2020 02:56 PM

Docker is a container (virtualized OS), so probably its affected in the same way as when try to run sphere behind a router/firewall, so maybe a possible fix for this is enable RestAPIPublicIP setting on sphere.ini

Clients using wrong encryption can also get stuck on login screen, so you can also check UseCrypt / UseNoCrypt settings and make sure that sphereCrypt.ini file is updated


RE: docker & sphereserver - naklma - 02-13-2020 04:50 PM

(02-13-2020 02:22 PM)golfin Wrote:  En: You need to test it without any auxiliary applications. Log without a phoenix and see if you can log in.
It would take a statement from the sphere console. I think you have bad encoding. But I'm not sure.

Cz: Je potřeba to testnout bez pomocných aplikací. Loguj bez phoenixu a uvidíš, zda se Ti podaří přihlásit.
Chtělo by to výpis z konzole sphere. Domnívám se, že máš špatnou encripci. Ale nejsem si jistý.

Díky, bylo to nakonec kvůli RestAPIPublicIP.

(02-13-2020 02:56 PM)Coruja Wrote:  Docker is a container (virtualized OS), so probably its affected in the same way as when try to run sphere behind a router/firewall, so maybe a possible fix for this is enable RestAPIPublicIP setting on sphere.ini

Clients using wrong encryption can also get stuck on login screen, so you can also check UseCrypt / UseNoCrypt settings and make sure that sphereCrypt.ini file is updated

Thank you very much !

Problem solved RestAPIPublicIP.

I am surprised that external services are used and it is not possible to specify monitoring IP manual.

solved