I'm using the new http/2 apns api, and recently I'm facing this problem:
After I sent about 50k notifications, I've received GOAWAY frame from APNS server, and it says:
Maximum active streams violated for this endpoint.
Does someone else face the same problem?
Or can someone tell me what this means?
I can't find familiar error definitions in RFC 7540.
---------------------------------------
After set log level to debug, I've found more information:
It always happened like this:
Received settings from APNs gateway: {HEADER_TABLE_SIZE=4096, MAX_CONCURRENT_STREAMS=1, INITIAL_WINDOW_SIZE=65535, MAX_FRAME_SIZE=16384, MAX_HEADER_LIST_SIZE=8000}
Received settings from APNs gateway: {HEADER_TABLE_SIZE=4096, MAX_CONCURRENT_STREAMS=500, INITIAL_WINDOW_SIZE=65535, MAX_FRAME_SIZE=16384, MAX_HEADER_LIST_SIZE=8000}
Received GOAWAY from APNs server: Maximum active streams violated for this endpoint., errorcode is: 7, last stream id is: 1355
MAX_CONCURRENT_STREAMS set to 1, then to 500, then connection break off.