You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/02 04:32:25 UTC

[GitHub] [apisix] backnero opened a new issue #2923: bug: missing ssl cert for ssl

backnero opened a new issue #2923:
URL: https://github.com/apache/apisix/issues/2923


   ### Issue description
   ```
   /usr/local/openresty/luajit/bin/luajit: /usr/bin/apisix:256: missing ssl cert for ssl
   stack traceback:
   [C]: in function 'error'
   /usr/bin/apisix:256: in function </usr/bin/apisix:150>
   /usr/bin/apisix:419: in main chunk
   [C]: at 0x00404d60
   
   ```
   
   No configuration has been modified. After re-pulling the 2.0 image deployment from 5 pm on December 1st, this error occurred and it failed to start
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):2.0
   * OS: dockerhub centos v2.0 apisix
   rancher + K8s 
   image : apache/apisix:2.0-centos
   
   ### Minimal test code / Steps to reproduce the issue
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   
   
   ### What's the expected result?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737047384


   ![image](https://user-images.githubusercontent.com/21979871/100841675-94311600-34b2-11eb-87bc-93efc876c39d.png)
   V2.0 image is updated


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737595764


   Can you roll back the last submitted docker image in v2.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] gxthrj commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737170538


   Oops, in k8s or in docker can not reproduce.
   ![image](https://user-images.githubusercontent.com/4413028/100866767-1d0c7980-34d4-11eb-9d19-57e836d7bc7d.png)
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-736983574


   ![image](https://user-images.githubusercontent.com/21979871/100828604-78217a80-349a-11eb-9ec5-b9b965a7e4c6.png)
   Browser access tips


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] souzens edited a comment on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
souzens edited a comment on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-736985856


   i tried change ssl enable to "false" in config.yaml ,and apisix is no longer supported https access .
   
   look config-default.yaml ,add ssl config below 
       # ssl_cert: /path/to/ssl_cert
       # ssl_cert_key: /path/to/ssl_cert_key


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] github-actions[bot] commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-972720879


   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737043932


   > i tried change ssl enable to "false" in config.yaml ,and apisix is no longer supported https access .
   > 
   > look config-default.yaml ,add ssl config below
   > # ssl_cert: /path/to/ssl_cert
   > # ssl_cert_key: /path/to/ssl_cert_key
   
   If it is set to false, does not support https refer to adminapi or all https requests? Because I set up multiple domain names and certificates through sni. If ssl is set in config, should there be multiple certificates or one certificate?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Hcreak commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
Hcreak commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737609959


   I may have found the reason. I specified the SSL certificate. Before that, I don’t need to specify it at startup.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737601935


   Does the 2.1 update affect the docker image in the hub? I see that the 2.1 version of the docker image is the same size as the 2.0 version of the docker image
   
   ![image](https://user-images.githubusercontent.com/21979871/100952202-09502a00-354b-11eb-8461-e171b0de7c54.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737044901


   The same configuration, image. I have used it for nearly half a month. During the period, the application will be restarted regularly, and this error did not appear. This error began to appear after the afternoon of December 1st. I don't know why.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] github-actions[bot] commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-987763713


   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] idbeta commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737040323


   @gxthrj look at this issue if you have time


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737079420


   @gxthrj do you have time to look at this issue?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] gxthrj commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737138613


   I try to reproduce in 2.0-centos.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] github-actions[bot] closed issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #2923:
URL: https://github.com/apache/apisix/issues/2923


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] backnero commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
backnero commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-737046508


   ```
   2020/12/02 07:20:29 [warn] 14#14: *10 [lua] init.lua:262: sync_local_conf_to_etcd(): sync local conf to etcd, context: ngx.timer
   2020/12/02 07:20:29 [error] 14#14: *10 [lua] init.lua:283: sync_local_conf_to_etcd(): failed to set plugins: connection refused, context: ngx.timer
   2020/12/02 07:20:32 [error] 14#14: *234 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   2020/12/02 07:20:33 [error] 15#15: *363 [lua] exporter.lua:284: handler(): prometheus: plugin is not initialized, please make sure  'prometheus_metrics' shared dict is present in nginx template, client: 127.0.0.1, server: , request: "GET /apisix/prometheus/metrics HTTP/1.1", host: "gateway.default.svc.cluster.local:9080"
   2020/12/02 07:20:35 [error] 14#14: *495 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   2020/12/02 07:20:38 [error] 14#14: *742 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   2020/12/02 07:20:41 [error] 14#14: *991 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   2020/12/02 07:20:44 [error] 14#14: *1239 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   2020/12/02 07:20:47 [error] 14#14: *1486 [lua] client.lua:92: reportServiceInstance(): Instance report fails, connection refused, context: ngx.timer
   ```
   Error in error.log
   
   I use yaml as the configuration center


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] souzens commented on issue #2923: bug: missing ssl cert for ssl

Posted by GitBox <gi...@apache.org>.
souzens commented on issue #2923:
URL: https://github.com/apache/apisix/issues/2923#issuecomment-736985856


   i tried change ssl enable to "false" in config.yaml ,and apisix is no longer supported https access .
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org