redmine_omniauth_saml icon indicating copy to clipboard operation
redmine_omniauth_saml copied to clipboard

「translation missing: ja.error_saml_invalid_ticket」error

Open naeba opened this issue 8 years ago • 6 comments

Hi

I'm getting this error 「translation missing: ja.error_saml_invalid_ticket」

When I try to access to Redmine from Windows ADFS, I got above error.

<Access route>   Client PC → ADFS → Redmine

I would like to test through plugin-test「add integration tests」 for this solution. Please let me know, How to use it. If Does it work this error.

And How to solve this error?


Environment: Redmine version 3.3.0.stable Ruby version 2.1.10-p492 (2016-04-01) [x86_64-linux] Rails version 4.2.6 Environment production Database adapter Mysql2 SCM: Subversion 1.9.4 Cvs 1.12.13 Git 2.7.4 Filesystem
Redmine plugins: narrowdown 0.0.1 periodictask 3.2.1 redmine_assign_grouping 0.0.1 redmine_custom_workflows 0.1.6 redmine_issue_templates 0.1.4 redmine_omniauth_saml 0.0.1 redmine_slack 0.2

naeba avatar Mar 08 '17 13:03 naeba

Are both servers in sync? I mean, with the same time? Are you using NTP? The reason of an Invalid tickets is often server with different date time configuration, or a ssl error

chrodriguez avatar Mar 09 '17 12:03 chrodriguez

Thank you for your reply!!

Actually, Redmine is on AWS EC2. Then originally Redmine was different time with ADFS Server But We configured the same time with it. ※We don't use NTP, Just useing local time.

About SSL error... configured X.509-certificate of ADFS on Redmine Server. I think it is correct..

But just concern AWS structure. exactly speaking, it is as follows.

ADFS → ELB → EC2(Redmine) (HTTPS) (HTTP) ※ELB:HTTPS(443) forwarding to HTTP(80)

What do you think that is this the reason?

Best regards

naeba avatar Mar 10 '17 11:03 naeba

We are still trying SAML-connection. But it's not works.

We've begun to set debbug-log, then I realized one thing. When I Do SAML-authentication, debbug-log says "[DEBBUG] AccountController unless" which means it's not read「AccountController.included_modules」 I guess.

▼Ruby-File :  account_controller_patch.rb

▼part of code: unless AccountController.included_modules.include? Redmine::OmniAuthSAML::AccountControllerPatch Rails.application.config.testlog.debug("[d] AccountController unless") # ←Debbug_Add AccountController.send(:include, Redmine::OmniAuthSAML::AccountControllerPatch) AccountController.skip_before_filter :verify_authenticity_token, :only => [:login_with_saml_callback] end

Does anyone know what is this? ※File Permission ?

Thanks

naeba avatar Mar 14 '17 07:03 naeba

I think AccountController is loaded because it wont give you the error translation missing: ja.error_saml_invalid_ticket if not loadeed.

Can you paste the full stacktrace of the error?

chrodriguez avatar Mar 22 '17 13:03 chrodriguez

Did you fix this issue?

chrodriguez avatar Sep 12 '17 17:09 chrodriguez

https://xxxx.cm/auth/saml/callback This page isn’t working If the problem continues, contact the site owner. HTTP ERROR 422 G suite

lasith98 avatar Mar 27 '19 11:03 lasith98