Sync server timeout error help

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
AliceandHare_
Newbie
Posts: 12
Joined: Thu Aug 24, 2023 6:19 am
Projects: Nightcarving
Contact:

Sync server timeout error help

#1 Post by AliceandHare_ »

Hello! I've been having this problem lately with the game I'm still making, and it is that when I try to upload sync, I receive a "server timeout" notification, so I cannot move my save files that way. Also, the log says:

Code: Select all

Sync error:
Traceback (most recent call last):
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 387, in _make_request
  File "<string>", line 2, in raise_from
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 383, in _make_request
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/http/client.py", line 1377, in getresponse
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/http/client.py", line 320, in begin
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/http/client.py", line 281, in _read_status
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/socket.py", line 704, in readinto
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/ssl.py", line 1236, in recv_into
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/ssl.py", line 1094, in read
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 638, in urlopen
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/util/retry.py", line 357, in increment
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/packages/six.py", line 686, in reraise
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 598, in urlopen
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 389, in _make_request
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 309, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='sync.renpy.org', port=443): Read timed out. (read timeout=15)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "renpy/common/00sync.rpy", line 283, in upload_content
    r = requests.put(url, data = content, timeout=15)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/api.py", line 131, in put
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/api.py", line 60, in request
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/sessions.py", line 524, in request
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/sessions.py", line 637, in send
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='sync.renpy.org', port=443): Read timed out. (read timeout=15)
I've tried changing the timeout limit (from 15 to 30, got the same error and the log only changed the "read timeout" to 30 too) in common/00sync.rpy, but I don't want to mess too much with those files since I'm not an expert and don't want to break the software.

The page https://sync.renpy.org/ has been working fine all the times that I've tried to sync, and I don't want to sync the save files through steam because I read PyTom in other topics in the forum recommending people not do it that way because of security issues in the renpy save files.

If anyone has any idea of how to fix this, please comment, any help is welcome <3
AliceandHare, animator and VN dev working on dark romance otome <3

User avatar
plastiekk
Regular
Posts: 112
Joined: Wed Sep 29, 2021 4:08 am
Contact:

Re: Sync server timeout error help

#2 Post by plastiekk »

AliceandHare_ wrote: Mon Sep 11, 2023 7:15 am ...
Is it working again? Maybe the server was down, or it is because of your firewall?
Did you try to ping the server?
terminal or console:

Code: Select all

ping sync.renpy.org
or:

Code: Select all

nslookup sync.renpy.org
to see if your dns configuration is working.
Why on earth did I put the bread in the fridge?

User avatar
AliceandHare_
Newbie
Posts: 12
Joined: Thu Aug 24, 2023 6:19 am
Projects: Nightcarving
Contact:

Re: Sync server timeout error help

#3 Post by AliceandHare_ »

I'm sorry but I don't know exactly how I could use those lines of code, I'm still kinda new to renpy and python. Is it something I should write in the developer's mode console (shift+O), or in the code itself, or the windows console?

Pinging in the windows console I get this:

Code: Select all

Pinging sync.renpy.org [104.131.160.235] with 32 bytes of data:
Response from 104.131.160.235: bytes=32 time=120ms TTL=48
Response from 104.131.160.235: bytes=32 time=121ms TTL=48
Response from 104.131.160.235: bytes=32 time=111ms TTL=48
Response from 104.131.160.235: bytes=32 time=107ms TTL=48

Ping statistics for 104.131.160.235:
    Packages: sent= 4, received= 4, lost= 0
    (0% lost),
Aproximated time of round-trip in miliseconds:
    Minimum = 107ms, Maximum= 121ms, Average= 114ms
And with nslookup I get this:

Code: Select all

Server:  UnKnown
Address:  192.168.40.1

Non-authoritative response:
Name:  sync.renpy.org
Addresses:  2604:a880:800:10::8f8:c001
          104.131.160.235
