These forums have been archived and are now read-only.

The new forums are live and can be found at

EVE Technology Lab

  • Topic is locked indefinitely.

ESI and PHP fopen

First post
DrButterfly PHD
#1 - 2017-05-28 07:23:10 UTC was using PHP fopen with ESI. This weekend it stopped working and I get Server Error 500 on all requests and a message about a failed proxy.

I've worked around this by switching to use cURL instead, which does seem to work.
The Warp Core Stabilizers
Goonswarm Federation
#2 - 2017-05-28 07:52:40 UTC
Hard to say what could be wrong from just that. Are you setting a proper User-Agent etc? Anyways, fwiw, you can also checkout the PHP lib I slapped together that you can use standalone for ESI requests here:

Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.

Project Page:

DrButterfly PHD
#3 - 2017-05-28 11:34:02 UTC
It's not setting a specific user agent either with fopen or cURL.

Just to be clear, I'm not asking for help here, just letting people know in case their code suddenly stopped working this weekend like mine.
24th Imperial Crusade
Amarr Empire
#4 - 2017-06-02 17:27:30 UTC
It's good manners to set a user agent.

It's also common to see random errors when they have issues or are updating. Hang out in the tweetfleet #esi channel for notifications of these.
DrButterfly PHD
#5 - 2017-06-03 11:55:14 UTC
So, after some research it looks like PHP cURL sends a user agent by default.

Is that tweetfleet channel an in game thing or something else?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#6 - 2017-06-04 12:32:15 UTC
There's a slack (text base chat) organisation called tweetfleet. Get an invite through

On that slack, there's a channel called #esi

I would recommend, if you can, using guzzle, rather than curl directly (it used curl under the hood, but is nicer to work with)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter