ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  Rodolfo 1 year, 11 months ago.

  • Creator
    Topic
  • #12873

    mirche
    Participant

    Hello,

    We are getting this issue on our production application. I can not fin out what is goind wrong. IN development works everything fine.

    Anybody that can help?

    Request Method:GET
    Status Code:401 Unauthorized
    Response Headers
    view source
    Cache-Control:no-cache
    Connection:Keep-Alive
    Content-Length:0
    Content-Type:application/json
    Date:Tue, 08 Sep 2015 12:00:49 GMT
    Keep-Alive:timeout=5, max=100
    Server:Apache/2.4.7
    WWW-Authenticate:WSSE realm=”Secured API”, profile=”UsernameToken”
    X-Debug-Token:230ca9
    X-Debug-Token-Link:/app_dev.php/_profiler/230ca9
    X-Powered-By:PHP/5.5.9-1ubuntu4.11
    Request Headers
    view source
    Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    Accept-Encoding:gzip, deflate, sdch
    Accept-Language:nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4
    Connection:keep-alive
    Cookie:optimizelyEndUserId=oeu1434028538083r0.2690520395990461; cbar_uid=758347353; cbar_sess=1; optimizelySegments=%7B%222490450268%22%3A%22false%22%2C%222498560541%22%3A%22referral%22%2C%222509670107%22%3A%22gc%22%7D; optimizelyBuckets=%7B%7D; _ga=GA1.2.1680981856.1434028538; cbar_lvt=1440494410; CRMID=fmhs8b1kqe9bbtskgumm51r3k1

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #12880

    Rodolfo
    Participant

    Hi @mirche,

    I had the same issue here. The time between both server and your application requesting the WSSE authentication should be in sync. I solved adding NTP Sync every hour on my linux crontab.

    If you are running on a server based on debian/ubuntu, you can use this command:
    sudo ntpdate -s time.nist.gov

    This is an example that you can use to add on ROOT crontab:


    #!/bin/bash
    ntpdate -s time.nist.gov

    Hope this can help you,
    good luck!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.