bg443/JetBird
11
72
Fork
You've already forked JetBird
6

[Bug]: Connect Button Unresponsive After Entering Server Management URL — Fire TV Stick 4K Max #78

Closed
opened 2025年06月18日 02:22:57 +02:00 by BashBandit · 12 comments

Please confirm that:

  • I have searched the issues and didn't find my bug or an answer to my question
  • My bug is about JetBird and not something upstream

What is your JetBird version?

1.2.1

What make/model is your device?

Amazon Fire TV Stick 4K Max (1st gen)

What OS and version are you running?

FireOS 7.6.9.7 (PS7697/4800)

What happened?

I can't click the "Connect" button after entering the server URL https://api.netbird.io. The button is unresponsive when using the Fire TV Stick remote or the Fire TV app paired with my Fire TV Stick, and attempting to click it repeatedly brings up the on-screen keyboard, making it impossible to sign in. My friend, who has the same Fire TV Stick model, is experiencing the same issue.

Logs

No response

### Please confirm that: - [x] I have searched the [issues](https://codeberg.org/bg443/JetBird/issues) and didn't find my bug or an answer to my question - [x] My bug is about JetBird and not something upstream ### What is your JetBird version? 1.2.1 ### What make/model is your device? Amazon Fire TV Stick 4K Max (1st gen) ### What OS and version are you running? FireOS 7.6.9.7 (PS7697/4800) ### What happened? I can't click the "Connect" button after entering the server URL `https://api.netbird.io`. The button is unresponsive when using the Fire TV Stick remote or the Fire TV app paired with my Fire TV Stick, and attempting to click it repeatedly brings up the on-screen keyboard, making it impossible to sign in. My friend, who has the same Fire TV Stick model, is experiencing the same issue. ### Logs _No response_
Owner
Copy link

Hey,

I presume you are trying to use SSO. I haven't tried SSO on a TV, only a setup key, please can you try a setup key?

Otherwise JetBird will attempt to open a web browser to login, which should work provided you have one installed and it's recognised as a browser by Android.

Hey, I presume you are trying to use SSO. I haven't tried SSO on a TV, only a setup key, please can you try a setup key? Otherwise JetBird will attempt to open a web browser to login, which should work provided you have one installed and it's recognised as a browser by Android.

I'm unsure what you are referring to.

I downloaded the app, and upon opening it, it prompts me to enter the server management URL. I can enter the URL, but the "Connect" button doesn't work. I don't see any other options whatsoever.

image

I'm unsure what you are referring to. I downloaded the app, and upon opening it, it prompts me to enter the server management URL. I can enter the URL, but the "Connect" button doesn't work. I don't see any other options whatsoever. ![image](/attachments/5b128460-4697-4873-8e57-ddb32b1037b8)
642 KiB
Owner
Copy link

Ah apologies, there is also a connect button on the home screen.

As a first guess this is probably because the FireTV select/enter button is mapped differently to a "regular" remote and not supported by default. I will take a look into it although I don't have a Fire TV device to test it with.

Ah apologies, there is also a connect button on the home screen. As a first guess this is probably because the FireTV select/enter button is mapped differently to a "regular" remote and not supported by default. I will take a look into it although I don't have a Fire TV device to test it with.

That makes sense.

If there's any way I can help to streamline this for you, please let me know. I'd be happy to.

That makes sense. If there's any way I can help to streamline this for you, please let me know. I'd be happy to.
Owner
Copy link

I will likely work on this after #79

I have a potential fix in mind although I will let you know when there's an APK available to test. No ETA unfortunately, apologies.

I will likely work on this after https://codeberg.org/bg443/JetBird/pulls/79 I have a potential fix in mind although I will let you know when there's an APK available to test. No ETA unfortunately, apologies.

I can appreciate the focus on prioritizing the update.

I'm unsure if finding the correct key mappings is challenging, but I consulted ChatGPT, which provided some key mapping details. It might be worth checking there unless you have a more reliable source for that information.

Once a test APK is available, I'm ready to test it promptly and confirm whether it works.

Thank you for your continued attention to this issue.

I can appreciate the focus on prioritizing the update. I'm unsure if finding the correct key mappings is challenging, but I consulted ChatGPT, which provided some key mapping details. It might be worth checking there unless you have a more reliable source for that information. Once a test APK is available, I'm ready to test it promptly and confirm whether it works. Thank you for your continued attention to this issue.
Owner
Copy link

I plan to utilise the TV component library and hopefully that should account for other remotes (https://developer.android.com/reference/kotlin/androidx/tv/material3/package-summary)

Otherwise, I may have to look into using this instead: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onKeyEvent(kotlin.Function1)

Will keep you posted anyhow, appreciate you offering to test!

I plan to utilise the TV component library and hopefully that should account for other remotes (https://developer.android.com/reference/kotlin/androidx/tv/material3/package-summary) Otherwise, I may have to look into using this instead: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onKeyEvent(kotlin.Function1) Will keep you posted anyhow, appreciate you offering to test!

This isn't going to happen anytime soon, I reckon?

Travelling soon and was really hoping I can connect into my home server when abroad.

This isn't going to happen anytime soon, I reckon? Travelling soon and was really hoping I can connect into my home server when abroad.
Owner
Copy link

Sorry for the delay, been super busy and haven't had much time.

I have implemented a workaround here: e6dbce09c5

This will require you to use the enter/submit button on the keyboard, which will act the same as if you were able to press the button. Hopefully this should at least let you set everything up whilst I work on a longer-term fix.

I am just testing a couple of other things and I should have a release out within a few hours - will add here when it's ready.

Sorry for the delay, been super busy and haven't had much time. I have implemented a workaround here: https://codeberg.org/bg443/JetBird/commit/e6dbce09c5bf05f07c26509213f6b7050d4579f8 This will require you to use the enter/submit button on the keyboard, which will act the same as if you were able to press the button. Hopefully this should at least let you set everything up whilst I work on a longer-term fix. I am just testing a couple of other things and I should have a release out within a few hours - will add here when it's ready.

Appreciate the fast response.

I imagined you were busy, and I hope I didn't come off as pushy. Was just curious in case I needed to plan an alternative solution before I leave town.

That's great news to hear, really looking forward to giving it a go when it's up. I'll be sure to keep checking back today.

Thank you 🙏🏼

Appreciate the fast response. I imagined you were busy, and I hope I didn't come off as pushy. Was just curious in case I needed to plan an alternative solution before I leave town. That's great news to hear, really looking forward to giving it a go when it's up. I'll be sure to keep checking back today. Thank you 🙏🏼
Owner
Copy link

Please could you test v1.3.0?

Hopefully the enter button on the keyboard will work on Fire TV, as I can only test on an Android TV emulator.

Please could you test [v1.3.0](https://codeberg.org/bg443/JetBird/releases/tag/v1.3.0)? Hopefully the enter button on the keyboard will work on Fire TV, as I can only test on an Android TV emulator.

The fix you applied worked. Thank you so much 🙏🏼

The fix you applied worked. Thank you so much 🙏🏼
Sign in to join this conversation.
No Branch/Tag specified
master
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.1
v1.7.0
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.1
v1.2.0
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 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
bg443/JetBird#78
Reference in a new issue
bg443/JetBird
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?