(Sorry for any weird phrasing or words, I'm translating the console info from Spanish to English)

The renpy server's page (https://sync.renpy.org/) is working and there isn't anyone complaining that it is down or anything else. I tried to sync in different computers and the result was the same.

It worked in an old build that was much shorter and had a lot less features, but I don't know if the size of the game should be an issue.
AliceandHare, animator and VN dev working on dark romance otome <3

User avatar
AliceandHare_
Newbie
Posts: 12
Joined: Thu Aug 24, 2023 6:19 am
Projects: Nightcarving
Contact:

Re: Sync server timeout error help

#4 Post by AliceandHare_ »

I tried again, and now I'm getting this:

Code: Select all

> ping sync.renpy.org
Server:  sync.renpy.org
Address:  104.131.160.235

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Waiting time run out from request to sync.renpy.org

> nslookup sync.renpy.org
Server:  sync.renpy.org
Address:  104.131.160.235

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
    
*** Waiting time run out from request to sync.renpy.org
So I can imagine this is the "proof" that it's not working like it should.
AliceandHare, animator and VN dev working on dark romance otome <3

User avatar
plastiekk
Regular
Posts: 112
Joined: Wed Sep 29, 2021 4:08 am
Contact:

Re: Sync server timeout error help

#5 Post by plastiekk »

AliceandHare_ wrote: Mon Sep 18, 2023 7:14 am I tried again, and now I'm getting this:
This rather indicates a problem with the name resolution (DNS) of your internet provider.
However, you mentioned that you tried it on different computers, are you using the same provider?
As a suggestion, change your dns server in the settings to 1.1.1.1 which is the cloudfare dns server and try again, you could also use any other dns server. (https://1.1.1.1/dns/)
Here's a tutorial how to change your dns server on windows 10.
https://www.windowscentral.com/how-chan ... windows-10

Maybe that helps? Just undo the changes if it doesn't work.
Why on earth did I put the bread in the fridge?

User avatar
AliceandHare_
Newbie
Posts: 12
Joined: Thu Aug 24, 2023 6:19 am
Projects: Nightcarving
Contact:

Re: Sync server timeout error help

#6 Post by AliceandHare_ »

Thanks for the help with the DNS, I now get this in the console:

Code: Select all


>ping sync.renpy.org

Pinging sync.renpy.org [104.131.160.235] with 32 bytes of data:
Response from 104.131.160.235: bytes=32 time=109ms TTL=48
Response from 104.131.160.235: bytes=32 time=107ms TTL=48
Response from 104.131.160.235: bytes=32 time=107ms TTL=48
Response from 104.131.160.235: bytes=32 time=108ms TTL=48

Ping statistics from 104.131.160.235:
    Packages: sent= 4, received= 4, lost= 0
    (0% lost),
Aproximated time of round-trip in miliseconds:
    Minimum= 107ms, Maximum= 109ms, Average= 107ms

>nslookup sync.renpy.org
Server:  dns.google
Address:  8.8.8.8

Non-authoritative response:
Name:  sync.renpy.org
Addresses:  2604:a880:800:10::8f8:c001
          104.131.160.235

I'm still getting the Sync server timeout in Renpy, so it might be something else. Thanks for the help! If I find how to resolve this, I'll post it here.
AliceandHare, animator and VN dev working on dark romance otome <3

User avatar
plastiekk
Regular
Posts: 112
Joined: Wed Sep 29, 2021 4:08 am
Contact:

Re: Sync server timeout error help

#7 Post by plastiekk »

AliceandHare_ wrote: Tue Sep 19, 2023 2:12 am I'm still getting the Sync server timeout in Renpy, so it might be something else. Thanks for the help! If I find how to resolve this, I'll post it here.
Too bad. I can think of another scenario (if it's not your firewall), I had a problem when I wanted to connect to the internet via an iphone hotspot with a windows laptop. Some apps worked fine with this connection while it was not possible to open a web page in the browser.
This was due to a setting on the iphone. Under hotspot there is an option: "Maximize Compatibility", I had to activate this and then it worked again (the function is deactivated by default).
Unfortunately, that's all I can think of.

This link shows the function I mentioned, which is disabled by default.
https://support.apple.com/en-us/HT204023
Why on earth did I put the bread in the fridge?

Post Reply

Who is online

Users browsing this forum: Amazon [Bot], gregkulbar, Majestic-12 [Bot]