Hi.
Have been working on a project for over 3 months now, with regular Git commits.
Today it started throwing error: undefined suddenly.
Tried removing the project and cloning it again, but it won’t clone and show the same message.
When tried running with Logging, it collected below log:
[2022-05-17 17:37:30.607] START projectsDataProvider
[2022-05-17 17:37:35.911] online version: 4.9.1
[2022-05-17 17:37:47.505] gitUrl=https://gitlab.com/xxx/xxx.git
[2022-05-17 17:37:47.507] clone repo
[2022-05-17 17:37:47.509] START getCredentials...tries=3
[2022-05-17 17:37:47.992] Trying to get credentials for https://gitlab.com/xxx/xxx.git using
[2022-05-17 17:37:47.992] tries: 3
[2022-05-17 17:37:47.992] gitProviderName=gitlab
[2022-05-17 17:37:47.992] found access token - use it: xxxxxxxxxxxxxxxxxxxxxx
[2022-05-17 17:37:47.992] gitlab login...
[2022-05-17 17:37:48.346] Trying to get credentials for https://gitlab.com/xxx/xxx.git using
[2022-05-17 17:37:48.346] tries: 2
[2022-05-17 17:37:48.346] gitProviderName=gitlab
[2022-05-17 17:37:48.346] found access token - use it: xxxxxxxxxxxxxxxxxxxxxxxx
[2022-05-17 17:37:48.346] gitlab login...
[2022-05-17 17:37:48.668] Trying to get credentials for https://gitlab.com/xxx/xxx.git using
[2022-05-17 17:37:48.669] tries: 1
[2022-05-17 17:37:48.669] gitProviderName=gitlab
[2022-05-17 17:37:48.669] found access token - use it: xxxxxxxxxxxxxxxxxxxxx
[2022-05-17 17:37:48.669] gitlab login...
[2022-05-17 17:37:49.002] Trying to get credentials for https://gitlab.com/xxx/xxx.git using
[2022-05-17 17:37:49.002] tries: 0
[2022-05-17 17:37:49.002] gitProviderName=gitlab
[2022-05-17 17:37:49.419] Invalid response 400
[2022-05-17 17:37:52.656] GOT appWindow close...
Please help. Have also tried removing Gitlab from settings & removing the Wappler app from Gitlab itself, but no luck.
Did that as well.
Removed the app from Gitlab. Then enabled the option in Wappler Global settings.
It redirected to the Gitlab URL, asked for permission.
Redirected to Wappler after approval, but then gave the same error when trying to clone the repository.
I also have same problem with Git Manager, it suddenly started throwing this error: error: undefined. Not sure what is causing it as there has been no change on the project set up in Gitlab
Do you have any targets defined for your project? You should have at least one target like Development.
I just tested a gitlab project of my own and was able to fully authorize it in Wappler as well push and pull to it as much as I want without any errors.
I have other projects using Gitlab as well. Some are working, some are throwing the same error.
I don’t think this has anything to do with the project configuration or anything on my end.
Becuase it just stopped working for @webmaster as well, out of the blue - same as me.
Something is broken either on Wappler’s end or the Gitlab integration or on Gitlab itself.
Gitlab works fine on SourceTree - so have been using that - but I prefer Wappler’s Git panel for regular use.
Also, this is now not allowing me to switch projects. When I move from a working project to this one, I just get the undefined error.
I have to close Wappler window and reopen to actually see the changed project.
@George Still awaiting a resolution on this. Making it really difficult to work.
Even if my credentials are not working… how do I reset them in Wappler?
I am not seeing any issue with working on the same repository in SourceTree.
I already shared the logs in the original post.
But here is a more detailed one attached.
It shows the sequence of steps as below:
Open project and got to Git
Get undefined error after a few seconds.
Go to settings, disable Gitlab and apply & save.
Open settings again, enable Gitlab, allow Wappler in browser.
Return to Wappler, apply & save settings.
Go to Git panel and hit refresh.
Get undefined error again.
I would like to know if you can figure out the issue from the logs, before I do a clean install - because that should be a last resort when you can’t figure out whats wrong.
Global settings.
How to use with credentials - no idea. Have always just used the Global option which does oauth.
Its weird that two different system with no connection - both have the same issue.
On checking further, I see that this problem is on repositories which have been shared by clients.
In my own repo, it works fine - I have two such repos from two different clients.
It most definitely looks like an issue from Wappler's end.