We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I seem to be getting a lot of errors such as
phonedb-57c69655fc-mfdj8 phonedb 02:40:08.704 [info] Stopped LDAP phonedb-57c69655fc-mfdj8 phonedb 02:40:08.705 [error] GenServer Paddle terminating phonedb-57c69655fc-mfdj8 phonedb ** (FunctionClauseError) no function clause matching in Paddle.Parsing.clean_eldap_search_results/2 phonedb-57c69655fc-mfdj8 phonedb (paddle 0.1.4) lib/paddle/parsing.ex:148: Paddle.Parsing.clean_eldap_search_results({:ok, {:eldap_search _result, [], [], :asn1_NOVALUE}}, 'dc=pri') phonedb-57c69655fc-mfdj8 phonedb (paddle 0.1.4) lib/paddle.ex:204: Paddle.handle_call/3 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) gen_server.erl:721: :gen_server.try_handle_call/4 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) gen_server.erl:750: :gen_server.handle_msg/6 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 phonedb-57c69655fc-mfdj8 phonedb Last message (from #PID<0.9786.10>): {:get, {:and, [equalityMatch: {:AttributeValueAssertion, 'telephoneNumb er', '0438539906'}, equalityMatch: {:AttributeValueAssertion, 'objectClass', 'person'}]}, "ou=people", :base} phonedb-57c69655fc-mfdj8 phonedb 02:40:08.708 [info] Connecting to ldap://['ldap.pri']:389 phonedb-57c69655fc-mfdj8 phonedb 02:40:08.709 [error] #PID<0.9786.10> running PhoneDbWeb.Endpoint (connection #PID<0.9787.10>, stream id 1) t erminated phonedb-57c69655fc-mfdj8 phonedb Server: phonedb.linuxpenguins.xyz:80 (http) phonedb-57c69655fc-mfdj8 phonedb Request: POST /api/incoming_call/ phonedb-57c69655fc-mfdj8 phonedb ** (exit) exited in: GenServer.call(Paddle, {:get, {:and, [equalityMatch: {:AttributeValueAssertion, 'telephoneNumber', '0438539906'}, equalityMatch: {:AttributeValueAssertion, 'objectClass', 'person'}]}, "ou=people", :base}, 5000) phonedb-57c69655fc-mfdj8 phonedb ** (EXIT) an exception was raised: phonedb-57c69655fc-mfdj8 phonedb ** (FunctionClauseError) no function clause matching in Paddle.Parsing.clean_eldap_search_results/2 phonedb-57c69655fc-mfdj8 phonedb (paddle 0.1.4) lib/paddle/parsing.ex:148: Paddle.Parsing.clean_eldap_search_results({:ok, {:eldap_search_result, [], [], :asn1_NOVALUE}}, 'dc=pri') phonedb-57c69655fc-mfdj8 phonedb (paddle 0.1.4) lib/paddle.ex:204: Paddle.handle_call/3 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) gen_server.erl:721: :gen_server.try_handle_call/4 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) gen_server.erl:750: :gen_server.handle_msg/6 phonedb-57c69655fc-mfdj8 phonedb (stdlib 3.17.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
I think this might be on a get request:
case Paddle.get(%PhoneDb.Contacts.Ldap.Person{telephoneNumber: contact.phone_number}, nil) do
Where I expect it to return {:error, :noSuchObject} in this case.
{:error, :noSuchObject}
Unfortunately this is not an error I can reproduce on demand. Just searching for a non-existent object produces the excepted results.
The text was updated successfully, but these errors were encountered:
Add missing function clause
ac2e9f4
Fixes minijackson#82
Attempt to fix paddle error
eaaf04b
See minijackson/paddle#82
656f82b
Successfully merging a pull request may close this issue.
I seem to be getting a lot of errors such as
I think this might be on a get request:
Where I expect it to return
{:error, :noSuchObject}
in this case.Unfortunately this is not an error I can reproduce on demand. Just searching for a non-existent object produces the excepted results.
The text was updated successfully, but these errors were encountered: