I have installed ownCloud on OpenMediaVault. Everything works for me, but when i want to access ownCloud from WAN (i asked a friend to connect by browser or ownCloud Windows Client) it's not possible. It shows "400 Bad Request" or "Connection timeout". however he (my friend) is able to connect Webmin and OMV GUI Panel. I tried to connect by various proxy sites and same errors showed (but OMV GUI and Webmin are accessible).
I had to change OMV port from 80 to 81 by "omv-firstaid", because after I configured it and had tried to access by address "https://my.localIP:80" i saw "It works... server is running but no /apache2 content available". I found solution to change port to 81 (some port colisions in system probably). That fixed a problem so OMV GUI and ownCloud works to my PC and my Android Smartphone, but only by LAN.
So i don't know how to let it access from Internet/WAN. On my router i set OpenMediaVault server IP to DMZ Zone, also was trying forwarding ports 80,81,8443 and nothing helped...
Cannot connect to ownCloud from Internet (public/remote access)
-
- OMV 1.0
- gelöst
- New2OMV
-
-
Logs from ownCloud admin panel:
CodeError PHP session_name(): session.name cannot be a numeric or empty '191148349197013992373524026681873899561' at /var/www/owncloud/lib/private/session/internal.php#20
CodeError PHP stat(): stat failed for /media/bbf751f4-3838-44d1-85e1-35a171931abb/filmy/ at /var/www/owncloud/lib/private/files/storage/local.php#91
Next clue which, i suppose, could cause my problem is i can login only by https, even if i turn off "force https" inownCloud admin panel. Also "https:" word in address bar is crossed out by red line and every time i log after cleaning browser cache is that "this connection is not trusted" - how is that possible when i installed ownCloud with self signed certificate? -
I don't use own cloud. But a self signed cert is always red unless you add it as trusted exception. Also the if the domain / ip don't match is gonna keep appearing as red
-
So how to make ownCloud able to access from Internet?
-
I think it has to do with the certificate name, you'll need to issue the certificate with your domain (can be a no-ip, dyndns or other free service i guess) doesn't have to be a TLD.
For example try and issue a certificate now with the public IP as name and put it in owncloud, see if you now get access from WAN -
I don't have DDNS set up on my router. The way i created certificate is described in this guide ownCloud 7 install with current plugin
Zitat5) Go to System/Certificates.Click on addThe most important field here is the Common Name field. The rest you can fill out however you want.The Common Name field should be filled in with how your home network is accessed remotely. If you have a static ip from you ISP that is what you should use. If you have dynamic ip you need to use your address from your ddns provider (e.g. xxx.dyndns.org). If you have bought a domain name use it in this field.Then save to create the self signed cert.
So, because i'am using static IP from my ISP, i set there my WAN IP address, no DDNS is there. How then should i issue my certificate with domain? I don't understand this in detail. -
Like this, don't use domain use the ip address
-
So i have exactly my WAN IP Adress (from ISP) in "Common Name".
Even if i add new certificate, and enter there OMV local IP and change in ownCloud plugin to use this certificate (with local IP), still cannot connect via WAN to ownCloud. So no difference if i use certificate with my WAN IP (ISP) or local IP (OMV), cant connect to ownCloud via Internet/WAN - i have checked it a moment ago. -
Try and disable own cloud in omv, then select the certificate with IP and then enable again the service
-
No difference, except:
I set OMV local IP to DMZ Zone in router, also forwarded ports 80 and 8443 for this (OMV) IP. Now when i'am trying to connect by proxy (to find if i can connect or not via Internet) and type:
https: //myWAN(isp).IP:8443 > i see "400 Bad Request"
https: //x.x.x.x:8443/owncloud > i see "404 Not Found"
https: //x.x.x.x:443 > i see blue screen (like to log in OMV WebGUI) but with no login and password gaps
https: //x.x.x.x:443/owncloud > "400 Bad Request"
Without placing OMV IP in DMZ Zone in router and then trying to connect ownCloud i see "connection timeout". So when i set router to let connection pass, i can see "400 Bad Request" or "404 Not Found" errors. What is going on? -
Can you send me a pm with the ip address with the port fwded to omv for own cloud
-
I sent you by Conversation (hope it's PM at this forum).
[edit]
Is there something about if i use OMV on VirtualBox, so not on separate machine but on my PC? May be there so conflict with port/ip /firewall or whatever? -
Problem solved, thank you subzero79
-
Hi,
could you tell how you resolved this issue?
I canot access my owncloud server and get this issue:
ERR_TUNNEL_CONNECTION_FAILEDThanks,
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!