API connection problem (SSL version)

We are having API connection problem from today (May 23, 2018)

Issue: ALPN, server did not agree to a protocol

Details
  • Trying 34.216.42.11…
  • TCP_NODELAY set
  • Connected to api.ordoro.com (34.216.42.11) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • successfully set certificate verify locations:
  • CAfile: xampp\apache\bin\curl-ca-bundle.crt
    CApath: none
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN, server did not agree to a protocol
  • Server certificate:
  • subject: OU=Domain Control Validated; OU=EssentialSSL Wildcard; CN=*.ordoro.com
  • start date: Jan 3 00:00:00 2018 GMT
  • expire date: Feb 2 23:59:59 2019 GMT
  • issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
  • SSL certificate verify ok.

POST /supplier HTTP/1.1
Host: api.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Secret
Content-Length: 73

  • upload completely sent off: 73 out of 73 bytes
    < HTTP/1.1 301 MOVED PERMANENTLY
    < cache-control: no-cache,max-age=0,must-revalidate
    < Content-Type: text/html; charset=utf-8
    < Date: Wed, 23 May 2018 15:00:36 GMT
    < Location: http://api.ordoro.com/supplier/
    < pragma: no-cache
    < Server: gunicorn/19.7.1
    < X-API-REQUEST-ID: 1d98f05f-ca33-4840-a79c-06a8698454ca
    < X-Ordoro-API-Server: i-052fccfce46c0a9ac 1.557.0
    < X-ORDORO-HANDLED-BY: ip-172-31-44-40
    < Content-Length: 269
    < Connection: keep-alive
    <
  • Connection #0 to host api.ordoro.com left intact
  • Trying 34.216.42.11…
  • TCP_NODELAY set
  • Connected to api.ordoro.com (34.216.42.11) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • successfully set certificate verify locations:
  • CAfile: xampp\apache\bin\curl-ca-bundle.crt
    CApath: none
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN, server did not agree to a protocol
  • Server certificate:
  • subject: OU=Domain Control Validated; OU=EssentialSSL Wildcard; CN=*.ordoro.com
  • start date: Jan 3 00:00:00 2018 GMT
  • expire date: Feb 2 23:59:59 2019 GMT
  • issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
  • SSL certificate verify ok.

GET /product/?search=8_ HTTP/1.1
Host: api.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Secret
Content-Length: 2

  • upload completely sent off: 2 out of 2 bytes
    < HTTP/1.1 200 OK
    < cache-control: no-cache,max-age=0,must-revalidate
    < Content-Type: application/json
    < Date: Wed, 23 May 2018 15:00:40 GMT
    < pragma: no-cache
    < Server: gunicorn/19.7.1
    < X-API-REQUEST-ID: 5ba9e2a1-3bca-4dfb-9ef8-330075f2f8d4
    < X-Ordoro-API-Server: i-0ff9c7919bcda0eca 1.557.0
    < X-ORDORO-HANDLED-BY: ip-172-31-11-157
    < Content-Length: 53
    < Connection: keep-alive
    <
  • Connection #0 to host api.ordoro.com left intact

Hi @IvanO

Is this still an issue?

The issue was in backslash at the end of URL for API v2.

If there is no backslash at the end of URL, the server will redirect to the URL with.
But also the redirect from HTTPS to HTTP.
And on HTTP server will not respond.