Networking requirements
Audience System Administrator
Overview
Section titled “Overview”This document outlines the network requirements and firewall configurations needed to integrate with Pyck’s SaaS service at pyck.cloud. Pyck uses multiple protocols over standard HTTPS ports and requires support for long-lived connections.
Protocols and ports
Section titled “Protocols and ports”Pyck consolidates all communication through standard web ports:
- Port 80 (HTTP): Used exclusively for redirecting browsers to HTTPS
- Port 443 (HTTPS): All application traffic runs on this port using multiple protocols:
- HTTPS (standard HTTP/2 and HTTP/1.1)
- gRPC (over HTTP/2)
- WebSockets (for real-time bidirectional communication)
Long-lived connections
Section titled “Long-lived connections”Important: Your network infrastructure must support long-lived connections:
- WebSocket connections may remain open for extended periods
- gRPC streaming connections can be persistent
- Proxy servers and firewalls must be configured to:
- Not terminate idle connections prematurely
- Support WebSocket protocol upgrades
- Handle HTTP/2 traffic properly for gRPC
- Maintain connection state for streaming protocols
pyck.cloud SaaS service
Section titled “pyck.cloud SaaS service”When using Pyck’s SaaS offering, the infrastructure auto-scales and the backend IPs change frequently. Traffic flows in two directions, and each direction is whitelisted differently:
- Client → server (your network to Pyck): whitelist by domain (
*.pyck.cloud), because backend IPs change constantly. - Server → client (Pyck into your network): whitelist by IP, using the fixed set published at
ips.pyck.cloud.
Outbound traffic to Pyck (client → server)
Section titled “Outbound traffic to Pyck (client → server)”For all traffic originating from your network to Pyck:
- Whitelist all outgoing traffic to
*.pyck.cloud: Every Pyck endpoint lives underpyck.cloudor a subdomain. Because the SaaS platform is auto-scaling and its backend IPs change frequently, you must allow egress by domain (*.pyck.cloud) rather than by fixed IP. - Port 443 (HTTPS): Required for all API and application access.
- Port 80 (HTTP): Optional, only used for browser redirects to HTTPS.
Some endpoints are client → server only: your systems connect out to them, but they never call back into your network. For example, debug.pyck.cloud is used purely for outbound diagnostic sessions. These endpoints:
- Are already covered by whitelisting egress to
*.pyck.cloud. - Are not published in the
ips.pyck.cloudA record, because Pyck never initiates connections into your network from them.
Inbound traffic from Pyck (server → client)
Section titled “Inbound traffic from Pyck (server → client)”When Pyck needs to reach systems in your network (callbacks, webhooks, and other server-initiated traffic):
- Source IPs: All such traffic originates from the fixed set of IPs published at
ips.pyck.cloud. This set includes Pyck’s egress proxy, through which Pyck routes its outbound calls to customer networks. - Protocols: HTTPS, gRPC, WebSockets (all over port 443).
- Firewall Rules: Whitelist all IPs from
ips.pyck.cloud(including the proxy) for inbound connections on port 443.
IP Address Discovery:
- Domain:
ips.pyck.cloud - Published as both A records (individual IPs) and TXT records (comma-separated list)
- Query both record types to get the complete list of IPs
Example DNS queries:
# Get A recordsdig A ips.pyck.cloud
# Get TXT record with comma-separated IPsdig TXT ips.pyck.cloudDynamic infrastructure and auto-scaling
Section titled “Dynamic infrastructure and auto-scaling”Pyck SaaS runs on Kubernetes with auto-scaling enabled:
- Host Changes: Backend hosts may change frequently
- Typical Frequency: Hosts can change every few minutes during normal operation
- High Load: Under high load conditions, changes can occur as frequently as every 5 minutes
- DNS TTL: Always respect the TTL values returned by Pyck DNS servers
- Recommendation: Do not cache DNS responses longer than the specified TTL
Troubleshooting
Section titled “Troubleshooting”Connection timeouts
Section titled “Connection timeouts”If experiencing connection timeouts:
- Verify load balancer timeout settings (should be 10+ minutes)
- Check that WebSocket upgrades are not being blocked
- Ensure HTTP/2 is enabled for gRPC traffic
IP address changes
Section titled “IP address changes”If callbacks from pyck.cloud are being blocked:
- Re-query
ips.pyck.cloudto get the latest IP list - Verify your DNS cache respects TTL values
- Check firewall logs for blocked connection attempts
- Update whitelist rules with the current IP addresses
Protocol issues
Section titled “Protocol issues”If specific features are not working:
- Verify HTTP/2 support is enabled (required for gRPC)
- Check that WebSocket protocol upgrades are allowed
- Ensure TLS 1.2 or higher is supported
- Confirm no middleboxes are blocking or modifying traffic