Problem Gitea Plugin

Hi
I install Jenkins and I have problem with Gitea connection.

After install jenkins, install default module I add gitea plugin.

  1. Create user in gitea, create token, assing to repo
  2. Set server in Jenkins
  3. Create project
  4. After click save

Started
[śr. mar 23 09:09:41 CET 2022] Starting organization scan…
[śr. mar 23 09:09:41 CET 2022] Updating actions…
ERROR: [śr. mar 23 09:09:41 CET 2022] Could not refresh actions for navigator org.jenkinsci.plugin.gitea.GiteaSCMNavigator@5eb4851b
org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 404/Not Found
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:865)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchUser(DefaultGiteaConnection.java:176)
at org.jenkinsci.plugin.gitea.GiteaSCMNavigator.retrieveActions(GiteaSCMNavigator.java:223)
at jenkins.scm.api.SCMNavigator.fetchActions(SCMNavigator.java:332)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:486)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:166)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:917)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
[śr. mar 23 09:09:41 CET 2022] Consulting Gitea Organization
ERROR: [śr. mar 23 09:09:41 CET 2022] Could not fetch sources from navigator org.jenkinsci.plugin.gitea.GiteaSCMNavigator@5eb4851b
[śr. mar 23 09:09:41 CET 2022] Finished organization scan. Scan took 0,18 sek
FATAL: Failed to recompute children of Export.DatabaseNoteTaker
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type org.jenkinsci.plugin.gitea.client.api.GiteaOrganization from Array value (token JsonToken.START_ARRAY)
at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 1]
at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1741)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1515)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1462)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeFromArray(BeanDeserializer.java:638)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:210)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:186)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:2051)
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1427)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:862)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOrganization(DefaultGiteaConnection.java:188)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOwner(DefaultGiteaConnection.java:160)
at org.jenkinsci.plugin.gitea.GiteaSCMNavigator.visitSources(GiteaSCMNavigator.java:155)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:535)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:166)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:917)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Finished: FAILURE

Any idea ??

That would be my first place to look. Confirm whatever URLs you gave Jenkins resolve to the right place. Then confirm on the gitea logs to see what url is being hit and returning a 404

Hi, in URL server I set IP address. Jenkins when I add server show me information about Gitea Version so I think connection is ok, also I can open gitea from jenkins server.