Jump to content

IOS/macOS 2.2.31 unable to connect from remote


Recommended Posts

Posted

As i wrote in https://emby.media/community/index.php?/topic/129559-randomly-cannot-remote-login-from-iphone-and-ipad/

My daugther has this problem after .2.2.31 app update on IOS and macOS. Has worked before just fine. She hasnt been using emby in a couple of weeks i think, so didnt noticed this untila couple of days ago. Via browser both works just fine. She also has a Apple Tv v1.9.1 and that works as before.

With a vpn connected here it works in the apps.  So the apps remote from her 5g or her wired network gets her same error as @ROOKIEin the mention tread. 'Unable to reach server'

Tried my ipad also 2.2.31 here connected to android 5g hotspot to be remote, and same thing happens with the app. Using browser to connect to server works just fine like the others.

All android devices and Theater also works as before. Had her connect with both devices via app and then via browser at ca. 07:52 today before i saved the log.

Seems something changed i the latest IOS update that cause this

embyserver.txt

Posted
2 hours ago, Thidsa said:

Tried my ipad also 2.2.31 here connected to android 5g hotspot to be remote, and same thing happens with the app. Using browser to connect to server works just fine like the others.

The log only shows requests from "Safari iOS" reaching the server. Is Emby Connect being used ? If it is and on the iPad you select Login with Emby Connect on the select server screen, after login - if you long press on the server name and then select View Info, does it display the right url for remote connection?

 

Posted

Yes i noticed in the log. They where the ones "unable to reach server". No not emby connect. Connect directly to doman name

Posted

If the device can't reach the server then you're unlikely to see anything in the log.

Posted

Yes I underdand that. The question is why the latest app wont connect when the ones before had. Sendt the log so you guys could see something I couldnt. 

Tell me what u need... 

Posted (edited)

So what you are saying domain name and port number works in browser on the same device but does not work through Emby for iOS?

Without emby Connect, is it done as Select Server -> Add Server, specifying domain and port in the fields for host and port and then selecting connect?

 

 

Edited by sa2000
Posted (edited)

Yes, exactly. It is as simple as that unfortunatly. 

Just had another friend with iphone comfirm the same..

Edited by Thidsa
Posted

*Moved to this forum as requested by OP.

  • Thanks 1
Posted

Hi,

I noticed in your log that you have both IP4 and IP6 IP addresses but only have an IP4 gateway.
There is no gateway address showing for IP6.

If you can, do a ping and also a trace route to your domain and see if it tries to use the IP6 address.
It's possible the app is trying to connect using IP6 while the browser uses the IP4 address.

If that's the case, you need to choose one of the IP6 addresses you get from your provider and assign it to your Emby Server, then open a port on your firewall. It's similar to IP4 port forwarding except there is no NAT. With IP6 you don't "forward" you just "allow" it through your firewall/router.  You also need to make sure your server has an IP6 gateway address setup.

Another way you could quickly test this would be to remove IP6 from the device/computer being used so it will only use IP4.

You can see what public IP4 and IP6 addresses are being used by going to https://www.whatismyip.com/ on your Emby Server assuming you fix the IP6 gateway issue.

PS I'm not saying this is what's happening, but it would explain this and isn't too hard to test.

Carlo

  • Like 1
Posted

Hi there.

Ok so:

First disabled ipv6 from server(with emby, must have forgotten usually do), disabled ipv6 from remote macos client.

Ping/tracert to domain from here show no ipv6 (didnt do before disable ipv6 either)

Ping/traceroute from remote macos show no ipv6 used. App still dont work from the remote, but from web it does still.

Didnt try to open port to ipv6 from provider as it shouldnt matter now anyway.

Still, the server has been working for years, and the mentioned 2 apple devices my daughter uses worked before the latest app update. I would bet that the app is doing something strange.

I'll try later to open port to emby and remove domain to see whet happens

Was hoping there, you where onto something :)

Can someone with IPhone/macOS please try to connect remotely to their server if it uses reverse proxy?. Or maybe anyway...

Posted

Some late feedback. I was planning to try out the hostname / port method on the Emby for iOS 2.2.31 (1) Testflight beta. Well - i have done it now and it worked ok for me

Tried it with WAN - disabling wifi and using the 4G/5G connection I have.

Then signed out on the app and selected Change Server and then Add Server

Then I entered my mywire.org free host name and my wan port for one of the servers

image.png

This reached the server OK with the sign-in challenge

image.png

