PHP timeouts when posting notices with long execution time
PHP timeouts when posting notices with long execution time
| Issue ID: | 3592 |
| Issue Category: | bug |
| Component: | web site |
| Priority: | critical |
| Status: | active |
| Assigned: | Unassigned |
I have been using Identi.ca since almost two years with success. But, since almost 10 days, I'm not able anymore to send notices including links. Here is my last test.
New full #Wikipedia ZIM file (without pictures) in #English for !Kiwix http://ur1.ca/8vt57
I always get the following error:
Sorry! We had trouble sending your notice. The servers are overloaded. Please try again, and contact the site administrator if this problem persists.

Updates
#1
Hm, the error message is received probably because of PHP timeout. In the specific example you have included, the linked file is several gigabytes large. This means a couple of notice tests are performed (like checking the contents of the link) but don't make it in time because of the huge file.
This should of course not happen. There should never be a timeout due to StatusNet trying to download something - and it should definitely never try to fetch several gigabytes just because a user linked to it in a notice!
Perhaps only a HEAD request should be made to identify contents (or at least get metadata to decide on whether to follow up _after_ accepting the status update).
Changing the issue title to the actual issue.
You can also subscribe to the
RSS feed for updates to this issue.