Open GoogleCodeExporter opened 9 years ago
Can you try server url http://webdav.synchost.us/public_html/ ?
Original comment by dbaras...@ganttproject.biz
on 9 Jun 2014 at 9:20
Hi,
Thanks for the quickly reply. I tried as you suggested by I still the same
error below:
io.milton.httpclient.MethodNotAllowedException: http error: 405 -
http://webdav.synchost.us/public_html/ http error: 405 -
http://webdav.synchost.us/public_html/
I'm using the latest version of GanttProject.
Regards,
John
Original comment by avilesjo...@gmail.com
on 9 Jun 2014 at 9:53
Does the webdav settings in Ganttproject by default connects to port 2077? That
is the port used by cpanel in sharing the webdav disk.
Original comment by avilesjo...@gmail.com
on 9 Jun 2014 at 9:57
Nope, GanttProject connects to standard HTTP ports 80 and 443. If cpanel uses
port 2077 you may try adding it to the URL:
http://webdav.synchost.us:2077/public_html/
Original comment by dbaras...@ganttproject.biz
on 9 Jun 2014 at 10:05
I have tried the URL you just posted already and I got this error:
I/O problems when accessing webdav.synchost.us The target server failed to
respond.
Do you have another way in specifying the port used by cpanel?
Regards,
John
Original comment by avilesjo...@gmail.com
on 9 Jun 2014 at 11:05
Hi,
Any update on this? Hope you can help connecting to my webdav server in cpanel.
Regards,
John
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 2:15
Probably something is wrong in webdav/httpclient libraries which we use. I can
establish connection to webdav.synchost.us:2077 with the help of local nginx
proxy, but when I configure libs to talk directly to webdav.synchost.us:2077 it
doesn't work.
We'll investigate this issue. Meanwhile, you can try running nginx locally and
forward calls from local port 80 to webdav.synchost.us:2077. This configuration
snippet worked for me:
server {
server_name test.webdav; # must be configured in the local name resolver, e.g. /etc/hosts
location / {
proxy_pass http://webdav.synchost.us:2077;
proxy_read_timeout 250;
}
}
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 2:55
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 2:56
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 2:56
Thank you for the quick response and for the workaround. I'm using a windows
machine, can I still use nginx to redirect port 80 to 2077?
I also hope you can implement a permanent fix for this problem. Thank you for
the support.
John
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 5:28
As to the best of my knowledge, nginx works on windows, but you may start with
more "native" utilities, e.g. netsh
http://technet.microsoft.com/en-us/library/cc731068(v=ws.10).aspx
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 9:05
Thanks for the quick reply. I've been trying nginx and netsh in my laptop but
to no avail. Just to be sure the machine where you run the ganttproject
application is different from the machine where the nginx is running?
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 10:26
It doesn't matter. I run them on the same laptop, but it will not change if you
run nginx proxy somewhere else.
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 10:44
Hi Dmitry,
Thanks for the quick reply. I'm able to forward port 80 now to port 2077 on our
server. I have successfully tested it on the browser where I used the URL
192.168.15.2:80 and it forwards me to webdav.synchost.us:2077. But when using
the Ganttproject application I got the following error below:
Something went wrong
I/O problems when accessing test Software caused connection abort: recv failed
Info entered listed below:
URL: http://192.168.15.2:80
File path on web server: /
Can you please help me see what went wrong?
Regards,
John
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 10:52
No idea. Internets says that "This usually means that there was a network
error, such as a TCP timeout".
http://stackoverflow.com/questions/135919/java-net-socketexception-software-caus
ed-connection-abort-recv-failed
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 10:58
"I/O problems when accessing test"
GanttProject writes hostname in this message. Are you sure that you're using
192.168.15.2? Where "test" came from?
You don't need to specify :80 port explicitly, btw.
Original comment by dbaras...@ganttproject.biz
on 10 Jun 2014 at 11:15
Hi I'm sure I'm using 192.168.15.2 for the "test" URL. Are you using the latest
version of GanttProject?
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 11:28
I will try this again later using a linux machine and see what happens.
Original comment by avilesjo...@gmail.com
on 10 Jun 2014 at 11:50
Can you try to access my webdisk just to check if the problem is within my
connection here? I will give you the credentials to test it if it is ok with
you.
Regards,
John
Original comment by avilesjo...@gmail.com
on 11 Jun 2014 at 5:26
It is okay, but not this week. I am almost offline next three days. Will be
back on Sunday/Monday.
Original comment by dbaras...@ganttproject.biz
on 11 Jun 2014 at 8:40
How about now? If it is possible. If not then just on Sunday/Monday.
Original comment by avilesjo...@gmail.com
on 11 Jun 2014 at 8:45
Back from vacations. If you give me access credentials, I'll try to debug this
issue.
Original comment by dbaras...@ganttproject.biz
on 16 Jul 2014 at 9:35
Original issue reported on code.google.com by
avilesjo...@gmail.com
on 9 Jun 2014 at 9:18