Internal gitea error on push

Hi,
I use gitea 1.10.0 on a raspberry. (my problem was the same with 1.9.6, i hoped that updating would solve it, but no)
With the web ui, creating / updating repos or tickets works fine,
cloning a repo with ssh address works fine to,

but git push don’t, with message :
Énumération des objets: 4, fait.
Décompte des objets: 100% (4/4), fait.
Compression par delta en utilisant jusqu'à 8 fils d'exécution
Compression des objets: 100% (2/2), fait.
Écriture des objets: 100% (3/3), 278 octets | 278.00 Kio/s, fait.
Total 3 (delta 1), réutilisés 1 (delta 0)
Gitea: Internal error
UpdatePublicKeyInRepo: Failed to update public key: dial tcp 192.168.0.3:3306: connect: network is unreachable
remote: Gitea: Internal Server Error
remote: dial tcp 192.168.0.3:3306: connect: network is unreachable

the ip address 192.168.0.3:3306 is correct to connect to the database, and as far as creating tickets or repos works, i don’t think the problem is really a network one.

My thought are my problem may be related to the UpdatePublicKeyInRepo message. I did not see a column in the database refering to a public key, but i don’t understand why the connection between gitea and the database could work when used by the ui and not when used by a push in ssh…

Thanks for your help…

tried to connect from the raspberry where gitea is to the database server with mysql -h 192.168.0.3 -u {gitea user} -p : it works.
My problem seems really not to be related to network but to the gitea internal eror.

how can i have more logs ? i just have a gitea.log and it’s not very verbose

It seems that /var/log/messages reports a problem with the network. But i still don’t understand why it works when gitea is creating a ticket and not when i push a commit.
when push crashes, /var/log/messages gets :

 Nov 17 15:14:50 git kernel: [  132.274282] ERROR::dwc_otg_hcd_urb_enqueue:491: Not connected
Nov 17 15:14:50 git kernel: [  132.274282] 
Nov 17 15:14:50 git kernel: [  132.284074] ERROR::dwc_otg_hcd_urb_enqueue:491: Not connected
Nov 17 15:14:50 git kernel: [  132.284074] 
Nov 17 15:14:50 git kernel: [  132.293840] ERROR::dwc_otg_hcd_urb_enqueue:491: Not connected
Nov 17 15:14:50 git kernel: [  132.293840] 
Nov 17 15:14:50 git kernel: [  132.304071] NYET/NAK/ACK/other in non-error case, 0x00000002
Nov 17 15:14:50 git kernel: [  132.304134] NYET/NAK/ACK/other in non-error case, 0x00000002
Nov 17 15:14:50 git kernel: [  132.304175] NYET/NAK/ACK/other in non-error case, 0x00000002
Nov 17 15:14:50 git kernel: [  132.304563] usb 1-1: USB disconnect, device number 6
Nov 17 15:14:50 git kernel: [  132.304587] usb 1-1.1: USB disconnect, device number 7
Nov 17 15:14:50 git kernel: [  132.305007] smsc95xx 1-1.1:1.0 enxb827eb25d6da: unregister 'smsc95xx' usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet
Nov 17 15:14:50 git kernel: [  132.305091] smsc95xx 1-1.1:1.0 enxb827eb25d6da: hardware isn't capable of remote wakeup
Nov 17 15:14:50 git kernel: [  132.551335] Indeed it is in host mode hprt0 = 00021501
Nov 17 15:14:51 git kernel: [  132.961184] usb 1-1: new high-speed USB device number 8 using dwc_otg
Nov 17 15:14:51 git kernel: [  132.961437] Indeed it is in host mode hprt0 = 00001101
Nov 17 15:14:51 git kernel: [  133.321692] usb 1-1: New USB device found, idVendor=0424, idProduct=9512, bcdDevice= 2.00
Nov 17 15:14:51 git kernel: [  133.321721] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Nov 17 15:14:51 git kernel: [  133.326356] hub 1-1:1.0: USB hub found
Nov 17 15:14:51 git kernel: [  133.326555] hub 1-1:1.0: 3 ports detected
Nov 17 15:14:51 git kernel: [  133.661121] usb 1-1.1: new high-speed USB device number 9 using dwc_otg
Nov 17 15:14:51 git kernel: [  133.791639] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
Nov 17 15:14:51 git kernel: [  133.791666] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Nov 17 15:14:51 git kernel: [  133.814735] smsc95xx v1.0.6
Nov 17 15:14:51 git kernel: [  133.933281] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:25:d6:da
Nov 17 15:14:51 git mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1"
Nov 17 15:14:52 git mtp-probe: bus: 1, device: 9 was not an MTP device
Nov 17 15:14:52 git kernel: [  134.311864] smsc95xx 1-1.1:1.0 enxb827eb25d6da: renamed from eth0
Nov 17 15:14:53 git mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1"
Nov 17 15:14:53 git mtp-probe: bus: 1, device: 9 was not an MTP device
Nov 17 15:14:53 git kernel: [  135.744667] smsc95xx 1-1.1:1.0 enxb827eb25d6da: hardware isn't capable of remote wakeup
Nov 17 15:14:53 git kernel: [  135.745861] IPv6: ADDRCONF(NETDEV_UP): enxb827eb25d6da: link is not ready
Nov 17 15:14:55 git kernel: [  137.356797] smsc95xx 1-1.1:1.0 enxb827eb25d6da: link up, 100Mbps, full-duplex, lpa 0xCDE1
Nov 17 15:14:55 git kernel: [  137.360746] IPv6: ADDRCONF(NETDEV_CHANGE): enxb827eb25d6da: link becomes ready

If anybody has a clue…

Tired of searching.
I changed the piand it seems to work .Still no idea why network hung only on pishes…

I’ll close this