and I logged in successfully using hostname / port

image.png

 

  • Like 1
Posted (edited)
16 hours ago, Luke said:

@Thidsahas this helped? Can you please try it again?

Hm I dont see what was different with that explanation. Isnt that what you do with all clients? Just add server and type in info....

I did try again, to no avail

Only thing I see thats maybe different from here ,is that if he has opened a port for emby perhaps. Think his mywire name is just a ddns. I use reverse proxy and type "nothing" in port on all clients.

Yes, just tried to open ports and use my free ddns, works as it always has.

Would like to know what is the problem since it has worked before for a long time., and still do except iphone/macos

Edited by Thidsa
add
Posted
On 11/4/2024 at 11:41 AM, sa2000 said:

Some late feedback. I was planning to try out the hostname / port method on the Emby for iOS 2.2.31 (1) Testflight beta. Well - i have done it now and it worked ok for me

Tried it with WAN - disabling wifi and using the 4G/5G connection I have.

Then signed out on the app and selected Change Server and then Add Server

Then I entered my mywire.org free host .........

 

So did you do as I thought? Just open your port in the router, and connect using your free ddns?

This has always worked on all devices. Its just like typing ip+port

Posted
On 18/11/2024 at 22:20, Thidsa said:

Just open your port in the router, and connect using your free ddns

yes - a port forward in the router and free ddns and remote WAN connection. 

I don't have any reverse proxy and the references to reverse proxy came later

Posted (edited)
18 hours ago, sa2000 said:

yes - a port forward in the router and free ddns and remote WAN connection. 

I don't have any reverse proxy and the references to reverse proxy came later

Yes thats what I thought. Its why you didnt see the error. It works when one open ports

Edited by Thidsa
Posted
2 hours ago, Thidsa said:

Yes thats what I thought. Its why you didnt see the error. It works when one open ports

Isn't that a requirement for remote access?

Posted (edited)
3 hours ago, Luke said:

Isn't that a requirement for remote access?

Please Luke, you know way better than me that people use reverse proxies to not have to open ports. So now you say we have to open them anyway? All your other apps works with RP (that i use , emby for android, androidtv, theater etc) and ios app used to prior to last update, what more can i say? Cant you please compare ios app version 2.2.29 and 2.2.31 and see if something changed that could cause this?

Im not that invested anymore. Dont have any users that have to use the ios app apart from one ipad i have. It rarly leaves the house, and when it does i can vpn home so it works.....unless the"error/bug" creeps over to appletv later...

Edited by Thidsa
add
Posted
26 minutes ago, Thidsa said:

people use reverse proxies to not have to open ports.

Huh? You still have to open ports if you're allowing external access into your network, whether that's for a reverse proxy or directly to a backend server.

Posted
5 minutes ago, Lessaj said:

Huh? You still have to open ports if you're allowing external access into your network, whether that's for a reverse proxy or directly to a backend server.

Sheez....you know what i meant...

Posted
14 minutes ago, Thidsa said:

Sheez....you know what i meant...

Reverse proxies don’t eliminate the need to setup port forwarding.

Posted
1 minute ago, Thidsa said:

Sheez....you know what i meant...

No I didn't know what you meant. Unless you meant they use a reverse proxy to handle multiple backends so that they don't have to open additional ports, then that I understand but it's not what you said. I use 443 for my reverse proxy with multiple vhost, so yes I only have to open 443 for that and nothing else. I don't have any iOS devices but I see a few friends using 2.2.31 on their devices just fine with my double reverse proxy in place.

Posted
1 minute ago, Luke said:

Reverse proxies don’t eliminate the need to setup port forwarding.

Man you too....dont you think I know? Because I didnt mention it literally in previous message that ports for reverse proxy need to be opened, you understood if i didnt nothing would work.

Posted (edited)
9 minutes ago, Lessaj said:

No I didn't know what you meant. Unless you meant they use a reverse proxy to handle multiple backends so that they don't have to open additional ports, then that I understand but it's not what you said. I use 443 for my reverse proxy with multiple vhost, so yes I only have to open 443 for that and nothing else. I don't have any iOS devices but I see a few friends using 2.2.31 on their devices just fine with my double reverse proxy in place.

Ok bad explaining from me then :) Ok you know if they use the app or browser then?

edit: Sorry noticed later you said 2.2.31 hehe. Ill shut up then

Edited by Thidsa
  • Like 1
  • 1 month later...
Posted

HI, were you able to figure this out and get connected?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...