Solved Netzwerkproblem
-
@seic That's either a DNS problemeither a scripting error to detect the internet connection. We're digging into the problem
-
So, recalbox pings recalbox.com to check if you're "connected". That DNS is irrevelant as not everyone can ping it, may correct that
-
I have the same problem and I also live in Germany.
I can't ping recalbox.com from any device in my network. The ip adress ist found but the server doesn't respond.
I'm still using Beta 6 of recalbox and updating is not possible at the moment.
-
Same problem, also from Germany.
Settings show "no connection". Connection via SSH is fine.Strange thing is that scraping of ROMs works and tracking with retroachievements server also work as it should. But no updates possible.
Yes, w-lan settings are correct, also looked in the config.
-
@Substring said in Netzwerkproblem:
So, recalbox pings recalbox.com to check if you're "connected". That DNS is irrevelant as not everyone can ping it, may correct that
I can ping WWW.recalbox.com but not recalbox.com
The "www" has to be in the address
-
@Nachtgarm @paradadf @lackyluuk @Substring
Das Problem, dass recalbox.com nur mit 'www' vorne dran erreichbar ist, besteht weiterhin.
Wie ist denn die recalbox Domain in ISPConfig angelegt (mit www oder ohne)?
Diese muss ohne www, also nur 'RECALBOX.DE' angelegt sein und dann 'www' als Auto-Subdomain ausgewählt sein.Macht mal eine nslookup für RECALBOX.DE
und für WWW.RECALBOX.DE
und kontrolliert welche IPs zurück gegeben werden. Die IPs müssen identisch sein.
If your host (gandi.net ?) supports .htaccess there might be an easy solution.
EDIT:
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"
-
@DannyOcean still, some people can ping recalbox.com, some others can't. We're working on it
-
@Substring
sure, but 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.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
-
@DannyOcean @digitaLumberjack is in charge of all that, i don't manage DNS stuff
-
Cool, es scheint nun gelöst zu sein
GEILE TYPEN -
Immer gerne
-
Hallo,
vielen Dank für die ganze Hilfe hier im Forum!
Bei mir klappt das leider immer noch nicht - wie kann ich das Problem nun lösen? das posting von DannyOcean hilft mir leider nicht weiter, weil ich nicht verstehen was ich wo einstellen/konfigurieren muss.
Der RasPi bekommt die IP von meiner FritzBox, der DNS-Server kommt von Unitymedia -
Hallo zusammen,
ich kämpfe auch verzweifelt mit diesem Problem...
Kennt jemand einen DNS Server der "recalbox.com" auflösen kann?
Die HOSTS Datei auf dem OS kann man ja leider nicht editieren (oder hat jemand nen tipp wie) und ich kriege keinen lokalen DNS hin um es zu umgehen -
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" />
-
Hi,
leider funktioniert die vorgeschlagene Lösung von substring nicht.
Wenn ich die settings.cfg über den PC via Netzwerk editiere und abspeichere (Win10 greift über den Dateiexplorer auf die IP von RecalBox zu, editiert wird mit Notepad++), dauert es nur wenige Sekunden bis (irgendwas im Hintergrund) den Originaleintrag wiederherstellt.Hi,
unfortunately it doesn't work
When I edit settings.cfg (of course with saving!) few seconds later the original entry (value="recalbox.com") will be rewrite from recalbox. So I think i'll waiting till the recalbox-IP is fixed... -
@chriz There is a 1-liner command that will do it for you, to do is SSH :
/etc/init.d/S31emulationstation stop && sed -i "s+recalbox\.com+archive\.recalbox\.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start
-
Very thanks to you, @substring - the update is just running!
-
Als Ersteller dieses Themas möchte ich mich auch nochmal bedanken
-
Doesn't work for me unfortunately. Here's what I get:
login as: root
root@192.168.1.83's password:/etc/init.d/S31emulationstation stop && sed -i "s+recalbox.com+archive.recalbox.com+g" ~/.emulationstation/es_settings.cfg && /etc/init.d/S31emulationstation start
lvl0: System "favorites" is missing name, path, extension, or command!
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
ping: bad address 'archive.archive.recalbox.com'
sh: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF-8)
ping: bad address 'archive.archive.recalbox.com'As I'm a complete newbie regarding linux, might be some newbie-issue.
thanks, grungelegende -
@grungelegende you've run the script twice, or already edited the file before ...