Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0005046SOGoWeb Mailpublic2020-07-29 16:17
Reporterondrej.kolin Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0005046: Curl on the homepage returns 501
Description

curl https://webmail.benocs.com/SOGo returns 501. I cant reproduce this on the demo webpage demo.sogo.nu/SOGo/. This triggers errors in our monitoring system. It occurred some versions before. Curl output is attached.

TagsNo tags attached.

Relationships

related to 0005026 new [NSConstantString-stringByAppendingPathExtension:] cannot append extension 'lproj' to empty string 

Activities

ondrej.kolin

ondrej.kolin

2020-06-09 14:20

reporter  

curl_webmail.log (1,695 bytes)   
*   Trying 172.16.0.210:443...
* Connected to webmail.benocs.com (172.16.0.210) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=webmail.benocs.com
*  start date: May 19 12:40:21 2020 GMT
*  expire date: Aug 17 12:40:21 2020 GMT
*  subjectAltName: host "webmail.benocs.com" matched cert's "webmail.benocs.com"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET /SOGo HTTP/1.1
> Host: webmail.benocs.com
> User-Agent: curl/7.69.1
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Mark bundle as not supporting multiuse
< HTTP/1.1 501 Request Failed
< Date: Tue, 09 Jun 2020 14:19:29 GMT
< Server: Apache/2.4.29 (Ubuntu)
< Sogo-Request-Duration: 0.001504
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 0
< Strict-Transport-Security: max-age=15768000
< Connection: close
< 
* Closing connection 0
* TLSv1.3 (OUT), TLS alert, close notify (256):
curl_webmail.log (1,695 bytes)   
ondrej.kolin

ondrej.kolin

2020-06-09 14:26

reporter   ~0014397

Related sogo.log

2020-06-09 16:25:27.195 sogod[5384:5384] [NSConstantString-stringByAppendingPathExtension:] cannot append extension 'lproj' to empty string
2020-06-09 16:25:27.195 sogod[5384:5384] EXCEPTION: <NSException: 0x5590cbd12550> NAME:NSInvalidArgumentException REASON:-characterAtIndex: index out of range INFO:(null)
Jun 09 16:25:27 sogod [5384]: |SOGo| request took 0.001804 seconds to execute
Jun 09 16:25:27 sogod [5384]: 172.16.0.203 "GET /SOGo/ HTTP/1.1" 501 0/0 0.004 - - 0

francis

francis

2020-06-09 15:48

administrator   ~0014398

No problem here:

# curl -I https://demo.sogo.nu/SOGo
HTTP/1.1 302 Found
Date: Tue, 09 Jun 2020 15:47:00 GMT
Sogo-Request-Duration: 0.000409
Content-Type: text/plain; charset=UTF-8
Location: /SOGo/index
Vary: Accept-Encoding
ondrej.kolin

ondrej.kolin

2020-06-10 08:15

reporter   ~0014399

That's the problem I can't reproduce it on the demo page.

My point is I still generated the error message in the log file. It's super unimportant, it's just messing up my monitoring :(

Feel free to close the ticket with "cannot be reproduced"

francis

francis

2020-06-10 12:02

administrator   ~0014401

Check your local web server configuration.

Issue History

Date Modified Username Field Change
2020-06-09 14:20 ondrej.kolin New Issue
2020-06-09 14:20 ondrej.kolin File Added: curl_webmail.log
2020-06-09 14:26 ondrej.kolin Note Added: 0014397
2020-06-09 15:48 francis Note Added: 0014398
2020-06-10 08:15 ondrej.kolin Note Added: 0014399
2020-06-10 12:02 francis Assigned To => francis
2020-06-10 12:02 francis Status new => closed
2020-06-10 12:02 francis Resolution open => no change required
2020-06-10 12:02 francis Note Added: 0014401
2020-07-29 16:17 francis Relationship added related to 0005026