You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "defp (via GitHub)" <gi...@apache.org> on 2023/03/28 15:13:23 UTC

[GitHub] [apisix-docker] defp opened a new issue, #450: 3.2.0 配置了ssl,后台也配置了,但是https端口连接失败

defp opened a new issue, #450:
URL: https://github.com/apache/apisix-docker/issues/450

   基于文档用docker-compose.部署的
   
   根据下面的文档配置的ssl
   https://github.com/apache/apisix/blob/81149cd31567f6a86e33100fa7d09d7550073157/docs/zh/latest/FAQ.md#%E5%9C%A8%E5%A4%84%E7%90%86-http-%E6%88%96-https-%E8%AF%B7%E6%B1%82%E6%97%B6%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E9%85%8D%E7%BD%AE-apache-apisix-%E6%9D%A5%E7%9B%91%E5%90%AC%E5%A4%9A%E4%B8%AA%E7%AB%AF%E5%8F%A3
   
   
   deploy with docker compose 
   <img width="825" alt="image" src="https://user-images.githubusercontent.com/612381/228243628-879c6e83-3bd9-4566-93b8-f1894bbec361.png">
   
   443 port 
   <img width="2427" alt="image" src="https://user-images.githubusercontent.com/612381/228243738-0b3c7693-5963-41b9-b1b1-cd2fa3bdde3c.png">
   
   docker-compose.yml config
   
   ```
     apisix:
       image: apache/apisix:${APISIX_IMAGE_TAG:-3.2.0-debian}
       restart: always
       volumes:
         - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
       depends_on:
         - etcd
       ##network_mode: host
       ports:
         - "80:9180/tcp"
         - "9080:9080/tcp"
         - "9091:9091/tcp"
         - "443:9443/tcp"
         - "9092:9092/tcp"
       networks:
         apisix:
   ```
   
   
   test
   
   ```
   ☸ dev (data-dev) in istio-inspect on  master [✓]  ➜
   curl -v http://dataengine-kg-rest-svc.data-dev.nocodetech.cn/health
   *   Trying 198.18.1.186:80...
   * Connected to dataengine-kg-rest-svc.data-dev.nocodetech.cn (198.18.1.186) port 80 (#0)
   > GET /health HTTP/1.1
   > Host: dataengine-kg-rest-svc.data-dev.nocodetech.cn
   > User-Agent: curl/7.86.0
   > Accept: */*
   >
   * Mark bundle as not supporting multiuse
   < HTTP/1.1 200 OK
   < content-type: application/json; charset=utf-8
   < date: Tue, 28 Mar 2023 12:59:47 GMT
   < content-length: 16
   < x-envoy-upstream-service-time: 3
   < server: istio-envoy
   <
   * Connection #0 to host dataengine-kg-rest-svc.data-dev.nocodetech.cn left intact
   {"kg-rest":true}%                                                                                                                                                                                                                                           
   ☸ dev (data-dev) in istio-inspect on  master [✓]  ➜
   curl -v https://dataengine-kg-rest-svc.data-dev.nocodetech.cn/health
   *   Trying 198.18.1.186:443...
   * connect to 198.18.1.186 port 443 failed: Connection refused
   * Failed to connect to dataengine-kg-rest-svc.data-dev.nocodetech.cn port 443 after 11 ms: Couldn't connect to server
   * Closing connection 0
   curl: (7) Failed to connect to dataengine-kg-rest-svc.data-dev.nocodetech.cn port 443 after 11 ms: Couldn't connect to server
   ```
   
   admin sni config
   
   <img width="1561" alt="image" src="https://user-images.githubusercontent.com/612381/228245938-4f5d92e5-f29f-400f-9501-99e95815c50d.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@apisix.apache.org.apache.org

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


[GitHub] [apisix-docker] defp closed issue #450: 3.2.0 配置了ssl,后台也配置了证书,但是https 443 端口连接失败

Posted by "defp (via GitHub)" <gi...@apache.org>.
defp closed issue #450: 3.2.0 配置了ssl,后台也配置了证书,但是https 443 端口连接失败
URL: https://github.com/apache/apisix-docker/issues/450


-- 
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-docker] defp commented on issue #450: 3.2.0 配置了ssl,后台也配置了,但是https 443 端口连接失败

Posted by "defp (via GitHub)" <gi...@apache.org>.
defp commented on issue #450:
URL: https://github.com/apache/apisix-docker/issues/450#issuecomment-1491240081

    直接负责的example 的配置
   
   https://github.com/apache/apisix-docker/tree/master/example


-- 
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-docker] defp commented on issue #450: 3.2.0 配置了ssl,后台也配置了,但是https 443 端口连接失败

Posted by "defp (via GitHub)" <gi...@apache.org>.
defp commented on issue #450:
URL: https://github.com/apache/apisix-docker/issues/450#issuecomment-1488077996

   https://github.com/apache/apisix-docker/issues/96


-- 
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