etesync / etesync-dav

This is a CalDAV and CardDAV adapter for EteSync
https://www.etesync.com
GNU General Public License v3.0
285 stars 45 forks source link

http://localhost:37358/ lead to error: "The connection to the server was reset while the page was loading" #213

Open autoca opened 3 years ago

autoca commented 3 years ago

All of a sudden the error "The connection to the server was reset while the page was loading" is displayed, when I try to connect to http://localhost:37358/ This is the case also with older etesync-dav versions as well as the newest. Any ideas? Many thanks in advance.

Cillianvh commented 2 years ago

I am having the same issue on a new machine with a fresh install of windows. I got to the UI management page once and had a warning about ssl I clicked it which took me out of the http://localhost:37358/ page and although i can run the .exe I get this warning when i try to get my dav passsword, so i cant sync anything. Is there another way to get the dav password or a work around ?

catwithbanana commented 2 years ago

I am having the exact same issue as @Cillianvh. For the past week my calendar app has had intermittent issues syncing, so today I logged into the management UI. I saw the SSL warning, clicked it, and now even after several restarts I can't access the management at all (and sync is no longer working).

My web browser says "The Connection was Reset" when I try to access EteSync. My Calendar app reports these errors: ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The response ended prematurely.

@tasn should we open a new issue for better visibility?

edit: I managed to solve my issue...sort of. I used the command line to re-issue the certificate as explained in the help docs, and then visiting the HTTPS site started working again.

My Calendar program is still reporting the error above intermittently, but it syncs at least once every time I boot it so I'll keep an eye on it and see what else I can learn.

Cillianvh commented 2 years ago

@catwithbanana I cant seem to get the command line trick to work what commands where you using both i tried from the help doc didn't work.

from my poking around etesync-dav has enabled SSL, is there a way to turn this off a fresh install does nothing. I don't know much about self signed certificates and would like to use the dav with out it. i cant see anything in the help doc to revert to default settings.

catwithbanana commented 2 years ago

@catwithbanana I cant seem to get the command line trick to work what commands where you using both i tried from the help doc didn't work.

from my poking around etesync-dav has enabled SSL, is there a way to turn this off a fresh install does nothing. I don't know much about self signed certificates and would like to use the dav with out it. i cant see anything in the help doc to revert to default settings.

I followed the instructions here to run the etesync-dav certgen command. I'll be the first to admit I don't know much about programming or SSL so I don't know why that worked, or whether that even worked at all, or if it was a coincidence. All I know is that after I ran that command my web interface started to work and my calendar client syncs again.

That being said, it would be best if @tasn or another dev could chime in here. I've been happy with Ete-Sync's functionality so far, but the customer support is really lacking for a paid product.

sawft99 commented 2 years ago

What OS are the issues on?

Cillianvh commented 2 years ago

Windows 10

-------- Original Message -------- On 10 Apr 2022, 19:14, sawft99 wrote:

What OS are the issues on?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

sawft99 commented 2 years ago

I am having the same issue on a new machine with a fresh install of windows. I got to the UI management page once and had a warning about ssl I clicked it which took me out of the http://localhost:37358/ page and although i can run the .exe I get this warning when i try to get my dav passsword, so i cant sync anything. Is there another way to get the dav password or a work around ?

If you got as far as making one then it should be in your appdata if you're on Windows.

tasn commented 2 years ago

That being said, it would be best if @tasn or another dev could chime in here. I've been happy with Ete-Sync's functionality so far, but the customer support is really lacking for a paid product.

There's a limit to how much we can investigate random issues on random machines especially since it's 90% of the time user error. We will definitely immediately support and fix any billing issues, but technical issues are sometimes harder to chase.

EteSync (the "business") is really just a hosting provider for EteSync the open-source project. Not a service provider for technical support (that would cost several orders of magnitude more). I really wish we could help everyone, but we don't have infinite hours a day. Though luckily, the community is super helpful and knowledgeable, so ask here, ask in etesync.com/community-chat/ and I'm sure we'll figure things out.

Cillianvh commented 2 years ago

If you got as far as making one then it should be in your appdata if you're on Windows.

I have checked by appdata folder and can't find any directory referring to etesync. I have tried running the dav again and although i can see it running it doesn't open anything and when I go to http://localhost:37358/ I am presented with he same error as above. Is the only current fix to reinstall windows ? I really hope not

sawft99 commented 2 years ago

Are you only looking in the roaming folder? Should be in C:\Users\\AppData\Local\etesync\etesync-dav unless you're running something older than Windows 7?

If it is not making an appdata folder then there would be something weird or obscure under the hood and it could be any number of things. If you haven't tried redownloading and running the newest version of dav I would do that, past that like I said it could be any number of things.

Cillianvh commented 2 years ago

Are you only looking in the roaming folder?

I was, checked local, and I have found a fix!

If your browser can't open local host because of the ssl miss click I had, in local appdata I noticed a certificates file which once deleted allow me to open http://localhost:37358/ .

Thank you, have been able to add my collections to my client !

sawft99 commented 2 years ago

Awesome. Another one closed.

autoca commented 2 years ago

Are you only looking in the roaming folder?

I was, checked local, and I have found a fix!

If your browser can't open local host because of the ssl miss click I had, in local appdata I noticed a certificates file which once deleted allow me to open http://localhost:37358/ .

Thank you, have been able to add my collections to my client !

Thank you! Deleting that cert did it for me. After almost one year, finally, I can use etesync on my Windows Desktop again. :-) Thanks again!