Solved Can't Connect
-
Sorry for double post, but I wanted to let you know that there might be an easy solution to fix the "no connection" problem.
If your host (gandi.net ?) supports .htaccess there might be an easy solution.
In ISPconfig the domain has to be "RECALBOX.COM" (without www) and auto-subdomain has to be "www"
The A records in the DNS setting:
IP for www.recalbox.com is 163.172.153.70
IP for recalbox.com is 217.70.184.38That is why the update is not working and the recalbox shows "not connected"
To fix the problem the IP for recalbox.com and www.recalbox.com just have to be the same.
Check the DNS settings and see the A record for yourself.
The hoster (gandi.net ?) should be able to fix it.You also have to add the following code to your root .htaccess file:
This redirects all non-www requests to your site to the www version
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
The second line means: if the HTTP_HOST does not (!) start with (^) "www.", then put it in memory for the next line. The next line says: from what was captured in the previous line, match everything (.*) from beginning (^) to end ($) and save everything (inside the parenthesis) as $1. Then replace $1 with ""; plus the HTTP_HOST variable.
And this would redirect all www requests to your site to the non-www version
RewriteEngine On
RewriteCond %{HTTP_HOST} !^my-domain.com$ [NC]
RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]
I really hope this helps, and everyone will be able to update
Cheers
-
I am having the exact same issue - emulationstation does not recognize it's connected because the ping to recalbox.com fails. But kodi works fine.
Any updates on this?
Thanks!!!
-
@fegemo Not yet.. Waiting for 4.1 version..
-
Ping to recalbox.com does work for me now.
-
Hey guys. I did one test here. It is somehow related to my ISP. Whenever I try to reach (ping, traceroute) recalbox.com from my home Internet connection (picture 1), the packets all get lost. But if I try to reach the same address using my 4G connection (picture 2), it works just fine.
Do you guys have any idea on the cause of this strange ISP-specific behavior?
Picture 1 (using my home connection):
Picture 2 (using my 4G connection):
-
@fegemo I think is really some ISP problem.. because i use GVT/VIVO too.. and i get no connection, but i can connect with 4G like you.
I tried today with last RecalBox (Unstable 4.1.0 build 63), same problem again..
-
@mazur as we said : dns problem. @digitaLumberjack seems not t have taken care of it yet
-
SOLUTION UNTIL IT IS FIXED UPSTREAM :
edit~/.emulationstation/es_settings.cfg
and replace<string name="UpdateServer" value="recalbox.com" />
with<string name="UpdateServer" value="archive.recalbox.com" />
-
@Substring THX to Substring this Solution worked for me
-
@rapid to be honnest, it worked fror me too while i was testing a fiw in EmulationStation and it didn't work lol
-
@Substring For me worked just fine too!
-
@Substring thanks for the solution. I did something similar, which was to add an entry to the hosts file to make "recalbox.com" point to the IP of www.recalbox.com. To be able to do that, I had to remount the file system as writable. The commands were:
ssh root@192.168.X.X
and then type the default password for the root user (described in the wiki)mount -o remount,rw /
echo "163.172.165.227 recalbox.com" >> /etc/hosts
-
@fegemo this is much more complicated and would blow up on update. But glad it worked for you
-
@Substring Did not work for me. Connection status still shows "not connected" although the Box is cabled and assigned an IP adress.
-
@Ares2502 can you paste your es_settings.cfg on pastebin please ?
-
For all of you who have your games on an USB device or hdd. Then you need to change thesettings on /media/usb0/recalbox/system/.emulationstation/es_settings.cfg.
usb0 depends on your system. could also be usb1 ect. just try it out which one fits for youSo for people who have their games on an USB / hdd device try edit/media/usbXY/recalbox/system/.emulationstation/es_settings.cfg and replace<string name="UpdateServer" value="recalbox.com" /> with
<string name="UpdateServer" value="archive.recalbox.com" />edit: looks like this not really works. after reboot the es_settings.cfg is back to default for me.
-
For people who are uneasy at editing the file, juste paste this in SSH :
/etc/init.d/S31emulationstation stop && sed -i "s+recalbox\.com+archive\.recalbox\.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start
-
@Substring said in Can't Connect:
/etc/init.d/S31emulationstation stop && sed -i "s+recalbox.com+archive.recalbox.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start
Thanks for your help! this actually worked. After editing the cfg with vi it was changed back to default after a reboot. Your comand line parameter actually worked!
-
@Ares2502 That's because ES rewrites the values, so we need to shut it down before modifying the file
-
@Substring Thanks again! Makes perfectly sense, when explained this way!