Open muhaym opened 8 years ago
Hi @muhaym thanks for helping us!
Just a couple of questions to try to find the reason behind this bug:
Thanks again! JP
Hi, Sorry for being late. -I am using Visual Studio emulator for Android -I tried GenyMotion and Xamarin Android Player, it works in both, but getting it running parallel with Visual Studio emulator for android (hyper v vs virtual box), messes my network adapters and all. I prefer to use Hyper V Visual Studio emulator as it doesn't conflict with my windows phone emulators.
Hi,
Please install the last version of Gorilla and then, in your browser go to "http://localhost:
You will see an about page with some useful information, including the list of the address where Gorilla is listening. Please send a screenshot of that.
I'm using latest Version 0.8.2
I didn't set the port manually, it is 8080 by default, accessing using localhost:8080 this are the network cards for emulator. I am able to access internet from emulator, but not localhost.
Hi @muhaym Could you please uninstall and install latest version (0.8.2.2) from here:
https://github.com/UXDivers/Gorilla-Player-Support-And-Issues/releases/tag/v0.8.2
Best, JP
Updated, still can't get to connect server from emulator
You should not use localhost:
I tried manual setup, It is giving Could not connect to the server (is it down?). Retrying
Ok. Can you see the About Page from the browser within the emulator? Again you will need to use the "
Tried all Ip from browser with port.. No luck :(
same issue. Same setup. It worked for a while but not working any more.
the only diff is my version for player sdk is Server: 0.8.3.0
Hi, I joined the beta preview since I am working with Visual Studio 2015 and badly need to preview the layout during design with the Xamarin plug in. I have installed Gorilla on the desktop as well as on the Android device (real device). The Gorilla server runs fine but I am always getting a time out error when trying to connect the device to the Gorilla Server. I tried both automatic as well as manual mode and even put the ip address with the port but still unable to find out why the device is not able to view the server.
Can you provide any insights how to fix this issue.
Thanks,
Rajesh.
@muhaym : Have you tried to disable firewall?
Any solution. it is frustrating not being able to use Gorilla to preview the xaml during design time.
Hi @msmrajesh, sorry about that. Just a couple of questions to help us try to find the problem and help you more:
Thanks and I apologize again for any issue this could be causing you.
Best, JP
Hi @jpbrocca
Yes I am using the same network to connect. I have enabled WIFI on the mobile and I can run the application from Visual Studio when connected through USB.
I have turned the firewall off but still no effect.
Yes the server is accessible from the desktop browser through Http://localhost:9014
And I tried using both Auto detection as well as manual set up but no effect.
Hi @msmrajesh,
Real Device:
http://<server ip>:9014/
Can you see the about page from the device? If not, please turn off your firewall and try again.http://localhost:9014
from your desktop machine. When you tried with manual setup, did you tried with all the IP addresses listed under "Listening to addresses" (specifying <ip>:9014
in the manual configuration page) and non of them work?Simulator:
When trying to access the Gorilla Server http://
The device is connected to the desktop via USB and WIFI is also enabled on the device.
Yes I tried using manual configuration but still no result. Can you please let me know how to make the device part of the same network so that the device can listen to the server ip address.
And since the emulator requires a Hyper-V enabled processor which i do not have, i am unable to use a emulator from Visual Studio.
Can you attach a screenshot with About Page seen from the desktop?
In order to diagnose the problem, please disconnect the device from the USB port and just leave it connected to the wifi. When you said http://:9014/
, what is the exact address you used to test? Did you use ip address or server name? Which is the IP or IP(s) associated (use 'ipconfig /all' in the command line) to your desktop machine? did you tested all of them through manual setup?
also tried all sorts of combinations of ip & ports, different android emulators, etc etc, as long as they're powered by the Visual Studio Android Emulator it will not connect, physical device works like a charm though :)
i use both machine name and ip address.
Wondering how Jesperb21 is able to use his physical device.
deploy the player app to your physical device -> connect to wifi -> run server on pc -> connect it all up, done?
Had the same problem - connectivity issues in Gorilla Player but working in browser. I then found out that Gorilla Player app needed some permission in android project - INTERNET. Hope this helps someone.
Hello I am trying to set up Gorilla player on a fresh new XF forms project and I am getting this error:
Error occurred while setting Gorilla Target XAML. File LocalNotificationsExamplePage.xaml (Can´t locate the target xaml within the project).
I am using a Mac and Xamarin Studio and my Gorilla Player is saying that I am connected.
Hi, I downloaded Gorilla 0.9.1.2 on another desktop in another location and it has no issue in connecting to the Gorilla server from the device. However I am getting a black background for all the screens in spite of changing the theme.
To change the theme i used this in MainActivity.cs
[Activity(Theme = "@android:style/Theme.Holo.Light", Label = "Expense Manager", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
When running on the device I am getting the desired output. You can see the difference in the two attachments. Why does this happen. Is there any work around to get the same look and feel in Gorilla as well as the device.
Thanks, Rajesh
I'm having the same problem getting a connection from VS Android Emulator to my local machine running Gorilla server. It works great from a physical device. I guess it has something to do with the network configuration of the Emulator. If you have any advice this would be great. Then I could display Android and the new VS iOS Emulator side by side on the screen
@15mgm15 please, it would be useful to get your log files in order to diagnose what is going on.
It would be even more useful if you can set the log level to debug and try this again, so I get more info.
See this article explaining where the logs are and how to configure them in debug mode.
@msmrajesh can you please post the issue you mentioned as a separate issue, since it does not seems to be related to the issue being discussed in this thread. Thanks
Is this still an issue? Any workarounds? Gorilla Player never connects with my emulator from VS either.
How can I provide more info to help address this?
After I enabled debug
logging it started working. If I run into this issue again I'll post the log file here.
Hi @akamud, can you please post your logs here or send me an email with them to l r o d r i g u e z at u x d i v e r s . c o m? I want to check if there is any clue of the issue you experienced there. Thanks
Hi @LeoHere, I am new to using Gorilla Player in Visual studio 2017 15.5 (GA).
I have not been successful in deploying -
Can you please help me in getting this addressed ? I would appreciate your help.
Thanks,
Hi @LeoHere , finally I could figure out the issue. In my home network - as long as I am using the same wireless SSID on my PC and the physical Android device that is broadcasted by my main internet (provider's) wireless router, the connectivity works just fine. I used info from the Gorilla wiki page - https://github.com/UXDivers/Gorilla-Player-Support/wiki/Troubleshooting-Connectivity. But this wiki page needs to be updated with information on resolution to my issue mentioned below.
But, if my devices are using same SSID broadcasted by other routers in the same network then the connectivity fails. That's kinda problematic in a way because wireless signal from my main router is not strong enough to work on the other end of the home.
Any thoughts on this? If so, what's the required configuration to make it work on SSIDs broadcasted by other routers?
Thanks,
Just installed version 1.2.0.6 and nothing works either.
This work for mi
netsh advfirewall firewall add rule name="Gorilla Player" dir=in action=allow protocol=TCP localport=9014 netsh advfirewall firewall add rule name="Gorilla Player" dir=out action=allow protocol=TCP localport=9014
netsh advfirewall firewall add rule name="Gorilla Auto-discovery" dir=in action=allow protocol=UDP localport=14578
netsh advfirewall firewall add rule name="Gorilla Auto-discovery" dir=out action=allow protocol=UDP localport=14578
Hi guys,
i had a similar issue. I'm using Visual Studio 2017 on a windows 10 host and i was able to connect to Gorilla-Player via my native android device (which was in the same network as my development computer). But when i started one of my android emulators, the app starts to run but wasn't able to find the Gorilla-Player-Host running on my computer (via autodiscovery and via typing local ip directly).
The solution for me was to manually type in the ip-adress of my computer as "10.0.2.2:9014". This did the trick because android emulator uses his own virtual router to connect the emulator to the host machine. According to the documentation here the ip "10.0.2.2" stands for the host machine of the emulator (so in my case it was the development machine running Gorilla-Host).
I was then able to connect to the server but the screen still stuck on saying "...connecting for initial handshake...". In my case this could be fixed by deleting the log files under "C:\Users\
Auto Discover or Manual Setup with http://locaolhost:8080/ doesn't work. Version tried 0.8.2 and 0.8.1