You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/21 09:13:16 UTC

[GitHub] [dubbo-go] liuhaichaogithub opened a new issue, #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

liuhaichaogithub opened a new issue, #1990:
URL: https://github.com/apache/dubbo-go/issues/1990

   
   ![image](https://user-images.githubusercontent.com/40063899/180176640-3c9d79c6-e1c3-4726-a6ea-b3fbfed3416e.png)
   ![lQLPJxaEJ49TD4nNA1fNBe-w0McNhbYB2ggC2ZaZv4BUAA_1519_855](https://user-images.githubusercontent.com/40063899/180176780-926b258f-1fd1-40d1-b4c1-fdc1a0bb824f.png)
   
   nacos版本2.1.0   提供者java  dubbo 3.0.8  消费者 dubbo-go 3.0.2    tri协议  姓名:刘海潮(社区钉钉群)


-- 
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@dubbo.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] zhaoyunxing92 commented on issue #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 commented on issue #1990:
URL: https://github.com/apache/dubbo-go/issues/1990#issuecomment-1191246007

   我看你里面返回403是不是没有权限
   ![image](https://user-images.githubusercontent.com/18088210/180177630-23b60660-4be2-4806-a9d4-01a3b90fa036.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.

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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] baerwang commented on issue #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

Posted by GitBox <gi...@apache.org>.
baerwang commented on issue #1990:
URL: https://github.com/apache/dubbo-go/issues/1990#issuecomment-1192094333

   日志太乱了


-- 
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@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] zhaoyunxing92 closed issue #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 closed issue #1990: dubbo-go  本地可消费,部署到linux服务器消费不到
URL: https://github.com/apache/dubbo-go/issues/1990


-- 
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@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] liuhaichaogithub commented on issue #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

Posted by GitBox <gi...@apache.org>.
liuhaichaogithub commented on issue #1990:
URL: https://github.com/apache/dubbo-go/issues/1990#issuecomment-1192087628

   > 我看你里面返回403是不是没有权限 ![图片](https://user-images.githubusercontent.com/18088210/180177630-23b60660-4be2-4806-a9d4-01a3b90fa036.png)
   
   哪里的权限?nacos我也没设置密码,服务都注册上了,本地同一套代码预配置调用这个Provider 是能通的,部署到服务器上如图报错


-- 
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@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] liuhaichaogithub commented on issue #1990: dubbo-go 本地可消费,部署到linux服务器消费不到

