xpipe-io / xpipe

Your entire server infrastructure at your fingertips
https://xpipe.io
Apache License 2.0
3k stars 81 forks source link

Synchronization to gitea stopped working #343

Open manprinsen opened 5 days ago

manprinsen commented 5 days ago

Hi,

After upgrading to latest version of xpipe the Synchronization stopped working to my gitea repo. Before it worked using http and/or ssh url.

Anyone experiencing the same?

crschnick commented 5 days ago

From which version did you upgrade?

Is there any error message shown? Or does it just not sync and save anything?

manprinsen commented 5 days ago

` Unable to fetch from remote repository http://100.0.0.20:3002/lemling/xpipe-connections.git

Please make sure that:

There is not network issue on my lan. Also the repo works outside of xpipe.

manprinsen commented 5 days ago

From which version did you upgrade?

Is there any error message shown? Or does it just not sync and save anything?

Sorry i cannot remember which version :/ But i have another computer running xpipe (11.1) and all works :) Ill try reinstall the app, one moment

crschnick commented 5 days ago

The only thing that was changed were the URL rules with regards to a .git suffix and ending slash. Before it tried to add a .git suffix automaticallybut that broke some URLs so this is no longer done. Maybe you can edit the URL in the settings menu. There is also a test button there now.

crschnick commented 4 days ago

Ill try reinstall the app, one moment

Any updates on this?

manprinsen commented 4 days ago

Ill try reinstall the app, one moment

Any updates on this?

I tied on a fresh windows 11 vm. After installing 11.3; under Syncronisation I ticked the radio button, entered a git url using http, clicked on Test - which throws the error above.

But when I restarted the application it seem to have cloned the repo.

crschnick commented 4 days ago

The test button essentially runs git ls-remote <url>. Does that work for you in a terminal?

crschnick commented 3 days ago

So I tested with a gitea setup and didn't encounter any issues. Not sure why it happens for you

manprinsen commented 3 days ago

So I tested with a gitea setup and didn't encounter any issues. Not sure why it happens for you

It works for me also :) ┌──(tobiascarlbomTobiass-MacBook-Air)-[~] └─$ git ls-remote http://192.168.0.20:3002/lemling/xpipe-connections.git Username for 'http://192.168.0.20:3002': lemling Password for 'http://lemling@192.168.0.20:3002': 607faecbf074cb5462a85c189f82ae052f2e7621 HEAD 607faecbf074cb5462a85c189f82ae052f2e7621 refs/heads/main

crschnick commented 3 days ago

You said that the test button in xpipe fails for you with this repo. Is that still the case on your Windows VM? If so, can you post the full error message? There should be the original error printed below the common troubleshooting steps in the error handler dialog