Putting port in URL with colon notation makes login get stuck/fail #355

Closed
opened 2020-06-04 03:08:02 +00:00 by 6543 · 11 comments
Member

Created By: @overflyer

Description - describe the bug / feature / suggestion in brief :

Initial login gets stuck at "Login" button changing to gray "Processing" button presumably because I use the colon notation to specify port 3000 after my Gitea server's URL.

Expected behaviour - describe what should be the expected result :

Login to my Gitea instance is succcessful.

GitNex version : 2.4.1

Gitea version : 1.12.0+dev-60-g3f0cb8b33 built with GNU Make 4.2.1, go1.14.1

Android version : 9

Screenshots - if any:

Attached

Logs - if any :

Created By: @overflyer #### Description - describe the bug / feature / suggestion in brief : Initial login gets stuck at "Login" button changing to gray "Processing" button presumably because I use the colon notation to specify port 3000 after my Gitea server's URL. #### Expected behaviour - describe what should be the expected result : Login to my Gitea instance is succcessful. #### GitNex version : 2.4.1 #### Gitea version : 1.12.0+dev-60-g3f0cb8b33 built with GNU Make 4.2.1, go1.14.1 #### Android version : 9 #### Screenshots - if any: Attached #### Logs - if any :
6543 added the
🐛 Bug
Duplicate
labels 2020-06-04 03:08:02 +00:00
6543 closed this issue 2020-06-04 03:08:02 +00:00
Author
Member

Created By: @overflyer

To specify this further: I tried both with and without additional https:// in front of the URL.

Created By: @overflyer To specify this further: I tried both with and without additional https:// in front of the URL.
Owner

Do you by any change using self signed certificate?

Do you by any change using self signed certificate?
Author
Member

Do you use http on your inctance? @overflyer

Do you use http on your inctance? @overflyer
Author
Member

Created By: @overflyer

No HTTPS with Letsencrypt certificates. (So they are fully signed)

Created By: @overflyer No HTTPS with Letsencrypt certificates. (So they are fully signed)
Author
Member

Ok I havent tested a valid-cert + custom port ...

Ok I havent tested a valid-cert + custom port ...
Member

@overflyer

Are you able to check if this issue still persists when using the latest changes of Gitnex (since you are using version 2.4.1)? A fairly similar issue was fixed recently.

You can download a self-compiled APK here or compile it yourself.

@overflyer Are you able to check if this issue still persists when using the latest changes of Gitnex (since you are using version 2.4.1)? A fairly similar issue was fixed recently. You can download a self-compiled APK [here](https://we.tl/t-fiOedhgfex) or compile it yourself.
Author
Member

Created By: @overflyer

Holy shoot you guys are fast.

I chose HTTPS and put my URL in WITHOUT https://

<mygitea.instance.de>:3000

I entered the username and my password and clicked the Login button.

I had so trust an unkown certificate, confirm and boom I can see all my repos.

Thanks a lot guys!

Created By: @overflyer Holy shoot you guys are fast. I chose HTTPS and put my URL in WITHOUT https:// <mygitea.instance.de>:3000 I entered the username and my password and clicked the Login button. I had so trust an unkown certificate, confirm and boom I can see all my repos. Thanks a lot guys!
Member

@overflyer I'm glad that this worked out for you.

@overflyer I'm glad that this worked out for you.
Author
Member

and @anonTree1417 thanks for helping :)

@overflyer I think it has to do with hostname missmatch since letsencrypt certs should be valid. the error my go away If you host your gitea instance on port 443

and @anonTree1417 thanks for helping :) @overflyer I think it has to do with hostname missmatch since letsencrypt certs should be valid. the error my go away If you host your gitea instance on port 443
Author
Member

Similar/Dublicate to #357

I'll close it for now. However If you need more help @overflyer you can get in touch with us on Discord.

Similar/Dublicate to #357 I'll close it for now. However If you need more help @overflyer you can get in touch with us on Discord. * GitNex: https://discord.gg/FbSS4rf * Gitea: https://discord.gg/Gitea
Member

I think it has to do with hostname missmatch since letsencrypt certs should be valid. the error my go away If you host your gitea instance on port 443

No. Usally it takes some time after a certificate was signed to get recognized as valid.

> I think it has to do with hostname missmatch since letsencrypt certs should be valid. the error my go away If you host your gitea instance on port 443 No. Usally it takes some time after a certificate was signed to get recognized as valid.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#355
No description provided.