Posted by GitBox <gi...@apache.org>.
liuhaichaogithub commented on issue #1990:
URL: https://github.com/apache/dubbo-go/issues/1990#issuecomment-1192132764

   > 日志太乱了,能弄清晰的吗
   _2022-07-22T09:55:48.812+0800    INFO    naming_client/naming_proxy.go:103       namespaceId:<expos-system-test> sending beat to server:<{"ip":"马赛克ip地址","port":80,"weight":1,"serviceName":"DEFAULT_GROUP@@consumers:com.cudigital.system.proto.security.SecurityProtoApi::","cluster":"","metadata":{"app.version":"","application":"did-gateway","async":"false","bean.name":"SecurityProtoApiClientImpl","cluster":"failover","config.tracing":"","environment":"","generic":"","group":"","interface":"com.cudigital.system.proto.security.SecurityProtoApi","loadbalance":"","metadata-type":"local","methods":"","module":"sample","nacos.category":"consumers","name":"did-gateway","organization":"dubbo-go","owner":"dubbo-go","path":"/com.cudigital.system.proto.security.SecurityProtoApi","protocol":"tri","provided-by":"","reference.filter":"cshutdown","registry.role":"0","release":"dubbo-golang-3.0.0","retries":"","serialization":"","side":"consumer","sticky":"false","timestamp":"1658453050","
 version":""},"scheduled":false}>
   2022-07-22T09:55:50.910+0800    WARN    proxy/proxy.go:210      [CallProxy] received rpc err: Failed to invoke the method GetUserByToken in the service com.cudigital.system.proto.security.SecurityProtoApi. Tried 1 times of the providers [tri://:@马赛克ip地址:50051/?interface=com.cudigital.system.proto.security.SecurityProtoApi&group=&version= tri://:@马赛克ip地址:50051/?interface=com.cudigital.system.proto.security.SecurityProtoApi&group=&version=] (2/1)from the registry nacos://nacos:nacos@2022@马赛克ip地址:8848?nacos.access=&nacos.group=DEFAULT_GROUP&nacos.namespaceId=expos-system-test&nacos.password=nacos%402022&nacos.secret=&nacos.timeout=60s&nacos.username=nacos&registry=nacos&registry.group=&registry.label=true&registry.namespace=expos-system-test&registry.preferred=false&registry.role=0&registry.timeout=60s&registry.ttl=10s&registry.weight=0&registry.zone=&remote-client-name=dubbo.registries-nacos-马赛克ip地址%3A8848&simplified=false on the consumer 马�
 ��克ip地址 using the dubbo version 3.0.0. Last error is connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 3491\\r\\nConnection: keep-alive\\r\\nContent-Language: en\\r\\nContent-Type: text/html;charset=utf-8\\r\\nDate: Fri, 22 Jul 2022 01:55:45 GMT\\r\\nMime-Version: 1.0\\r\\nServer: squid/3.5.20\\r\\nVary: Accept-Language\\r\\nVia: 1.1 host-10-126-138-71 (squid/3.5.20)\\r\\nX-Cache: MISS from host-10-126-138-71\\r\\nX-Cache-Lookup: NONE from host-10-126-138-71:3128\\r\\nX-Squid-Error: ERR_ACCESS_DENIED 0\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//DTD HTML 4.01//EN\\\" \\\"http://www.w3.org/TR/html4/strict.dtd\\\">\\n<html><head>\\n<meta type=\\\"copyright\\\" content=\\\"Copyright (C) 1996-2016 The Squid Software Foundation and contributors\\\">\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\">\\n<title>ERROR: The requested URL could not be retrieved</
 title>\\n<style type=\\\"text/css\\\"><!--\\n /*\\n * Copyright (C) 1996-2016 The Squid Software Foundation and contributors\\n *\\n * Squid software is distributed under GPLv2+ license and includes\\n * contributions from numerous individuals and organizations.\\n * Please see the COPYING and CONTRIBUTORS files for details.\\n */\\n\\n/*\\n Stylesheet for Squid Error pages\\n Adapted from design by Free CSS Templates\\n http://www.freecsstemplates.org\\n Released for free under a Creative Commons Attribution 2.5 License\\n*/\\n\\n/* Page basics */\\n* {\\n\\tfont-family: verdana, sans-serif;\\n}\\n\\nhtml body {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n\\tbackground: #efefef;\\n\\tfont-size: 12px;\\n\\tcolor: #1e1e1e;\\n}\\n\\n/* Page displayed title area */\\n#titles {\\n\\tmargin-left: 15px;\\n\\tpadding: 10px;\\n\\tpadding-left: 100px;\\n\\tbackground: url('/squid-internal-static/icons/SN.png') no-repeat left;\\n}\\n\\n/* initial title */\\n#titles h1 {\\n\\tcolor: #000000;\\n}\\n#tit
 les h2 {\\n\\tcolor: #000000;\\n}\\n\\n/* special event: FTP success page titles */\\n#titles ftpsuccess {\\n\\tbackground-color:#00ff00;\\n\\twidth:100%;\\n}\\n\\n/* Page displayed body content area */\\n#content {\\n\\tpadding: 10px;\\n\\tbackground: #ffffff;\\n}\\n\\n/* General text */\\np {\\n}\\n\\n/* error brief description */\\n#error p {\\n}\\n\\n/* some data which may have caused the problem */\\n#data {\\n}\\n\\n/* the error message received from the system or other software */\\n#sysmsg {\\n}\\n\\npre {\\n    font-family:sans-serif;\\n}\\n\\n/* special event: FTP / Gopher directory listing */\\n#dirmsg {\\n    font-family: courier;\\n    color: black;\\n    font-size: 10pt;\\n}\\n#dirlisting {\\n    margin-left: 2%;\\n    margin-right: 2%;\\n}\\n#dirlisting tr.entry td.icon,td.filename,td.size,td.date {\\n    border-bottom: groove;\\n}\\n#dirlisting td.size {\\n    width: 50px;\\n    text-align: right;\\n    padding-right: 5px;\\n}\\n\\n/* horizontal lines */\\nhr {\\n\\t
 margin: 0;\\n}\\n\\n/* page displayed footer area */\\n#footer {\\n\\tfont-size: 9px;\\n\\tpadding-left: 10px;\\n}\\n\\n\\nbody\\n:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }\\n:lang(he) { direction: rtl; }\\n --></style>\\n</head><body id=ERR_ACCESS_DENIED>\\n<div id=\\\"titles\\\">\\n<h1>ERROR</h1>\\n<h2>The requested URL could not be retrieved</h2>\\n</div>\\n<hr>\\n\\n<div id=\\\"content\\\">\\n<p>The following error was encountered while trying to retrieve the URL: <a href=\\\"马赛克ip地址:50051\\\">马赛克ip地址:50051</a></p>\\n\\n<blockquote id=\\\"error\\\">\\n<p><b>Access Denied.</b></p>\\n</blockquote>\\n\\n<p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p>\\n\\n<p>Your cache administrator is <a href=\\\"mailto:root?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20host-10-126-138-71
 %0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2022%20Jul%202022%2001%3A55%3A45%20GMT%0D%0A%0D%0AClientIP%3A%20马赛克ip地址%0D%0A%0D%0AHTTP%20Request%3A%0D%0ACONNECT%20%2F%20HTTP%2F1.1%0AUser-Agent%3A%20grpc-go%2F1.43.0-dev%0D%0AHost%3A%20马赛克ip地址%3A50051%0D%0A%0D%0A%0D%0A\\\">root</a>.</p>\\n<br>\\n</div>\\n\\n<hr>\\n<div id=\\\"footer\\\">\\n<p>Generated Fri, 22 Jul 2022 01:55:45 GMT by host-10-126-138-71 (squid/3.5.20)</p>\\n<!-- ERR_ACCESS_DENIED -->\\n</div>\\n</body></html>\\n\"".: connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 3491\\r\\nConnection: keep-alive\\r\\nContent-Language: en\\r\\nContent-Type: text/html;charset=utf-8\\r\\nDate: Fri, 22 Jul 2022 01:55:45 GMT\\r\\nMime-Version: 1.0\\r\\nServer: squid/3.5.20\\r\\nVary: Accept-Language\\r\\nVia: 1.1 host-10-126-138-71 (squid/3.5.20)\\r\\nX-Cache: MISS from host-10-126-13
 8-71\\r\\nX-Cache-Lookup: NONE from host-10-126-138-71:3128\\r\\nX-Squid-Error: ERR_ACCESS_DENIED 0\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//DTD HTML 4.01//EN\\\" \\\"http://www.w3.org/TR/html4/strict.dtd\\\">\\n<html><head>\\n<meta type=\\\"copyright\\\" content=\\\"Copyright (C) 1996-2016 The Squid Software Foundation and contributors\\\">\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\">\\n<title>ERROR: The requested URL could not be retrieved</title>\\n<style type=\\\"text/css\\\"><!--\\n /*\\n * Copyright (C) 1996-2016 The Squid Software Foundation and contributors\\n *\\n * Squid software is distributed under GPLv2+ license and includes\\n * contributions from numerous individuals and organizations.\\n * Please see the COPYING and CONTRIBUTORS files for details.\\n */\\n\\n/*\\n Stylesheet for Squid Error pages\\n Adapted from design by Free CSS Templates\\n http://www.freecsstemplates.org\\n Released for free under a Creative Commons Attrib
 ution 2.5 License\\n*/\\n\\n/* Page basics */\\n* {\\n\\tfont-family: verdana, sans-serif;\\n}\\n\\nhtml body {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n\\tbackground: #efefef;\\n\\tfont-size: 12px;\\n\\tcolor: #1e1e1e;\\n}\\n\\n/* Page displayed title area */\\n#titles {\\n\\tmargin-left: 15px;\\n\\tpadding: 10px;\\n\\tpadding-left: 100px;\\n\\tbackground: url('/squid-internal-static/icons/SN.png') no-repeat left;\\n}\\n\\n/* initial title */\\n#titles h1 {\\n\\tcolor: #000000;\\n}\\n#titles h2 {\\n\\tcolor: #000000;\\n}\\n\\n/* special event: FTP success page titles */\\n#titles ftpsuccess {\\n\\tbackground-color:#00ff00;\\n\\twidth:100%;\\n}\\n\\n/* Page displayed body content area */\\n#content {\\n\\tpadding: 10px;\\n\\tbackground: #ffffff;\\n}\\n\\n/* General text */\\np {\\n}\\n\\n/* error brief description */\\n#error p {\\n}\\n\\n/* some data which may have caused the problem */\\n#data {\\n}\\n\\n/* the error message received from the system or other software */\\n#sysmsg {\\n}\
 \n\\npre {\\n    font-family:sans-serif;\\n}\\n\\n/* special event: FTP / Gopher directory listing */\\n#dirmsg {\\n    font-family: courier;\\n    color: black;\\n    font-size: 10pt;\\n}\\n#dirlisting {\\n    margin-left: 2%;\\n    margin-right: 2%;\\n}\\n#dirlisting tr.entry td.icon,td.filename,td.size,td.date {\\n    border-bottom: groove;\\n}\\n#dirlisting td.size {\\n    width: 50px;\\n    text-align: right;\\n    padding-right: 5px;\\n}\\n\\n/* horizontal lines */\\nhr {\\n\\tmargin: 0;\\n}\\n\\n/* page displayed footer area */\\n#footer {\\n\\tfont-size: 9px;\\n\\tpadding-left: 10px;\\n}\\n\\n\\nbody\\n:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }\\n:lang(he) { direction: rtl; }\\n --></style>\\n</head><body id=ERR_ACCESS_DENIED>\\n<div id=\\\"titles\\\">\\n<h1>ERROR</h1>\\n<h2>The requested URL could not be retrieved</h2>\\n</div>\\n<hr>\\n\\n<div id=\\\"content\\\">\\n<p>The following error was encountered while trying 
 to retrieve the URL: <a href=\\\"马赛克ip地址:50051\\\">马赛克ip地址:50051</a></p>\\n\\n<blockquote id=\\\"error\\\">\\n<p><b>Access Denied.</b></p>\\n</blockquote>\\n\\n<p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p>\\n\\n<p>Your cache administrator is <a href=\\\"mailto:root?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20host-10-126-138-71%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2022%20Jul%202022%2001%3A55%3A45%20GMT%0D%0A%0D%0AClientIP%3A%20马赛克ip地址%0D%0A%0D%0AHTTP%20Request%3A%0D%0ACONNECT%20%2F%20HTTP%2F1.1%0AUser-Agent%3A%20grpc-go%2F1.43.0-dev%0D%0AHost%3A%20马赛克ip地址%3A50051%0D%0A%0D%0A%0D%0A\\\">root</a>.</p>\\n<br>\\n</div>\\n\\n<hr>\\n<div id=\\\"footer\\\">\\n<p>Generated Fri, 22 Jul 2022 01:55:45 GMT by host-10-126-138-71 (squid/3.5.20)</p>\\n<!-- ERR_ACCESS_DENIED 
 -->\\n</div>\\n</body></html>\\n\""
   SecurityProtoApi.GetUserByToken error :
   
   _


-- 
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@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org