apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

EMQ Proxy view: Repeat adding same user shows 'Internal server error' #2727

Closed saralavanip closed 6 years ago

saralavanip commented 7 years ago

Steps

1.Visit https://staging.apinf.io v 0.47.0 2.Login
3.Add API 4.Go to 'Proxy' view
5.Select 'emq' proxy from drop down menu 6.Enter 'Access Control Rules'
7.Click on 'Save&Publish'
8.Add user (eg. testuser1)
9.Repeat the above step adding the same user as above

Findings

Repeat adding the same user displays 'Internal server error [500]'

Operating system

Ubuntu 16.04 LTS

Browser

Screenshot

emq_add_same_user_error

bajiat commented 6 years ago

@phanimahesh Is this a bug or expected behavior?

phanimahesh commented 6 years ago

It should atleast not show internal server error. Normal behaviour should be showing an error message.

On Fri 27 Oct, 2017, 18:04 Taija Björklund, notifications@github.com wrote:

@phanimahesh https://github.com/phanimahesh Is this a bug or normal behavior?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apinf/platform/issues/2727#issuecomment-339958789, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnL8IbDc4ko6vCWXrShHPFPJtMR39aCks5swc3CgaJpZM4OPeoh .

deligence-dharmendra commented 6 years ago

Hi @marla-singer @matleppa I'm getting exception at the time of adding emo user.

{ [Error: getaddrinfo ENOTFOUND hosturl.com hosturl.com:443]
    code: 'ENOTFOUND',
    errno: 'ENOTFOUND',
    syscall: 'getaddrinfo',
    hostname: 'hosturl.com',
    host: 'hosturl.com',
    port: 443 
}

Please advise

Nazarah commented 6 years ago

Closing this. EMQ will not be available in SaaS/Cloud.