You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/10/17 13:42:25 UTC

[GitHub] [openwhisk] thunderZH963 opened a new issue, #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

thunderZH963 opened a new issue, #5336:
URL: https://github.com/apache/openwhisk/issues/5336

   
   
   ## Environment details:
   
   * ansible/local
   * docker-20.10.12
   * ubuntu-20.04
   * aarch64
   
   ## Steps to reproduce the issue:
   
   1.   Deploy openwhisk on local(by ansible): refer to https://github.com/apache/openwhisk/tree/master/ansible.
   2.  Maybe some modification has been done to make openwhisk suitable to arrch64, but finally, all images were built successfully and related containers are all running.
   3.   wsk property set --apihost '172.17.0.1:3233' 
   4.   wsk property set --auth `cat ansible/files/auth.guest`
   5.   create a simple 'hello.js'
   6.   wsk action create hello hello.js
   
   ## Outputs
   ```
   error: Unable to create action 'hello': Put "http://172.17.0.1:3233/api/v1/namespaces/_/actions/hello?overwrite=false": dial tcp 172.17.0.1:3233: connect: connection refused
   ```
   wsk property set --apihost '172.17.0.1',  wsk property set --apihost '172.17.0.1:80', wsk property set --apihost '172.17.0.1:443' were all be tried, but failed.
   
   ## 'Docker ps' shows
   ![image](https://user-images.githubusercontent.com/48862662/196191634-ce1d2ca3-9179-43fa-b189-91e94f9fa376.png)
   
   According to my observation, all related containers are running, especially the 'nginx'. 
   I can't find which part of my deployment has gone wrong and caused the failure of the 'wsk action create'.
   
   I also want to know how I should configure ‘--apihost' for 'wsk' and which port to check.
   
   
   


-- 
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: issues-unsubscribe@openwhisk.apache.org.apache.org

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


[GitHub] [openwhisk] style95 commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
style95 commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1309837925

   @immortalsman 
   In this issue, he deployed a standard deployment using ansible but he tried to use an endpoint for standalone deployment.
   Which type of deployment are you using?
   


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] immortalsman commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
immortalsman commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1309811545

   error: Unable to create action 'hello': The connection failed, or timed out. (HTTP status code 500)
   


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] thunderZH963 closed issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
thunderZH963 closed issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused
URL: https://github.com/apache/openwhisk/issues/5336


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] style95 commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
style95 commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1281788303

   Generally, the 3233 port is for standalone deployment.
   I think you need to use 80 or 443.
   


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] thunderZH963 commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
thunderZH963 commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1287668588

   setting --apihost to local IP directly  is ok.
   
   


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] immortalsman commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
immortalsman commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1309685201

   I also meet this problem,could i inquire some questions?I used local ip and 172.17.0.1:3223 are not ok.
   Is it because I'm not using a docker image?My docker ps is empty。


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


[GitHub] [openwhisk] immortalsman commented on issue #5336: error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused

Posted by GitBox <gi...@apache.org>.
immortalsman commented on issue #5336:
URL: https://github.com/apache/openwhisk/issues/5336#issuecomment-1310087365

   Hello,friends!Thank you for your answer.I use ansible.I changed it to the local ip address so there is no error message, but there is a new problem that I haven't solved yet.
   
   This is my&nbsp;reference blog&nbsp;https://blog.csdn.net/supergxt/article/details/118114893
   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人:                                                                                                                        "apache/openwhisk"                                                                                    ***@***.***&gt;;
   发送时间:&nbsp;2022年11月10日(星期四) 下午2:35
   ***@***.***&gt;;
   抄送:&nbsp;"pony ***@***.******@***.***&gt;;
   主题:&nbsp;Re: [apache/openwhisk] error: Unable to create action and dial tcp 172.17.0.1:3233: connect: connection refused (Issue #5336)
   
   
   
   
   
    
   @immortalsman
    In this issue, he deployed a standard deployment using ansible but he tried to use an endpoint for standalone deployment.
    Which type of deployment are you using?
    
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you were mentioned.Message ID: ***@***.***&gt;


-- 
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: issues-unsubscribe@openwhisk.apache.org

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