Skip to content
New issue

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

Avoid certificate verification for google analytics #3978

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

NelsonVides
Copy link
Collaborator

No description provided.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 6, 2023

small_tests_24 / small_tests / f64ff4a
Reports root / small


small_tests_25 / small_tests / f64ff4a
Reports root / small


ldap_mnesia_24 / ldap_mnesia / f64ff4a
Reports root/ big
OK: 2225 / Failed: 0 / User-skipped: 825 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / f64ff4a
Reports root/ big
OK: 4177 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / f64ff4a
Reports root/ big
OK: 2225 / Failed: 0 / User-skipped: 825 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / f64ff4a
Reports root/ big
OK: 4554 / Failed: 0 / User-skipped: 97 / Auto-skipped: 3

push_pubsub_SUITE:rest_integration_v2:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {{badmatch,
          {error,
            {{shutdown,
               {failed_to_start_child,
                 'wpool_pool-mongoose_wpool$generic$localhost$mongoosepush_service-process-sup',
                 {shutdown,
                   {failed_to_start_child,
                     'wpool_pool-mongoose_wpool$generic$localhost$mongoosepush_service-22',
                     {already_started,<8851.18776.3>}}}}},
             {child,undefined,
               'mongoose_wpool$generic$localhost$mongoosepush_service',
               {wpool,start_pool,
                 ['mongoose_wpool$generic$localhost$mongoosepush_service',
                [{workers,100}]]},
               temporary,false,infinity,supervisor,
               [wpool]}}}},
        [{mod_push_service_mongoosepush,start_pool,2,
           [{file,
            "/home/circleci/project/src/mod_push_service_mongoosepush.erl"},
          {line,50}]},
         {mod_push_service_mongoosepush,start,2,
           [{file,
            "/home/circleci/project/src/mod_push_service_mongoosepush.erl"},
          {line,43}]},
         {gen_mod,start_module_for_host_type,3,
           [{file,"/home/circleci/project/src/gen_mod.erl"},
          {line,104}]},
         {mongoose_modules,start_module,4,
           [{file,"/home/circleci/project/src/mongoose_modules.erl"},
          {line,90}]},
         {mongoose_modules,ensure_started,3,
           [{file,"/home/circleci/project/src/mongoose_modules.e...

Report log


dynamic_domains_mysql_redis_25 / mysql_redis / f64ff4a
Reports root/ big
OK: 4151 / Failed: 0 / User-skipped: 114 / Auto-skipped: 0


internal_mnesia_25 / internal_mnesia / f64ff4a
Reports root/ big
OK: 2367 / Failed: 0 / User-skipped: 683 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / f64ff4a
Reports root/ big
OK: 4174 / Failed: 0 / User-skipped: 91 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / f64ff4a
Reports root/ big
OK: 2565 / Failed: 0 / User-skipped: 654 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / f64ff4a
Reports root/ big
OK: 4557 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / f64ff4a
Reports root/ big
OK: 2727 / Failed: 0 / User-skipped: 662 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / f64ff4a
Reports root/ big
OK: 4553 / Failed: 0 / User-skipped: 100 / Auto-skipped: 1


mysql_redis_25 / mysql_redis / f64ff4a
Reports root/ big
OK: 4543 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / f64ff4a
Reports root/ big
OK: 4557 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / f64ff4a
Reports root/ big
OK: 4554 / Failed: 0 / User-skipped: 100 / Auto-skipped: 0

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (7b91117) 83.55% compared to head (f64ff4a) 83.56%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3978      +/-   ##
==========================================
+ Coverage   83.55%   83.56%   +0.01%     
==========================================
  Files         538      538              
  Lines       33974    33974              
==========================================
+ Hits        28386    28392       +6     
+ Misses       5588     5582       -6     
Impacted Files Coverage Δ
.../system_metrics/mongoose_system_metrics_sender.erl 96.55% <100.00%> (ø)
src/mongoose_tcp_listener.erl 74.46% <0.00%> (-4.26%) ⬇️
src/pubsub/node_pep.erl 77.77% <0.00%> (-1.86%) ⬇️
src/mod_roster.erl 78.46% <0.00%> (-0.72%) ⬇️
src/pubsub/mod_pubsub_db_mnesia.erl 92.40% <0.00%> (-0.43%) ⬇️
src/mod_muc_log.erl 62.82% <0.00%> (ø)
src/inbox/mod_inbox_rdbms_async.erl 69.56% <0.00%> (+1.44%) ⬆️
src/mongoose_cleaner.erl 70.00% <0.00%> (+10.00%) ⬆️
src/event_pusher/mod_event_pusher_sns.erl 94.52% <0.00%> (+12.32%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@NelsonVides NelsonVides marked this pull request as ready for review March 7, 2023 08:25
@@ -54,7 +54,7 @@ flush_reports(ReportUrl, Lines) when length(Lines) =< 20 ->
ContentType = "",
Body = string:join(Lines, "\n"),
Request = {ReportUrl, Headers, ContentType, Body},
httpc:request(post, Request, [], []);
httpc:request(post, Request, [{ssl, [{verify, verify_none}]}], []);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why exactly verify_none? Is it safe?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok after meeting I understand it now. I'll merge it. If you think that verifying this cert is worth effort please create a ticket.

@pawlooss1 pawlooss1 merged commit e421b6e into master Mar 7, 2023
@pawlooss1 pawlooss1 deleted the verify_certificate_issue branch March 7, 2023 09:50
@jacekwegr jacekwegr added this to the 6.1.0 milestone Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants