Not connecting when on FTP

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Not connecting when on FTP

Postby ProgramBoy » 01 Oct 2016, 13:43

Hello,

Having an issue when uploading the Client file to an FTP server.
When you try logging in it won't let you enter, it just gets stuck on connecting.
Works perfectly when not on FTP.
The server works, the client does not.

Any idea why? :P
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Not connecting when on FTP

Postby Lapo » 01 Oct 2016, 14:45

Two common issues are problems with Flash cross domain policy or a wrong IP to connect to.
Sometimes people forget to change from 127.0.0.1 (or whatever their local PC address is) to that of the server.

In any case if you install the Debug Flash Player you will be able to see exactly what error there is
https://www.adobe.com/support/flashplay ... loads.html

cheers.
Lapo
--
gotoAndPlay()
...addicted to flash games
ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Re: Not connecting when on FTP

Postby ProgramBoy » 01 Oct 2016, 16:51

The cross domain policy is set by the Server or the client?
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Not connecting when on FTP

Postby Lapo » 02 Oct 2016, 07:47

From server side.
In the SFS PRO config.xml file you should find this:

Code: Select all

<AutoSendPolicyFile>true</AutoSendPolicyFile>
Lapo

--

gotoAndPlay()

...addicted to flash games
ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Re: Not connecting when on FTP

Postby ProgramBoy » 02 Oct 2016, 10:10

But if it was set to true doesn't that mean I'd not be able to connect using flash?
ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Re: Not connecting when on FTP

Postby ProgramBoy » 02 Oct 2016, 22:44

Because this is how my crossdomain file looks like:

Code: Select all

<cross-domain-policy>
<allow-access-from domain="*" secure="false"/>
</cross-domain-policy>
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Not connecting when on FTP

Postby Lapo » 03 Oct 2016, 07:33

It looks fine.
Check with the debug flash player so you can see which error is being thrown exactly.
Lapo

--

gotoAndPlay()

...addicted to flash games
ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Re: Not connecting when on FTP

Postby ProgramBoy » 03 Oct 2016, 11:11

Can't get it to install on chrome for some reason... I will try
ProgramBoy
Posts: 30
Joined: 25 Aug 2016, 02:52

Re: Not connecting when on FTP

Postby ProgramBoy » 03 Oct 2016, 12:16

Found out that the client works on Firefox but not in chrome... :/
Why?

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 38 guests